ObjCryst++  1.5CVS
Public Member Functions | Public Attributes
FormatString Class Reference

output a string with a fixed length (adding necessary space or removing excess characters) : More...

List of all members.

Public Member Functions

 FormatString (const string &str, const unsigned int width=5)
int length () const

Public Attributes

string mString
const unsigned int mWidth

Detailed Description

output a string with a fixed length (adding necessary space or removing excess characters) :

os << FormatString(myString,15);

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