Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_FormatAlex::CP_FormatToken Class Reference

A class that holds all the parameters of the token found in the format string.

List of all members.

Public Member Functions

 CP_FormatToken ()
 CP_FormatToken (const CP_FormatToken &rhs)
CP_FormatTokenoperator= (const CP_FormatToken &rhs)
void Reset ()
Accessors
UInt32 GetTokenFlags () const
Modifiers GetTokenModifier () const
const CP_StringGetTokenFace () const
Tokens GetTokenType () const
int GetTokenWidth () const
int GetTokenPrecision () const
UInt32 GetParameterPosition () const
const CP_String GetTokenFormatString () const

Protected Attributes

UInt32 fTokenFlags
Modifiers fTokenModifiers
Tokens fTokenType
UInt32 fParameterPosition
int fTokenWidth
int fTokenPrecision
CP_String fTokenFace

Friends

class CP_FormatAlex
class CP_String


Constructor & Destructor Documentation

CP_FormatAlex::CP_FormatToken::CP_FormatToken  ) 
 

CP_FormatAlex::CP_FormatToken::CP_FormatToken const CP_FormatToken rhs  ) 
 


Member Function Documentation

CP_FormatToken& CP_FormatAlex::CP_FormatToken::operator= const CP_FormatToken rhs  ) 
 

void CP_FormatAlex::CP_FormatToken::Reset  ) 
 

UInt32 CP_FormatAlex::CP_FormatToken::GetTokenFlags  )  const
 

Modifiers CP_FormatAlex::CP_FormatToken::GetTokenModifier  )  const
 

const CP_String& CP_FormatAlex::CP_FormatToken::GetTokenFace  )  const
 

Tokens CP_FormatAlex::CP_FormatToken::GetTokenType  )  const
 

int CP_FormatAlex::CP_FormatToken::GetTokenWidth  )  const
 

int CP_FormatAlex::CP_FormatToken::GetTokenPrecision  )  const
 

UInt32 CP_FormatAlex::CP_FormatToken::GetParameterPosition  )  const
 

const CP_String CP_FormatAlex::CP_FormatToken::GetTokenFormatString  )  const
 

For a token (based on it's properties) will create the format string that can be used by sprintf

Parameters:
none 
Exceptions:
none 
Returns:
CP_String the format string that can be used by sprintf (like "%-20.2f")


Friends And Related Function Documentation

friend class CP_FormatAlex [friend]
 

friend class CP_String [friend]
 


Member Data Documentation

UInt32 CP_FormatAlex::CP_FormatToken::fTokenFlags [protected]
 

Modifiers CP_FormatAlex::CP_FormatToken::fTokenModifiers [protected]
 

Tokens CP_FormatAlex::CP_FormatToken::fTokenType [protected]
 

UInt32 CP_FormatAlex::CP_FormatToken::fParameterPosition [protected]
 

int CP_FormatAlex::CP_FormatToken::fTokenWidth [protected]
 

int CP_FormatAlex::CP_FormatToken::fTokenPrecision [protected]
 

CP_String CP_FormatAlex::CP_FormatToken::fTokenFace [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:21:46 2005 for CPLAT_MacOS by  doxygen 1.4.0