RTT::rt_std::stringbufs Class Reference
A streambufs implementation based on strings.
More...
#include <rtt/os/rtstreambufs.hpp>
List of all members.
Public Types |
|
typedef streambufs::streamsize | streamsize |
Public Member Functions |
|
| stringbufs (const std::string &c="") |
|
virtual int | sgetc () |
|
virtual streamsize | sgetn (char *s, streamsize n) |
|
virtual int | sputc (char c) |
|
virtual streamsize | sputn (const char *s, streamsize n) |
|
std::string | str () const |
|
void | str (std::string &new_str) |
Static Public Attributes |
|
static const streamsize | buf_size = 512 |
Detailed Description
A streambufs implementation based on strings.
It is initialized to a stringsize of 512 bytes. You can increase it by calling buf.str().reserve( x_bytes );
Definition at line 70 of file rtstreambufs.hpp.
The documentation for this class was generated from the following file: