#include <rtstreams.hpp>
Public Types | |
typedef streambufs::streamsize | streamsize |
Public Member Functions | |
basic_ostreams (streambufs &s) | |
basic_ostreams & | operator<< (int i) |
basic_ostreams & | operator<< (long i) |
basic_ostreams & | operator<< (char c) |
basic_ostreams & | operator<< (char *c) |
basic_ostreams & | operator<< (double f) |
basic_ostreams & | operator<< (std::string s) |
basic_ostreams & | operator<< (unsigned int u) |
basic_ostreams & | operator<< (basic_ostreams &(*f)(basic_ostreams &)) |
virtual basic_ostreams & | put (char c) |
virtual basic_ostreams & | write (const char *c, streamsize n) |
virtual | ~basic_ostreams () |
Private Attributes | |
streambufs & | buf |
An basic_ostreams is a stream which can be written to. Read operations will have no effect.
Definition at line 145 of file rtstreams.hpp.
Definition at line 149 of file rtstreams.hpp.
RTT::os::basic_ostreams::basic_ostreams | ( | streambufs & | s | ) | [inline] |
Definition at line 151 of file rtstreams.hpp.
RTT::os::basic_ostreams::~basic_ostreams | ( | ) | [virtual] |
Definition at line 236 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | int | i | ) |
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.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | long | i | ) |
Definition at line 122 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | char | c | ) |
Definition at line 129 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | char * | c | ) |
Definition at line 135 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | double | f | ) |
Definition at line 146 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | std::string | s | ) |
Definition at line 153 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | unsigned int | u | ) |
Definition at line 159 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | basic_ostreams &(*)(basic_ostreams &) | f | ) |
Definition at line 141 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::put | ( | char | c | ) | [virtual] |
Definition at line 56 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::write | ( | const char * | c, |
streamsize | n | ||
) | [virtual] |
Definition at line 50 of file rtstreams.cpp.
streambufs& RTT::os::basic_ostreams::buf [private] |
Definition at line 170 of file rtstreams.hpp.