class OmInputStringStream
|
Implementation of input stream for strings. More... |
|
|
Public Members
Detailed Description
Implementation of input stream for strings.
This class provides a specialization of OmInputStream for strings buffers.
This corresponds to an encapsulation of I/O operations needed by the library.
explicit OmInputStringStream (const char * buffer_in)
|
Constructor. The given buffer is fully copied and no sharing occurs.
- Precondition: ~ NullPointer(buffer_in)
explicit OmInputStringStream (char * buffer_in, bool shared_in=false)
|
Constructor. By default the given buffer is fully copied and no sharing occurs.
However sharing can be provided if explicitly specified here. In this case the user
must be careful about its changed in memory.
- Precondition: ~ NullPointer(buffer_in)
[virtual]
Destructor.
const char * getBuffer ()
|
[const virtual]
Get the buffer.
[const virtual]
Test if buffer is shared.
Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199. |