EvolvingObjects
eoserial::MakeAlgorithm< T > Struct Template Reference

Push algorithm for primitive variables. More...

#include <Utils.h>

Inheritance diagram for eoserial::MakeAlgorithm< T >:
eoserial::PushAlgorithm< T >

List of all members.

Public Member Functions

void operator() (Array &array, const T &value)
 Main operator.

Detailed Description

template<class T>
struct eoserial::MakeAlgorithm< T >

Push algorithm for primitive variables.

This one should be used when inserting primitive (and types which implement operator<<) variables.

Definition at line 142 of file Utils.h.


Member Function Documentation

template<class T >
void eoserial::MakeAlgorithm< T >::operator() ( Array array,
const T &  value 
) [inline, virtual]

Main operator.

Parameters:
arrayThe eoserial::array in which we're writing.
valueThe variable we are writing.

Implements eoserial::PushAlgorithm< T >.

Definition at line 144 of file Utils.h.

References eoserial::Array::push_back().


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