EvolvingObjects
eoserial::Array::BaseAlgorithm< Container > Struct Template Reference

Functor which determines how to retrieve the real value contained in a eoserial::Entity at a given place. More...

#include <Array.h>

List of all members.

Public Member Functions

virtual void operator() (const eoserial::Array &array, unsigned int i, Container &container) const =0
 Main operator.

Detailed Description

template<class Container>
struct eoserial::Array::BaseAlgorithm< Container >

Functor which determines how to retrieve the real value contained in a eoserial::Entity at a given place.

It will be applied for each contained variable in the array.

Definition at line 104 of file Array.h.


Member Function Documentation

template<class Container>
virtual void eoserial::Array::BaseAlgorithm< Container >::operator() ( const eoserial::Array array,
unsigned int  i,
Container &  container 
) const [pure virtual]

Main operator.

Parameters:
arrayThe eoserial::Array from which we're reading.
iThe index of the contained value.
containerThe standard (STL) container in which we'll push back the read value.

Implemented in eoserial::Array::UnpackObjectAlgorithm< C >, and eoserial::Array::UnpackAlgorithm< C >.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends