$search
Pseudo formatter for integral type arrays. More...
#include <formatters.hpp>
Public Member Functions | |
ecl::PushAndPop< Type, N > & | operator() (ecl::PushAndPop< Type, N > &container) |
virtual | ~PushAndPopFormatter () |
Pseudo formatter for integral type arrays.
These do nothing but pass the array back for streaming. Do not use this class directly, rather call it via either the Array or Format classes explicitly. This makes the code more readable. e.g.
// fixed array PushAndPop<int, 5>::Formatter format_1; Format< PushAndPop<int,4> > format_2; // same thing // dynamic array PushAndPop<int>::Formatter float_dynamic_formatter_1; Format< PushAndPop<int> > format_dynamic_formatter_2;
Type | : the value type of the fixed size Array. | |
N | : the size of the container to be formatted. |
Definition at line 58 of file push_and_pop/formatters.hpp.
virtual ecl::formatters::PushAndPopFormatter< Type, N >::~PushAndPopFormatter | ( | ) | [inline, virtual] |
Definition at line 30 of file push_and_pop/formatters.hpp.
ecl::PushAndPop<Type,N>& ecl::formatters::PushAndPopFormatter< Type, N >::operator() | ( | ecl::PushAndPop< Type, N > & | container | ) | [inline] |
Pseudo formatter method, simply returns the underlying array which has its own stream operator.
array | : the array to be formatted. |
Definition at line 38 of file push_and_pop/formatters.hpp.