EvolvingObjects
|
BaseAlgorithm for retrieving primitive variables. More...
#include <Array.h>
Public Member Functions | |
void | operator() (const eoserial::Array &array, unsigned int i, C &container) const |
Main operator. |
BaseAlgorithm for retrieving primitive variables.
This one should be used to retrieve primitive (and types which implement operator>>) variables, for instance int, double, std::string, etc...
void eoserial::Array::UnpackAlgorithm< C >::operator() | ( | const eoserial::Array & | array, |
unsigned int | i, | ||
C & | container | ||
) | const [inline, virtual] |
Main operator.
array | The eoserial::Array from which we're reading. |
i | The index of the contained value. |
container | The standard (STL) container in which we'll push back the read value. |
Implements eoserial::Array::BaseAlgorithm< C >.