#include <mcllib/MCStringStream.h>
Inheritance diagram for MCStringStream:
Public Member Functions | |
MCString | getString () const |
Get the contents as an MCString. | |
MCStringStream () | |
Constructor. | |
operator MCString () const | |
Get the contents as an MCString. | |
MCStringStream & | operator<< (const mcfloat64 &d) |
Put a mcfloat64 onto the stream. | |
MCStringStream & | operator<< (mcfloat32 d) |
Put a mcfloat32 onto the stream. | |
MCStringStream & | operator<< (const mcuint64 &d) |
Put a mcuint64 onto the stream. | |
MCStringStream & | operator<< (const mcint64 &d) |
Put a mcint64 onto the stream. | |
MCStringStream & | operator<< (mcuint32 d) |
Put a mcuint32 onto the stream. | |
MCStringStream & | operator<< (mcint32 d) |
Put a mcint32 onto the stream. | |
MCStringStream & | operator<< (mcuint16 d) |
Put a mcuint16 onto the stream. | |
MCStringStream & | operator<< (mcint16 d) |
Put a mcint16 onto the stream. | |
MCStringStream & | operator<< (mcuint8 d) |
Put a mcuint8 onto the stream. | |
MCStringStream & | operator<< (mcint8 d) |
Put a mcint8 onto the stream. | |
MCStringStream & | operator<< (char d) |
Put a char onto the stream. | |
MCStringStream & | operator<< (const MCSrcMsg &d) |
Put an MCSrcMsg onto the stream. | |
MCStringStream & | operator<< (const MCMsg &d) |
Put an MCMsg onto the stream. | |
MCStringStream & | operator<< (const MCString &d) |
Put an MCString onto the stream. | |
MCStringStream & | operator<< (const char *d) |
Put a c-style string onto the stream. | |
MCStringStream & | operator>> (mcfloat64 &d) |
Get a mcfloat64 from the stream. | |
MCStringStream & | operator>> (mcfloat32 &d) |
Get a mcfloat32 from the stream. | |
MCStringStream & | operator>> (mcint64 &d) |
Get a mcuint64 from the stream. | |
MCStringStream & | operator>> (mcuint64 &d) |
Get a mcint64 from the stream. | |
MCStringStream & | operator>> (mcuint32 &d) |
Get a mcuint32 from the stream. | |
MCStringStream & | operator>> (mcint32 &d) |
Get a mcint32 from the stream. | |
MCStringStream & | operator>> (mcuint16 &d) |
Get a mcuint16 from the stream. | |
MCStringStream & | operator>> (mcint16 &d) |
Get a mcint16 from the stream. | |
MCStringStream & | operator>> (mcuint8 &d) |
Get a mcuint8 from the stream. | |
MCStringStream & | operator>> (mcint8 &d) |
Get a mcint8 from the stream. | |
MCStringStream & | operator>> (MCString &d) |
Get an MCString from the stream. | |
~MCStringStream () | |
Destructor. |
Copying is allowed, but is extremely inefficient so should be avoided if possible. Avoids exposing std::iostreams (as implementations may vary)