23 #pragma warning ( disable : 4786 )
24 #pragma warning ( disable : 4503 )
46 template<
class charT,
class traits =
char_traits<
charT > >
96 return this->SendToTargets( _arg );
102 return this->SendToTargets( pf );
108 return this->SendToTargets( pf );
114 return this->SendToTargets( pf );
166 bool m_Call{
false };
174 Send< T >::ToTargets(
const_cast< T &
>( _arg ), m_CTargetCells, m_XTargetCells );
191 static void ToTargets( T & _arg, CStreamMapType & CTargetCells, XStreamMapType & XTargetCells )
194 for( CStreamMapIteratorType cit = CTargetCells.begin();
195 cit != CTargetCells.end(); ++cit )
197 *( cit->second ) << _arg;
201 for( XStreamMapIteratorType xit = XTargetCells.begin();
202 xit != XTargetCells.end(); ++xit )
204 *( xit->second ) << _arg;
216 #include "xoutbase.hxx"
virtual ~xoutbase()=default
virtual const XStreamMapType & GetXOutputs(void)
virtual int RemoveOutput(const char *name)
Self & operator<<(ios_type &(*pf)(ios_type &))
virtual const CStreamMapType & GetCOutputs(void)
traits::off_type off_type
XStreamMapType::iterator XStreamMapIteratorType
XStreamMapType::value_type XStreamMapEntryType
CStreamMapType::iterator CStreamMapIteratorType
virtual Self & SelectXCell(const char *name)
CStreamMapType::value_type CStreamMapEntryType
virtual void SetTargetCells(const CStreamMapType &cellmap)
XStreamMapType m_XTargetCells
CStreamMapType m_COutputs
Self & operator<<(ios_base &(*pf)(ios_base &))
Self & operator<<(ostream_type &(*pf)(ostream_type &))
virtual void SetTargetCells(const XStreamMapType &cellmap)
virtual void Callback(void)
traits::pos_type pos_type
basic_ios< charT, traits > ios_type
basic_ostream< charT, traits > ostream_type
virtual void SetOutputs(const CStreamMapType &outputmap)
virtual int AddTargetCell(const char *name, ostream_type *cell)
virtual int AddOutput(const char *name, Self *output)
virtual int AddTargetCell(const char *)
CStreamMapType m_CTargetCells
Self & operator<<(const T &_arg)
virtual int RemoveTargetCell(const char *name)
virtual int AddTargetCell(const char *name, Self *cell)
Self & operator[](const char *cellname)
Self & SendToTargets(const T &_arg)
XStreamMapType m_XOutputs
virtual int AddOutput(const char *name, ostream_type *output)
virtual void SetOutputs(const XStreamMapType &outputmap)
virtual void WriteBufferedData(void)
std::map< std::string, ostream_type * > CStreamMapType
std::map< std::string, Self * > XStreamMapType
traits::int_type int_type