19 #pragma warning ( disable : 4786 )
20 #pragma warning ( disable : 4503 )
42 template<
class charT,
class traits =
char_traits<
charT > >
73 inline Self & operator[](
const char * cellname );
92 return this->SendToTargets( _arg );
98 return this->SendToTargets( pf );
104 return this->SendToTargets( pf );
110 return this->SendToTargets( pf );
114 virtual void WriteBufferedData(
void );
119 virtual int AddTargetCell(
const char * name, ostream_type * cell );
121 virtual int AddTargetCell(
const char * name, Self * cell );
124 virtual int RemoveTargetCell(
const char * name );
126 virtual void SetTargetCells(
const CStreamMapType & cellmap );
128 virtual void SetTargetCells(
const XStreamMapType & cellmap );
131 virtual int AddOutput(
const char * name, ostream_type * output );
133 virtual int AddOutput(
const char * name, Self * output );
135 virtual int RemoveOutput(
const char * name );
137 virtual void SetOutputs(
const CStreamMapType & outputmap );
139 virtual void SetOutputs(
const XStreamMapType & outputmap );
142 virtual const CStreamMapType & GetCOutputs(
void );
144 virtual const XStreamMapType & GetXOutputs(
void );
149 virtual Self & SelectXCell(
const char * name );
170 Send< T >::ToTargets( const_cast< T & >( _arg ), m_CTargetCells, m_XTargetCells );
187 static void ToTargets( T & _arg, CStreamMapType & CTargetCells, XStreamMapType & XTargetCells )
190 for( CStreamMapIteratorType cit = CTargetCells.begin();
191 cit != CTargetCells.end(); ++cit )
193 *( cit->second ) << _arg;
197 for( XStreamMapIteratorType xit = XTargetCells.begin();
198 xit != XTargetCells.end(); ++xit )
200 *( xit->second ) << _arg;
212 #include "xoutbase.hxx"
214 #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