HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_OStrStream Class Reference

#include <UT_NTStreamUtil.h>

+ Inheritance diagram for UT_OStrStream:

Public Member Functions

 UT_OStrStream ()
 
 UT_OStrStream (exint initialsize)
 
 UT_OStrStream (char *pch, exint nLength, std::ios::openmode=std::ios::out)
 
 UT_OStrStream (const UT_OStrStream &)=delete
 
UT_OStrStream operator= (const UT_OStrStream &)=delete
 
char * str ()
 
void freeze (bool isfrozen)
 
exint pcount () const
 
UT_OStrStreamBufrdbuf ()
 

Detailed Description

Our portable and much improved strstream Uses an exint buffer to allow greater than 2gb streams.

Definition at line 133 of file UT_NTStreamUtil.h.

Constructor & Destructor Documentation

UT_OStrStream::UT_OStrStream ( )
UT_OStrStream::UT_OStrStream ( exint  initialsize)
explicit
UT_OStrStream::UT_OStrStream ( char *  pch,
exint  nLength,
std::ios::openmode  = std::ios::out 
)

The stream does not gain ownership of this buffer! This means it will not resize if it overflows this buffer.

UT_OStrStream::UT_OStrStream ( const UT_OStrStream )
delete

Member Function Documentation

void UT_OStrStream::freeze ( bool  isfrozen)
inline

Definition at line 160 of file UT_NTStreamUtil.h.

UT_OStrStream UT_OStrStream::operator= ( const UT_OStrStream )
delete
exint UT_OStrStream::pcount ( ) const
inline

Definition at line 162 of file UT_NTStreamUtil.h.

UT_OStrStreamBuf* UT_OStrStream::rdbuf ( )
inline

Definition at line 168 of file UT_NTStreamUtil.h.

char* UT_OStrStream::str ( )
inline

Note: This is old-school streams! You own the result of str() and must either free() it or invoke freeze(false)!

Definition at line 159 of file UT_NTStreamUtil.h.


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