Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MCStringStream Class Reference

Class which acts like stringstream but the results are obtainable as an MCString. More...

#include <mcllib/MCStringStream.h>

Inheritance diagram for MCStringStream:

MCBase List of all members.

Public Member Functions

MCString getString () const
 Get the contents as an MCString.
 MCStringStream ()
 Constructor.
 operator MCString () const
 Get the contents as an MCString.
MCStringStreamoperator<< (const mcfloat64 &d)
 Put a mcfloat64 onto the stream.
MCStringStreamoperator<< (mcfloat32 d)
 Put a mcfloat32 onto the stream.
MCStringStreamoperator<< (const mcuint64 &d)
 Put a mcuint64 onto the stream.
MCStringStreamoperator<< (const mcint64 &d)
 Put a mcint64 onto the stream.
MCStringStreamoperator<< (mcuint32 d)
 Put a mcuint32 onto the stream.
MCStringStreamoperator<< (mcint32 d)
 Put a mcint32 onto the stream.
MCStringStreamoperator<< (mcuint16 d)
 Put a mcuint16 onto the stream.
MCStringStreamoperator<< (mcint16 d)
 Put a mcint16 onto the stream.
MCStringStreamoperator<< (mcuint8 d)
 Put a mcuint8 onto the stream.
MCStringStreamoperator<< (mcint8 d)
 Put a mcint8 onto the stream.
MCStringStreamoperator<< (char d)
 Put a char onto the stream.
MCStringStreamoperator<< (const MCSrcMsg &d)
 Put an MCSrcMsg onto the stream.
MCStringStreamoperator<< (const MCMsg &d)
 Put an MCMsg onto the stream.
MCStringStreamoperator<< (const MCString &d)
 Put an MCString onto the stream.
MCStringStreamoperator<< (const char *d)
 Put a c-style string onto the stream.
MCStringStreamoperator>> (mcfloat64 &d)
 Get a mcfloat64 from the stream.
MCStringStreamoperator>> (mcfloat32 &d)
 Get a mcfloat32 from the stream.
MCStringStreamoperator>> (mcint64 &d)
 Get a mcuint64 from the stream.
MCStringStreamoperator>> (mcuint64 &d)
 Get a mcint64 from the stream.
MCStringStreamoperator>> (mcuint32 &d)
 Get a mcuint32 from the stream.
MCStringStreamoperator>> (mcint32 &d)
 Get a mcint32 from the stream.
MCStringStreamoperator>> (mcuint16 &d)
 Get a mcuint16 from the stream.
MCStringStreamoperator>> (mcint16 &d)
 Get a mcint16 from the stream.
MCStringStreamoperator>> (mcuint8 &d)
 Get a mcuint8 from the stream.
MCStringStreamoperator>> (mcint8 &d)
 Get a mcint8 from the stream.
MCStringStreamoperator>> (MCString &d)
 Get an MCString from the stream.
 ~MCStringStream ()
 Destructor.

Detailed Description

Class which acts like stringstream but the results are obtainable as an MCString.

Copying is allowed, but is extremely inefficient so should be avoided if possible. Avoids exposing std::iostreams (as implementations may vary)

Todo:
Allow IO Manipulators (endl, setw, setfill style) to be put onto the stream to change data output format


Generated on Wed Jan 12 19:05:50 2005 for MCLLIB by  doxygen 1.3.9.1