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 367 of file DumpWEnsight7.cc.
|
inlineexplicit |
Definition at line 371 of file DumpWEnsight7.cc.
|
inline |
Definition at line 374 of file DumpWEnsight7.cc.
|
inline |
Definition at line 378 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 382 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 387 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 388 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 391 of file DumpWEnsight7.cc.
|
inlinevirtual |
Definition at line 396 of file DumpWEnsight7.cc.
|
inline |
Definition at line 400 of file DumpWEnsight7.cc.
|
protected |
Definition at line 404 of file DumpWEnsight7.cc.
|
protected |
Definition at line 406 of file DumpWEnsight7.cc.
|
protected |
Definition at line 405 of file DumpWEnsight7.cc.