this class is a functor for "for_each" algorithm More...
#include <map_vector_printers.hpp>
Public Types | |
| typedef to_boost_vmpl< prp... >::type | vprp |
Public Member Functions | |
| vector_printer (vector_type &vt, size_t &ele, std::stringstream &ss) | |
| constructor More... | |
| template<typename T > | |
| void | operator() (T &t) const |
| It call the copy function for each property. | |
Data Fields | |
| size_t & | ele |
| element to print | |
| vector_type & | vt |
| vector to print | |
| std::stringstream & | ss |
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to print the elements of the vector
| encap | source |
| encap | dst |
Definition at line 23 of file map_vector_printers.hpp.
|
inline |
constructor
| src | source encapsulated object |
| dst | source encapsulated object |
Definition at line 42 of file map_vector_printers.hpp.