charon-core  0.3.1
AbstractMultiROData< T > Class Template Referenceabstract

Common interface for read-only access to multiple data members like arrays etc. More...

#include <charon-core/AbstractData.hxx>

Inheritance diagram for AbstractMultiROData< T >:

Public Member Functions

virtual const T & operator[] (std::size_t pos) const =0
 Access to specific member (read-only). More...
 
virtual std::size_t size () const =0
 Access to number of members. More...
 

Detailed Description

template<typename T>
class AbstractMultiROData< T >

Definition at line 71 of file AbstractData.hxx.

Member Function Documentation

template<typename T>
virtual const T& AbstractMultiROData< T >::operator[] ( std::size_t  pos) const
pure virtual
Parameters
posdata position
Returns
data content at given position (read-only, no copy)

Implemented in InputSlot< T >, InputSlot< double >, InputSlot< int >, InputSlot< bool >, ParameterList< T >, and ParameterList< std::string >.

template<typename T>
virtual std::size_t AbstractMultiROData< T >::size ( ) const
pure virtual

For iterations using operator[]

Returns
number of elements

Implemented in InputSlot< T >, InputSlot< double >, InputSlot< int >, InputSlot< bool >, ParameterList< T >, and ParameterList< std::string >.


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