COPASI API
4.40.278
|
#include <CArray.h>
Public Member Functions | |
CVectorInterface (VectorType *vector) | |
size_t | dimensionality () const |
data_type & | operator[] (const index_type &index) |
const data_type & | operator[] (const index_type &index) const |
virtual const index_type & | size () const |
virtual | ~CVectorInterface () |
Public Member Functions inherited from CArrayInterface | |
virtual | ~CArrayInterface () |
Private Attributes | |
std::vector< size_t > | mSizes |
VectorType * | mVector |
Additional Inherited Members | |
Public Types inherited from CArrayInterface | |
typedef C_FLOAT64 | data_type |
typedef std::vector< size_t > | index_type |
this class provides an interface to a CVector<C_FLOAT64>, or indeed to any container class that has a size() method and a [] operator that returns C_FLOAT64.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements CArrayInterface.
|
inlinevirtual |
Implements CArrayInterface.
References CVectorInterface< VectorType >::mVector.
|
inlinevirtual |
Implements CArrayInterface.
References CVectorInterface< VectorType >::mVector.
|
inlinevirtual |
Implements CArrayInterface.
References CVectorInterface< VectorType >::mSizes, and CVectorInterface< VectorType >::mVector.
|
mutableprivate |
|
private |