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>
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()
| LDOM_SBuffer::LDOM_SBuffer |
( |
const int | theMaxBuf | ) |
|
Constructor. Sets a default value for the length of each sequence element.
◆ ~LDOM_SBuffer()
| LDOM_SBuffer::~LDOM_SBuffer |
( |
| ) |
|
|
override |
◆ Clear()
| void LDOM_SBuffer::Clear |
( |
| ) |
|
Clears first element of sequence and removes all others.
◆ Length()
| int LDOM_SBuffer::Length |
( |
| ) |
const |
|
inline |
Returns full length of data contained.
◆ overflow()
◆ str()
| const char * LDOM_SBuffer::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.
◆ underflow()
| int LDOM_SBuffer::underflow |
( |
| ) |
|
|
override |
◆ xsputn()
| std::streamsize LDOM_SBuffer::xsputn |
( |
const char * | s, |
|
|
std::streamsize | n ) |
|
override |
The documentation for this class was generated from the following file: