Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
Namespace Members
Compound Members
Related Pages
FormatString Class Reference
output a string with a fixed length (adding necessary space or removing excess characters) :.
More...
#include <VFNStreamFormat.h>
List of all members.
Public Methods
FormatString
(const string &str, const unsigned int width=5)
~FormatString
()
int
length
() const
Private Attributes
string
mString
const unsigned int
mWidth
Friends
ostream &
operator<<
(ostream &, const FormatString &)
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:
VFNStreamFormat.h
Generated on Tue Feb 5 17:37:19 2002 for ObjCryst++ by
1.2.13.1 written by
Dimitri van Heesch
, © 1997-2001