Orocos Real-Time Toolkit  2.9.0
Public Types | Public Member Functions | Private Attributes | List of all members
RTT::os::stringstreams Class Reference

Stringstreams, are not guaranteed to be hard realtime. More...

#include <rtt/os/rtstreams.hpp>

Inheritance diagram for RTT::os::stringstreams:
RTT::os::string_helper RTT::os::basic_iostreams RTT::os::basic_istreams RTT::os::basic_ostreams RTT::os::basic_streams RTT::os::basic_streams

Public Types

typedef streambufs::streamsize streamsize
 
typedef streambufs::streamsize streamsize
 

Public Member Functions

 stringstreams (const std::string &_init)
 
 stringstreams ()
 
virtual ~stringstreams ()
 
int get ()
 
basic_istreamsget (char &c)
 
basic_istreamsget (char *c, streamsize n, char delim)
 
basic_istreamsget (char *c, char delim)
 
basic_istreamsread (char *c, streamsize n)
 
streamsize readsome (char *c, streamsize n)
 
basic_istreamsoperator>> (int &i)
 
basic_istreamsoperator>> (char &c)
 
basic_istreamsoperator>> (double &f)
 
basic_istreamsoperator>> (std::string &s)
 
basic_istreamsoperator>> (unsigned int &u)
 
virtual basic_ostreamsput (char c)
 
virtual basic_ostreamswrite (const char *c, streamsize n)
 
basic_ostreamsoperator<< (int i)
 Operators. More...
 
basic_ostreamsoperator<< (long i)
 
basic_ostreamsoperator<< (char c)
 
basic_ostreamsoperator<< (char *c)
 
basic_ostreamsoperator<< (double f)
 
basic_ostreamsoperator<< (std::string s)
 
basic_ostreamsoperator<< (unsigned int u)
 
basic_ostreamsoperator<< (basic_ostreams &(*f)(basic_ostreams &))
 

Private Attributes

stringbufs str
 

Detailed Description

Stringstreams, are not guaranteed to be hard realtime.

Definition at line 219 of file rtstreams.hpp.

Member Typedef Documentation

Definition at line 118 of file rtstreams.hpp.

Definition at line 149 of file rtstreams.hpp.

Constructor & Destructor Documentation

RTT::os::stringstreams::stringstreams ( const std::string &  _init)
inline

Definition at line 223 of file rtstreams.hpp.

RTT::os::stringstreams::stringstreams ( )
inline

Definition at line 224 of file rtstreams.hpp.

RTT::os::stringstreams::~stringstreams ( )
virtual

Definition at line 243 of file rtstreams.cpp.

Member Function Documentation

int RTT::os::basic_istreams::get ( )
inherited
basic_istreams & RTT::os::basic_istreams::get ( char &  c)
inherited

Definition at line 73 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::get ( char *  c,
streamsize  n,
char  delim 
)
inherited

Definition at line 79 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::get ( char *  c,
char  delim 
)
inherited

Definition at line 96 of file rtstreams.cpp.

basic_ostreams & RTT::os::basic_ostreams::operator<< ( int  i)
inherited

Operators.

These can not be virtual, so each one calls the appropriate read or write method defined above.

Definition at line 115 of file rtstreams.cpp.

References int_to_string().

basic_ostreams & RTT::os::basic_ostreams::operator<< ( long  i)
inherited

Definition at line 122 of file rtstreams.cpp.

References int_to_string().

basic_ostreams & RTT::os::basic_ostreams::operator<< ( char  c)
inherited

Definition at line 129 of file rtstreams.cpp.

basic_ostreams & RTT::os::basic_ostreams::operator<< ( char *  c)
inherited

Definition at line 135 of file rtstreams.cpp.

basic_ostreams & RTT::os::basic_ostreams::operator<< ( double  f)
inherited

Definition at line 146 of file rtstreams.cpp.

References float_to_string().

basic_ostreams & RTT::os::basic_ostreams::operator<< ( std::string  s)
inherited

Definition at line 153 of file rtstreams.cpp.

basic_ostreams & RTT::os::basic_ostreams::operator<< ( unsigned int  u)
inherited

Definition at line 159 of file rtstreams.cpp.

References unsigned_int_to_string().

basic_ostreams & RTT::os::basic_ostreams::operator<< ( basic_ostreams &(*)(basic_ostreams &)  f)
inherited

Definition at line 141 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::operator>> ( int &  i)
inherited

Definition at line 166 of file rtstreams.cpp.

References string_to_int().

basic_istreams & RTT::os::basic_istreams::operator>> ( char &  c)
inherited

Definition at line 180 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::operator>> ( double &  f)
inherited

Definition at line 186 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::operator>> ( std::string &  s)
inherited

Definition at line 201 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::operator>> ( unsigned int &  u)
inherited

Definition at line 217 of file rtstreams.cpp.

References string_to_unsigned_int().

basic_ostreams & RTT::os::basic_ostreams::put ( char  c)
virtualinherited

Definition at line 56 of file rtstreams.cpp.

basic_istreams & RTT::os::basic_istreams::read ( char *  c,
streamsize  n 
)
inherited

Definition at line 62 of file rtstreams.cpp.

basic_istreams::streamsize RTT::os::basic_istreams::readsome ( char *  c,
streamsize  n 
)
inherited

Definition at line 68 of file rtstreams.cpp.

basic_ostreams & RTT::os::basic_ostreams::write ( const char *  c,
streamsize  n 
)
virtualinherited

Definition at line 50 of file rtstreams.cpp.


The documentation for this class was generated from the following files: