eoserial::Array::UnpackAlgorithm< C > Struct Template Reference

BaseAlgorithm for retrieving primitive variables. More...

#include <Array.h>

Inheritance diagram for eoserial::Array::UnpackAlgorithm< C >:
eoserial::Array::BaseAlgorithm< C >

List of all members.

Public Member Functions

void operator() (const eoserial::Array &array, unsigned int i, C &container) const
 Main operator.

Detailed Description

template<typename C>
struct eoserial::Array::UnpackAlgorithm< C >

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...

Definition at line 123 of file Array.h.

Member Function Documentation

template<typename C>
void eoserial::Array::UnpackAlgorithm< C >::operator() ( const eoserial::Array array,
unsigned int  i,
C &  container 
) const [inline, virtual]

Main operator.

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.

Implements eoserial::Array::BaseAlgorithm< C >.

Definition at line 125 of file Array.h.

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