Pseudo formatter for stencils. More...
#include <formatters.hpp>
Public Member Functions | |
const ecl::Stencil< Container > & | operator() (const ecl::Stencil< Container > &stencil) |
virtual | ~StencilFormatter () |
Pseudo formatter for stencils.
These do nothing but pass the stencil back for streaming which should have its own << operator.
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.
Stencil< Array<int, 5> >::Formatter format_1; Format< Stencil< Array<int,4> > > format_2; // same thing
ValueType | : the underlying container's element type. |
Container | : the underlying container storage. |
Enable | : dummy template parameter used for mpl. |
Definition at line 72 of file stencil/formatters.hpp.
virtual ecl::formatters::StencilFormatter< ValueType, Container, Enable >::~StencilFormatter | ( | ) | [inline, virtual] |
Definition at line 75 of file stencil/formatters.hpp.
const ecl::Stencil< Container >& ecl::formatters::StencilFormatter< ValueType, Container, Enable >::operator() | ( | const ecl::Stencil< Container > & | stencil | ) | [inline] |
Pseudo formatter method, simply returns the underlying stencil which has its own stream operator.
stencil | : the stencil to be formatted. |
Definition at line 83 of file stencil/formatters.hpp.