This is a wrapper for already-opened std::ostream output streams (like std::cout or similar)
|ChStreamOstreamWrapper (std::ostream *mfile)|
|Creates a wrapper for an already existing, already opened, ostream, given the pointer to that ostream. More...|
|Deleting this stream wrapper does not delete nor closes the wrapped ostream! |
|virtual void||Write (const char *data, size_t n)|
|Writes raw data to file, up to n chars. More...|
|virtual bool||End_of_stream () const|
|Returns true if end of stream reached. |
|std::ostream *||GetOstream () const|
|Reference to ostream encapsulated here. |
Constructor & Destructor Documentation
Creates a wrapper for an already existing, already opened, ostream, given the pointer to that ostream.
Member Function Documentation
Writes raw data to file, up to n chars.
If does not succeed, throws exception.