charon-core  0.3.1
AbstractData< T > Class Template Referenceabstract

Interface for data assignment and readout. More...

#include <charon-core/AbstractData.hxx>

Inheritance diagram for AbstractData< T >:

Public Member Functions

virtual T & operator() ()=0
 Call operator. More...
 
virtual T & operator= (const T &B)=0
 data assignment operator More...
 
- Public Member Functions inherited from AbstractROData< T >
virtual operator T () const =0
 Cast operator to get data (get copy) More...
 
virtual const T & operator() () const =0
 Call operator. More...
 

Detailed Description

template<typename T>
class AbstractData< T >

This is the common interface for parameters and output slots. (Input slots are read only.)

Definition at line 52 of file AbstractData.hxx.

Member Function Documentation

template<typename T>
virtual T& AbstractData< T >::operator() ( )
pure virtual

Non const version

Returns
data content (no copy)

Implemented in OutputSlot< T >, OutputSlot< int >, Parameter< T >, Parameter< std::string >, Parameter< int >, and Parameter< bool >.

template<typename T>
virtual T& AbstractData< T >::operator= ( const T &  B)
pure virtual
Parameters
Bdata to assign
Returns
updated object

Implemented in OutputSlot< T >, OutputSlot< int >, Parameter< T >, Parameter< std::string >, Parameter< int >, and Parameter< bool >.


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