#include <rtstreambufs.hpp>

Public Types | |
| typedef streambufs::streamsize | streamsize |
Public Types inherited from RTT::os::streambufs | |
| typedef unsigned int | streamsize |
Public Member Functions | |
| 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) |
| stringbufs (const std::string &c="") | |
| virtual | ~stringbufs () |
Public Member Functions inherited from RTT::os::streambufs | |
| virtual | ~streambufs () |
Static Public Attributes | |
| static const streamsize | buf_size = 512 |
Private Member Functions | |
| void | cleanup (int free=1) |
| void | clear () |
Private Attributes | |
| std::string | _s |
| streamsize | end |
| streamsize | ptr |
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.
Definition at line 74 of file rtstreambufs.hpp.
|
inline |
Definition at line 78 of file rtstreambufs.hpp.
|
inlinevirtual |
Definition at line 80 of file rtstreambufs.hpp.
|
inlineprivate |
| free,the | minimum space that must be free. |
Definition at line 137 of file rtstreambufs.hpp.
|
inlineprivate |
Definition at line 127 of file rtstreambufs.hpp.
|
inlinevirtual |
Implements RTT::os::streambufs.
Definition at line 82 of file rtstreambufs.hpp.
|
inlinevirtual |
Implements RTT::os::streambufs.
Definition at line 88 of file rtstreambufs.hpp.
|
inlinevirtual |
Implements RTT::os::streambufs.
Definition at line 97 of file rtstreambufs.hpp.
|
inlinevirtual |
Implements RTT::os::streambufs.
Definition at line 107 of file rtstreambufs.hpp.
|
inline |
Definition at line 116 of file rtstreambufs.hpp.
|
inline |
Definition at line 121 of file rtstreambufs.hpp.
|
private |
Definition at line 148 of file rtstreambufs.hpp.
|
static |
Definition at line 76 of file rtstreambufs.hpp.
|
private |
Definition at line 150 of file rtstreambufs.hpp.
|
private |
Definition at line 149 of file rtstreambufs.hpp.