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 (std::ostream). Beside methods of std::ostream, it also has additional useful methods: str(), Length() and Clear(). More...
#include <LDOM_OSStream.hxx>
Public Types | |
enum | BOMType { BOM_UNDEFINED , BOM_UTF8 , BOM_UTF16BE , BOM_UTF16LE , BOM_UTF32BE , BOM_UTF32LE , BOM_UTF7 , BOM_UTF1 , BOM_UTFEBCDIC , BOM_SCSU , BOM_BOCU1 , BOM_GB18030 } |
Public Member Functions | |
LDOM_OSStream (const Standard_Integer theMaxBuf) | |
Constructor. | |
virtual | ~LDOM_OSStream () |
Standard_CString | str () const |
Standard_Integer | Length () const |
void | Clear () |
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 (std::ostream). Beside methods of std::ostream, it also has additional useful methods: str(), Length() and Clear().
LDOM_OSStream::LDOM_OSStream | ( | const Standard_Integer | theMaxBuf | ) |
Constructor.
|
virtual |
|
inline |
|
inline |
|
inline |