go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions
xoutlibrary::xoutsimple Class Reference

#include <xoutsimple.h>

Detailed Description

xout class with only basic functionality.

The xoutsimple class just immediately prints to the desired outputs.

Definition at line 35 of file xoutsimple.h.

Inheritance diagram for xoutlibrary::xoutsimple:
Inheritance graph
[legend]

Public Types

using Self = xoutsimple
 
using Superclass = xoutbase
 
- Public Types inherited from xoutlibrary::xoutbase
using CStreamMapEntryType = CStreamMapType::value_type
 
using CStreamMapType = std::map< std::string, std::ostream * >
 
using Self = xoutbase
 
using XStreamMapEntryType = XStreamMapType::value_type
 
using XStreamMapType = std::map< std::string, Self * >
 

Public Member Functions

int AddOutput (const char *name, std::ostream *output) override
 
int AddOutput (const char *name, Superclass *output) override
 
const CStreamMapTypeGetCOutputs () override
 
const XStreamMapTypeGetXOutputs () override
 
int RemoveOutput (const char *name) override
 
void SetOutputs (const CStreamMapType &outputmap) override
 
void SetOutputs (const XStreamMapType &outputmap) override
 
 xoutsimple ()=default
 
 ~xoutsimple () override=default
 
- Public Member Functions inherited from xoutlibrary::xoutbase
virtual int AddOutput (const char *name, Self *output)
 
virtual int AddOutput (const char *name, std::ostream *output)
 
virtual int AddTargetCell (const char *name, Self *cell)
 
virtual int AddTargetCell (const char *name, std::ostream *cell)
 
virtual const CStreamMapTypeGetCOutputs ()
 
virtual const XStreamMapTypeGetXOutputs ()
 
template<class T >
Selfoperator<< (const T &_arg)
 
Selfoperator<< (std::ios &(*pf)(std::ios &))
 
Selfoperator<< (std::ios_base &(*pf)(std::ios_base &))
 
Selfoperator<< (std::ostream &(*pf)(std::ostream &))
 
Selfoperator[] (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 WriteBufferedData ()
 
virtual ~xoutbase ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from xoutlibrary::xoutbase
void SetCTargetCells (const CStreamMapType &cellmap)
 
virtual void SetXTargetCells (const XStreamMapType &cellmap)
 
 xoutbase ()=default
 
- Protected Attributes inherited from xoutlibrary::xoutbase
CStreamMapType m_COutputs
 
CStreamMapType m_CTargetCells
 
XStreamMapType m_XOutputs
 
XStreamMapType m_XTargetCells
 

Member Typedef Documentation

◆ Self

Typedef's.

Definition at line 39 of file xoutsimple.h.

◆ Superclass

Definition at line 40 of file xoutsimple.h.

Constructor & Destructor Documentation

◆ xoutsimple()

xoutlibrary::xoutsimple::xoutsimple ( )
default

Constructors

◆ ~xoutsimple()

xoutlibrary::xoutsimple::~xoutsimple ( )
overridedefault

Destructor

Member Function Documentation

◆ AddOutput() [1/2]

int xoutlibrary::xoutsimple::AddOutput ( const char *  name,
std::ostream *  output 
)
overridevirtual

Add/Remove an output stream (like cout, or an fstream, or an xout-object).

Reimplemented from xoutlibrary::xoutbase.

◆ AddOutput() [2/2]

int xoutlibrary::xoutsimple::AddOutput ( const char *  name,
Superclass output 
)
overridevirtual

Reimplemented from xoutlibrary::xoutbase.

◆ GetCOutputs()

const CStreamMapType & xoutlibrary::xoutsimple::GetCOutputs ( )
overridevirtual

Get the output maps.

Reimplemented from xoutlibrary::xoutbase.

◆ GetXOutputs()

const XStreamMapType & xoutlibrary::xoutsimple::GetXOutputs ( )
overridevirtual

Reimplemented from xoutlibrary::xoutbase.

◆ RemoveOutput()

int xoutlibrary::xoutsimple::RemoveOutput ( const char *  name)
overridevirtual

Reimplemented from xoutlibrary::xoutbase.

◆ SetOutputs() [1/2]

void xoutlibrary::xoutsimple::SetOutputs ( const CStreamMapType outputmap)
overridevirtual

Reimplemented from xoutlibrary::xoutbase.

◆ SetOutputs() [2/2]

void xoutlibrary::xoutsimple::SetOutputs ( const XStreamMapType outputmap)
overridevirtual

Reimplemented from xoutlibrary::xoutbase.



Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo