Open CASCADE Technology  7.1.0.beta
Public Member Functions

LDOM_OSStream Class Reference

Subclass if std::ostream allowing to increase performance of outputting data into a string avoiding reallocation of buffer. Class LDOM_OSStream implements output into a sequence of strings and getting the result as a string. It inherits Standard_OStream (ostream). Beside methods of ostream, it also has additional useful methods: str(), Length() and Clear(). More...

#include <LDOM_OSStream.hxx>

Inheritance diagram for LDOM_OSStream:
Inheritance graph
[legend]

Public Member Functions

 LDOM_OSStream (const Standard_Integer theMaxBuf)
 Constructor. More...
 
Standard_CString str () const
 
Standard_Integer Length () const
 
void Clear ()
 

Detailed Description

Subclass if std::ostream allowing to increase performance of outputting data into a string avoiding reallocation of buffer. Class LDOM_OSStream implements output into a sequence of strings and getting the result as a string. It inherits Standard_OStream (ostream). Beside methods of ostream, it also has additional useful methods: str(), Length() and Clear().

Constructor & Destructor Documentation

LDOM_OSStream::LDOM_OSStream ( const Standard_Integer  theMaxBuf)

Constructor.

Member Function Documentation

void LDOM_OSStream::Clear ( )
inline
Standard_Integer LDOM_OSStream::Length ( void  ) const
inline
Standard_CString LDOM_OSStream::str ( ) const
inline

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