OSG::OutStream Class Reference

#include <OSGIOStream.h>

List of all members.


Public Member Functions

Constructor


 OutStream (std::ostream &baseStream)
Destructor


virtual ~OutStream (void)
formated output


OutStreamoperator<< (long __n)
OutStreamoperator<< (unsigned long __n)
OutStreamoperator<< (bool __n)
OutStreamoperator<< (char __c)
OutStreamoperator<< (short __n)
OutStreamoperator<< (unsigned short __n)
OutStreamoperator<< (int __n)
OutStreamoperator<< (unsigned int __n)
OutStreamoperator<< (long long __n)
OutStreamoperator<< (unsigned long long __n)
OutStreamoperator<< (double __f)
OutStreamoperator<< (float __f)
OutStreamoperator<< (long double __f)
OutStreamoperator<< (const Fixed32 &val)
OutStreamoperator<< (const void *__p)
OutStreamoperator<< (const char *__p)
OutStreamoperator<< (const std::string &__s)
formated output


OutStreamoperator<< (std::_Setbase __f)
OutStreamoperator<< (std::ostream &(OSG_STREAM_API *__pf)(std::ostream &))
formated output


virtual OutStreamoperator<< (SetIndent)
virtual OutStreamoperator<< (_IncIndent_)
virtual OutStreamoperator<< (_DecIndent_)
virtual OutStreamoperator<< (_BeginElem_)
virtual OutStreamoperator<< (_EndElem_)
virtual OutStreamoperator<< (_EndElemNL_)

Protected Attributes

std::ostream * _pBaseStream

Detailed Description

Definition at line 84 of file OSGIOStream.h.


Constructor & Destructor Documentation

OutStream::OutStream ( std::ostream &  baseStream  ) 

Definition at line 67 of file OSGIOStream.cpp.

00067                                            :
00068     _pBaseStream(&baseStream)
00069 {
00070 }

OutStream::~OutStream ( void   )  [virtual]

Definition at line 74 of file OSGIOStream.cpp.

00075 {
00076 }


Member Function Documentation

OutStream & OSG::OutStream::operator<< ( long  __n  )  [inline]

Definition at line 42 of file OSGIOStream.inl.

00043 {
00044     (*_pBaseStream) << __n;
00045     
00046     return *this;
00047 }

OutStream & OSG::OutStream::operator<< ( unsigned long  __n  )  [inline]

Definition at line 50 of file OSGIOStream.inl.

00051 {
00052     (*_pBaseStream) << __n;
00053 
00054     return *this;
00055 }

OutStream & OSG::OutStream::operator<< ( bool  __n  )  [inline]

Definition at line 58 of file OSGIOStream.inl.

00059 {
00060     (*_pBaseStream) << __n;
00061 
00062     return *this;
00063 }

OutStream & OSG::OutStream::operator<< ( char  __c  )  [inline]

Definition at line 66 of file OSGIOStream.inl.

00067 {
00068     (*_pBaseStream) << __c;
00069 
00070     return *this;
00071 }

OutStream & OSG::OutStream::operator<< ( short  __n  )  [inline]

Definition at line 74 of file OSGIOStream.inl.

00075 {
00076     (*_pBaseStream) << __n;
00077 
00078     return *this;
00079 }

OutStream & OSG::OutStream::operator<< ( unsigned short  __n  )  [inline]

Definition at line 82 of file OSGIOStream.inl.

00083 {
00084     (*_pBaseStream) << __n;
00085 
00086     return *this;
00087 }

OutStream & OSG::OutStream::operator<< ( int  __n  )  [inline]

Definition at line 90 of file OSGIOStream.inl.

00091 {
00092     (*_pBaseStream) << __n;
00093 
00094     return *this;
00095 }

OutStream & OSG::OutStream::operator<< ( unsigned int  __n  )  [inline]

Definition at line 98 of file OSGIOStream.inl.

00099 {
00100     (*_pBaseStream) << __n;
00101 
00102     return *this;
00103 }

OutStream & OSG::OutStream::operator<< ( long long  __n  )  [inline]

Definition at line 106 of file OSGIOStream.inl.

00107 {
00108     (*_pBaseStream) << __n;
00109 
00110     return *this;
00111 }

OutStream & OSG::OutStream::operator<< ( unsigned long long  __n  )  [inline]

Definition at line 114 of file OSGIOStream.inl.

00115 {
00116     (*_pBaseStream) << __n;
00117 
00118     return *this;
00119 }

OutStream & OSG::OutStream::operator<< ( double  __f  )  [inline]

Definition at line 122 of file OSGIOStream.inl.

00123 {
00124     (*_pBaseStream) << __f;
00125 
00126     return *this;
00127 }

OutStream & OSG::OutStream::operator<< ( float  __f  )  [inline]

Definition at line 130 of file OSGIOStream.inl.

00131 {
00132     (*_pBaseStream) << __f;
00133 
00134     return *this;
00135 }

OutStream & OSG::OutStream::operator<< ( long double  __f  )  [inline]

Definition at line 138 of file OSGIOStream.inl.

00139 {
00140     (*_pBaseStream) << __f;
00141 
00142     return *this;
00143 }

OutStream & OutStream::operator<< ( const Fixed32 val  )  [inline]

Definition at line 79 of file OSGIOStream.cpp.

References Fixed32::getValue().

00080 {
00081     (*_pBaseStream) << val.getValue();
00082     
00083     return *this;
00084 }

OutStream & OSG::OutStream::operator<< ( const void *  __p  )  [inline]

Definition at line 146 of file OSGIOStream.inl.

00147 {
00148     (*_pBaseStream) << __p;
00149 
00150     return *this;
00151 }

OutStream & OSG::OutStream::operator<< ( const char *  __p  )  [inline]

Definition at line 154 of file OSGIOStream.inl.

00155 {
00156     (*_pBaseStream) << __p;
00157 
00158     return *this;
00159 }

OutStream & OSG::OutStream::operator<< ( const std::string &  __s  )  [inline]

Definition at line 162 of file OSGIOStream.inl.

00163 {
00164 #ifndef WIN32
00165     (*_pBaseStream) << __s;
00166 #else
00167     (*_pBaseStream) << __s.c_str();
00168 #endif
00169 
00170     return *this;
00171 }

OutStream & OSG::OutStream::operator<< ( std::_Setbase  __f  )  [inline]

Definition at line 175 of file OSGIOStream.inl.

00176 {
00177     (*_pBaseStream) << __f;
00178     
00179     return *this;
00180 }

OutStream & OSG::OutStream::operator<< ( std::ostream &  (OSG_STREAM_API *__pf)(std::ostream &)  )  [inline]

Definition at line 192 of file OSGIOStream.inl.

00194 {
00195     __pf(*(this->_pBaseStream));
00196 
00197     return *this;
00198 }

OutStream & OSG::OutStream::operator<< ( SetIndent   )  [inline, virtual]

Definition at line 201 of file OSGIOStream.inl.

00202 {
00203     return *this;
00204 }

OutStream & OSG::OutStream::operator<< ( _IncIndent_   )  [inline, virtual]

Definition at line 207 of file OSGIOStream.inl.

00208 {
00209     return *this;
00210 }

virtual OutStream& OSG::OutStream::operator<< ( _DecIndent_   )  [virtual]

virtual OutStream& OSG::OutStream::operator<< ( _BeginElem_   )  [virtual]

virtual OutStream& OSG::OutStream::operator<< ( _EndElem_   )  [virtual]

virtual OutStream& OSG::OutStream::operator<< ( _EndElemNL_   )  [virtual]


Member Data Documentation

std::ostream* OSG::OutStream::_pBaseStream [protected]

Definition at line 167 of file OSGIOStream.h.


The documentation for this class was generated from the following files: