Functor for writing a variable. More...
Public Member Functions | |
| WriteBase (DumpWEnsight7 &dw) | |
| WriteBase (DumpWEnsight7 &dw, GroupIndexTable *idx) | |
| WriteBase (const WriteBase &wb) | |
| virtual WriteBase * | clone ()=0 |
| virtual void | begin () |
| virtual void | end () |
| virtual void | write (ConstArrayView< Item > items)=0 |
| virtual void | init () |
| virtual void | putValue (std::ostream &ofile) |
| std::ostream & | stream () |
Protected Attributes | |
| DumpWEnsight7 & | m_dw |
| std::ostringstream | m_ofile |
| GroupIndexTable * | m_idx = nullptr |
Functor for writing a variable.
This is the base class of functors allowing a variable to be saved on the elements of a given group. Derived classes must define the operator() with the element identifier as the only parameter.
For example, if we have a cell group containing 3 cells with IDs 2, 5, and 9, the functor will be called three times with each of its indices.
Definition at line 368 of file DumpWEnsight7.cc.
|
inlineexplicit |
Definition at line 372 of file DumpWEnsight7.cc.
|
inline |
Definition at line 375 of file DumpWEnsight7.cc.
|
inline |
Definition at line 379 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 383 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 388 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 389 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 392 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 397 of file DumpWEnsight7.cc.
|
inline |
Definition at line 401 of file DumpWEnsight7.cc.
|
protected |
Definition at line 405 of file DumpWEnsight7.cc.
|
protected |
Definition at line 407 of file DumpWEnsight7.cc.
|
protected |
Definition at line 406 of file DumpWEnsight7.cc.