COPASI API  4.16.103
Public Types | Public Member Functions | List of all members
CCopasiAbstractArray Class Referenceabstract

#include <CCopasiArray.h>

Inheritance diagram for CCopasiAbstractArray:
Inheritance graph

Public Types

typedef C_FLOAT64 data_type
typedef std::vector< size_t > index_type

Public Member Functions

virtual size_t dimensionality () const =0
virtual data_typeoperator[] (const index_type &index)=0
virtual const data_typeoperator[] (const index_type &index) const =0
virtual const index_typesize () const =0
virtual ~CCopasiAbstractArray ()

Detailed Description

This abstract class defines the interface for an n-dimensional array of floats

Definition at line 31 of file CCopasiArray.h.

Member Typedef Documentation

Definition at line 35 of file CCopasiArray.h.

typedef std::vector<size_t> CCopasiAbstractArray::index_type

Definition at line 34 of file CCopasiArray.h.

Constructor & Destructor Documentation

virtual CCopasiAbstractArray::~CCopasiAbstractArray ( )

Definition at line 39 of file CCopasiArray.h.

39 {};

Member Function Documentation

virtual size_t CCopasiAbstractArray::dimensionality ( ) const
pure virtual
virtual data_type& CCopasiAbstractArray::operator[] ( const index_type index)
pure virtual
virtual const data_type& CCopasiAbstractArray::operator[] ( const index_type index) const
pure virtual
virtual const index_type& CCopasiAbstractArray::size ( ) const
pure virtual

The documentation for this class was generated from the following file: