23 #pragma warning ( disable : 4786 ) 24 #pragma warning ( disable : 4503 ) 46 template<
class charT,
class traits =
char_traits<
charT > >
77 inline Self & operator[](
const char * cellname );
96 return this->SendToTargets( _arg );
102 return this->SendToTargets( pf );
108 return this->SendToTargets( pf );
114 return this->SendToTargets( pf );
118 virtual void WriteBufferedData(
void );
123 virtual int AddTargetCell(
const char * name, ostream_type * cell );
125 virtual int AddTargetCell(
const char * name, Self * cell );
128 virtual int RemoveTargetCell(
const char * name );
130 virtual void SetTargetCells(
const CStreamMapType & cellmap );
132 virtual void SetTargetCells(
const XStreamMapType & cellmap );
135 virtual int AddOutput(
const char * name, ostream_type * output );
137 virtual int AddOutput(
const char * name, Self * output );
139 virtual int RemoveOutput(
const char * name );
141 virtual void SetOutputs(
const CStreamMapType & outputmap );
143 virtual void SetOutputs(
const XStreamMapType & outputmap );
146 virtual const CStreamMapType & GetCOutputs(
void );
148 virtual const XStreamMapType & GetXOutputs(
void );
153 virtual Self & SelectXCell(
const char * name );
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" 218 #endif // end #ifndef __xoutbase_h
CStreamMapType m_COutputs
XStreamMapType::value_type XStreamMapEntryType
virtual void Callback(void)
XStreamMapType m_XOutputs
basic_ostream< charT, traits > ostream_type
CStreamMapType::value_type CStreamMapEntryType
Self & operator<<(const T &_arg)
Self & SendToTargets(const T &_arg)
XStreamMapType m_XTargetCells
virtual int AddTargetCell(const char *)
Self & operator<<(ostream_type &(*pf)(ostream_type &))
traits::pos_type pos_type
XStreamMapType::iterator XStreamMapIteratorType
traits::int_type int_type
CStreamMapType m_CTargetCells
std::map< std::string, Self * > XStreamMapType
Self & operator<<(ios_base &(*pf)(ios_base &))
std::map< std::string, ostream_type * > CStreamMapType
traits::off_type off_type
Self & operator<<(ios_type &(*pf)(ios_type &))
CStreamMapType::iterator CStreamMapIteratorType
basic_ios< charT, traits > ios_type