Class LDOM_SBuffer inherits std::streambuf and redefines some virtual methods of it (overflow() and xsputn()). This class contains pointers on first and current element of sequence, also it has methods for the sequence management.
More...
#include <LDOM_OSStream.hxx>
|
| LDOM_SBuffer (const Standard_Integer theMaxBuf) |
| Constructor. Sets a default value for the length of each sequence element. More...
|
|
Standard_CString | str () const |
| Concatenates strings of all sequence elements into one string. Space for output string is allocated with operator new. Caller of this function is responsible for memory release after the string usage. More...
|
|
Standard_Integer | Length () const |
| Returns full length of data contained. More...
|
|
void | Clear () |
| Clears first element of sequence and removes all others. More...
|
|
virtual int | overflow (int c=EOF) override |
|
virtual int | underflow () override |
|
virtual std::streamsize | xsputn (const char *s, std::streamsize n) override |
|
| ~LDOM_SBuffer () |
|
Class LDOM_SBuffer inherits std::streambuf and redefines some virtual methods of it (overflow() and xsputn()). This class contains pointers on first and current element of sequence, also it has methods for the sequence management.
◆ LDOM_SBuffer()
Constructor. Sets a default value for the length of each sequence element.
◆ ~LDOM_SBuffer()
LDOM_SBuffer::~LDOM_SBuffer |
( |
| ) |
|
◆ Clear()
void LDOM_SBuffer::Clear |
( |
| ) |
|
Clears first element of sequence and removes all others.
◆ Length()
Returns full length of data contained.
◆ overflow()
virtual int LDOM_SBuffer::overflow |
( |
int |
c = EOF | ) |
|
|
overridevirtual |
◆ str()
Concatenates strings of all sequence elements into one string. Space for output string is allocated with operator new. Caller of this function is responsible for memory release after the string usage.
◆ underflow()
virtual int LDOM_SBuffer::underflow |
( |
| ) |
|
|
overridevirtual |
◆ xsputn()
virtual std::streamsize LDOM_SBuffer::xsputn |
( |
const char * |
s, |
|
|
std::streamsize |
n |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file: