Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <xoutrow.h>
The xoutrow class can easily generate tables.
The xoutrow class is used in elastix for printing the registration information, such as metric value, gradient information, etc. You can fill in all this information, and only after calling WriteBufferedData() the entire row is printed to the desired outputs.
Public Member Functions | |
int | AddOutput (const char *name, ostream_type *output) override |
int | AddOutput (const char *name, Superclass *output) override |
int | AddTargetCell (const char *name) override |
int | RemoveOutput (const char *name) override |
int | RemoveTargetCell (const char *name) override |
void | SetOutputs (const CStreamMapType &outputmap) override |
void | SetOutputs (const XStreamMapType &outputmap) override |
void | SetTargetCells (const XStreamMapType &cellmap) override |
void | WriteBufferedData (void) override |
virtual void | WriteHeaders (void) |
xoutrow () | |
~xoutrow () override | |
Public Member Functions inherited from xoutlibrary::xoutbase< charT, char_traits< charT > > | |
virtual int | AddOutput (const char *name, ostream_type *output) |
virtual int | AddOutput (const char *name, Self *output) |
virtual int | AddTargetCell (const char *) |
virtual int | AddTargetCell (const char *name, ostream_type *cell) |
virtual int | AddTargetCell (const char *name, Self *cell) |
virtual const CStreamMapType & | GetCOutputs (void) |
virtual const XStreamMapType & | GetXOutputs (void) |
Self & | operator<< (const T &_arg) |
Self & | operator<< (ios_base &(*pf)(ios_base &)) |
Self & | operator<< (ios_type &(*pf)(ios_type &)) |
Self & | operator<< (ostream_type &(*pf)(ostream_type &)) |
Self & | operator[] (const char *cellname) |
virtual int | RemoveOutput (const char *name) |
virtual int | RemoveTargetCell (const char *name) |
virtual void | SetOutputs (const CStreamMapType &outputmap) |
virtual void | SetOutputs (const XStreamMapType &outputmap) |
virtual void | SetTargetCells (const CStreamMapType &cellmap) |
virtual void | SetTargetCells (const XStreamMapType &cellmap) |
virtual void | WriteBufferedData (void) |
xoutbase ()=default | |
virtual | ~xoutbase ()=default |
Protected Member Functions | |
Superclass & | SelectXCell (const char *name) override |
Protected Member Functions inherited from xoutlibrary::xoutbase< charT, char_traits< charT > > | |
virtual void | Callback (void) |
virtual Self & | SelectXCell (const char *name) |
Self & | SendToTargets (const T &_arg) |
Protected Attributes | |
XStreamMapType | m_CellMap |
Protected Attributes inherited from xoutlibrary::xoutbase< charT, char_traits< charT > > | |
bool | m_Call |
CStreamMapType | m_COutputs |
CStreamMapType | m_CTargetCells |
XStreamMapType | m_XOutputs |
XStreamMapType | m_XTargetCells |
typedef Superclass::char_type xoutlibrary::xoutrow< charT, traits >::char_type |
typedef Superclass::CStreamMapEntryType xoutlibrary::xoutrow< charT, traits >::CStreamMapEntryType |
typedef Superclass::CStreamMapIteratorType xoutlibrary::xoutrow< charT, traits >::CStreamMapIteratorType |
typedef Superclass::CStreamMapType xoutlibrary::xoutrow< charT, traits >::CStreamMapType |
typedef Superclass::int_type xoutlibrary::xoutrow< charT, traits >::int_type |
typedef Superclass::ios_type xoutlibrary::xoutrow< charT, traits >::ios_type |
typedef Superclass::off_type xoutlibrary::xoutrow< charT, traits >::off_type |
typedef Superclass::ostream_type xoutlibrary::xoutrow< charT, traits >::ostream_type |
typedef Superclass::pos_type xoutlibrary::xoutrow< charT, traits >::pos_type |
typedef xoutrow xoutlibrary::xoutrow< charT, traits >::Self |
typedef xoutbase< charT, traits > xoutlibrary::xoutrow< charT, traits >::Superclass |
typedef Superclass::traits_type xoutlibrary::xoutrow< charT, traits >::traits_type |
typedef xoutcell< charT, traits > xoutlibrary::xoutrow< charT, traits >::XOutCellType |
typedef Superclass::XStreamMapEntryType xoutlibrary::xoutrow< charT, traits >::XStreamMapEntryType |
typedef Superclass::XStreamMapIteratorType xoutlibrary::xoutrow< charT, traits >::XStreamMapIteratorType |
typedef Superclass::XStreamMapType xoutlibrary::xoutrow< charT, traits >::XStreamMapType |
xoutlibrary::xoutrow< charT, traits >::xoutrow | ( | ) |
Constructor
|
override |
Destructor
|
override |
Add/Remove an output stream (like cout, or an fstream, or an xout-object). In addition to the behaviour of the Superclass's methods, these functions set the outputs of the TargetCells as well.
|
override |
|
overridevirtual |
This method adds an xoutcell to the map of Targets.
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overridevirtual |
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overridevirtual |
This method removes an xoutcell to the map of Targets.
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overrideprotectedvirtual |
Returns a target cell. Extension: if input = "WriteHeaders" it calls this->WriteHeaders() and returns 'this'.
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overridevirtual |
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overridevirtual |
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overridevirtual |
Method to set all targets at once. The outputs of these targets are not set automatically, so make sure to do it yourself.
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
overridevirtual |
Write the buffered cell data in a row to the outputs, separated by tabs.
Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.
|
virtual |
Writes the names of the target cells to the outputs; This method can also be executed by selecting the "WriteHeaders" target: xout["WriteHeaders"]
|
protected |
Generated on 1667476801 for elastix by 1.9.4 |