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< charT, traits > Class Template Reference

#include <xoutsimple.h>

Detailed Description

template<class charT, class traits = char_traits< charT >>
class xoutlibrary::xoutsimple< charT, traits >

xout class with only basic functionality.

The xoutsimple class just immediately prints to the desired outputs.

Definition at line 37 of file xoutsimple.h.

+ Inheritance diagram for xoutlibrary::xoutsimple< charT, traits >:

Public Types

typedef Superclass::char_type char_type
 
typedef Superclass::CStreamMapEntryType CStreamMapEntryType
 
typedef Superclass::CStreamMapIteratorType CStreamMapIteratorType
 
typedef Superclass::CStreamMapType CStreamMapType
 
typedef Superclass::int_type int_type
 
typedef Superclass::ios_type ios_type
 
typedef Superclass::off_type off_type
 
typedef Superclass::ostream_type ostream_type
 
typedef Superclass::pos_type pos_type
 
typedef xoutsimple Self
 
typedef xoutbase< charT, traits > Superclass
 
typedef Superclass::traits_type traits_type
 
typedef Superclass::XStreamMapEntryType XStreamMapEntryType
 
typedef Superclass::XStreamMapIteratorType XStreamMapIteratorType
 
typedef Superclass::XStreamMapType XStreamMapType
 
- Public Types inherited from xoutlibrary::xoutbase< charT, char_traits< charT > >
typedef charT char_type
 
typedef CStreamMapType::value_type CStreamMapEntryType
 
typedef CStreamMapType::iterator CStreamMapIteratorType
 
typedef std::map< std::string, ostream_type * > CStreamMapType
 
typedef traits::int_type int_type
 
typedef basic_ios< charT, char_traits< charT > > ios_type
 
typedef traits::off_type off_type
 
typedef basic_ostream< charT, char_traits< charT > > ostream_type
 
typedef traits::pos_type pos_type
 
typedef xoutbase Self
 
typedef char_traits< charT > traits_type
 
typedef XStreamMapType::value_type XStreamMapEntryType
 
typedef XStreamMapType::iterator XStreamMapIteratorType
 
typedef std::map< std::string, Self * > XStreamMapType
 

Public Member Functions

int AddOutput (const char *name, ostream_type *output) override
 
int AddOutput (const char *name, Superclass *output) override
 
const CStreamMapTypeGetCOutputs (void) override
 
const XStreamMapTypeGetXOutputs (void) override
 
int RemoveOutput (const char *name) override
 
void SetOutputs (const CStreamMapType &outputmap) override
 
void SetOutputs (const XStreamMapType &outputmap) override
 
 xoutsimple ()
 
 ~xoutsimple () 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 CStreamMapTypeGetCOutputs (void)
 
virtual const XStreamMapTypeGetXOutputs (void)
 
Selfoperator<< (const T &_arg)
 
Selfoperator<< (ios_base &(*pf)(ios_base &))
 
Selfoperator<< (ios_type &(*pf)(ios_type &))
 
Selfoperator<< (ostream_type &(*pf)(ostream_type &))
 
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 SetTargetCells (const CStreamMapType &cellmap)
 
virtual void SetTargetCells (const XStreamMapType &cellmap)
 
virtual void WriteBufferedData (void)
 
 xoutbase ()=default
 
virtual ~xoutbase ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from xoutlibrary::xoutbase< charT, char_traits< charT > >
virtual void Callback (void)
 
virtual SelfSelectXCell (const char *name)
 
SelfSendToTargets (const T &_arg)
 
- 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
 

Member Typedef Documentation

◆ char_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::char_type xoutlibrary::xoutsimple< charT, traits >::char_type

Definition at line 46 of file xoutsimple.h.

◆ CStreamMapEntryType

template<class charT , class traits = char_traits< charT >>
typedef Superclass::CStreamMapEntryType xoutlibrary::xoutsimple< charT, traits >::CStreamMapEntryType

Definition at line 57 of file xoutsimple.h.

◆ CStreamMapIteratorType

template<class charT , class traits = char_traits< charT >>
typedef Superclass::CStreamMapIteratorType xoutlibrary::xoutsimple< charT, traits >::CStreamMapIteratorType

Definition at line 55 of file xoutsimple.h.

◆ CStreamMapType

template<class charT , class traits = char_traits< charT >>
typedef Superclass::CStreamMapType xoutlibrary::xoutsimple< charT, traits >::CStreamMapType

Definition at line 53 of file xoutsimple.h.

◆ int_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::int_type xoutlibrary::xoutsimple< charT, traits >::int_type

Definition at line 47 of file xoutsimple.h.

◆ ios_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::ios_type xoutlibrary::xoutsimple< charT, traits >::ios_type

Definition at line 51 of file xoutsimple.h.

◆ off_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::off_type xoutlibrary::xoutsimple< charT, traits >::off_type

Definition at line 49 of file xoutsimple.h.

◆ ostream_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::ostream_type xoutlibrary::xoutsimple< charT, traits >::ostream_type

Definition at line 50 of file xoutsimple.h.

◆ pos_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::pos_type xoutlibrary::xoutsimple< charT, traits >::pos_type

Definition at line 48 of file xoutsimple.h.

◆ Self

template<class charT , class traits = char_traits< charT >>
typedef xoutsimple xoutlibrary::xoutsimple< charT, traits >::Self

Typedef's.

Definition at line 42 of file xoutsimple.h.

◆ Superclass

template<class charT , class traits = char_traits< charT >>
typedef xoutbase< charT, traits > xoutlibrary::xoutsimple< charT, traits >::Superclass

Definition at line 43 of file xoutsimple.h.

◆ traits_type

template<class charT , class traits = char_traits< charT >>
typedef Superclass::traits_type xoutlibrary::xoutsimple< charT, traits >::traits_type

Definition at line 45 of file xoutsimple.h.

◆ XStreamMapEntryType

template<class charT , class traits = char_traits< charT >>
typedef Superclass::XStreamMapEntryType xoutlibrary::xoutsimple< charT, traits >::XStreamMapEntryType

Definition at line 58 of file xoutsimple.h.

◆ XStreamMapIteratorType

template<class charT , class traits = char_traits< charT >>
typedef Superclass::XStreamMapIteratorType xoutlibrary::xoutsimple< charT, traits >::XStreamMapIteratorType

Definition at line 56 of file xoutsimple.h.

◆ XStreamMapType

template<class charT , class traits = char_traits< charT >>
typedef Superclass::XStreamMapType xoutlibrary::xoutsimple< charT, traits >::XStreamMapType

Definition at line 54 of file xoutsimple.h.

Constructor & Destructor Documentation

◆ xoutsimple()

template<class charT , class traits = char_traits< charT >>
xoutlibrary::xoutsimple< charT, traits >::xoutsimple ( )

Constructors

◆ ~xoutsimple()

template<class charT , class traits = char_traits< charT >>
xoutlibrary::xoutsimple< charT, traits >::~xoutsimple ( )
override

Destructor

Member Function Documentation

◆ AddOutput() [1/2]

template<class charT , class traits = char_traits< charT >>
int xoutlibrary::xoutsimple< charT, traits >::AddOutput ( const char *  name,
ostream_type output 
)
override

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

◆ AddOutput() [2/2]

template<class charT , class traits = char_traits< charT >>
int xoutlibrary::xoutsimple< charT, traits >::AddOutput ( const char *  name,
Superclass output 
)
override

◆ GetCOutputs()

template<class charT , class traits = char_traits< charT >>
const CStreamMapType & xoutlibrary::xoutsimple< charT, traits >::GetCOutputs ( void  )
overridevirtual

Get the output maps.

Reimplemented from xoutlibrary::xoutbase< charT, char_traits< charT > >.

◆ GetXOutputs()

template<class charT , class traits = char_traits< charT >>
const XStreamMapType & xoutlibrary::xoutsimple< charT, traits >::GetXOutputs ( void  )
overridevirtual

◆ RemoveOutput()

template<class charT , class traits = char_traits< charT >>
int xoutlibrary::xoutsimple< charT, traits >::RemoveOutput ( const char *  name)
overridevirtual

◆ SetOutputs() [1/2]

template<class charT , class traits = char_traits< charT >>
void xoutlibrary::xoutsimple< charT, traits >::SetOutputs ( const CStreamMapType outputmap)
overridevirtual

◆ SetOutputs() [2/2]

template<class charT , class traits = char_traits< charT >>
void xoutlibrary::xoutsimple< charT, traits >::SetOutputs ( const XStreamMapType outputmap)
overridevirtual


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo