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

CP_ParsedField Class Reference

CP_ParsedField. More...

List of all members.

Public Member Functions

 CP_ParsedField ()
 CP_ParsedField (const CP_String &inData)
 CP_ParsedField (const CP_ParsedField &inField)
virtual ~CP_ParsedField ()
 operator SInt16 ()
 operator SInt32 ()
 operator double ()
 operator float ()
CP_ParsedFieldoperator= (CP_String &inString)
CP_ParsedFieldoperator= (CP_ParsedField &inField)
bool operator== (const CP_ParsedField &inField)
CP_String GetStringData ()

Protected Attributes

CP_String fFieldData


Detailed Description

Fields from our parsed string created with the CP_Parse object.


Constructor & Destructor Documentation

CP_ParsedField::CP_ParsedField  ) 
 

Constructor.

CP_ParsedField::CP_ParsedField const CP_String inData  ) 
 

Constructor with a CP_String containing the data for this field.

Parameters:
inData - contains the parsed fields data.

CP_ParsedField::CP_ParsedField const CP_ParsedField inField  ) 
 

Copy constructor.

Parameters:
inField - the field we are copy the data for.

CP_ParsedField::~CP_ParsedField  )  [virtual]
 

Destructor.


Member Function Documentation

CP_ParsedField::operator SInt16  ) 
 

Return the fields data as a SInt16.

CP_ParsedField::operator SInt32  ) 
 

Return the fields data as a SInt32.

CP_ParsedField::operator double  ) 
 

Return the fields data as a double.

CP_ParsedField::operator float  ) 
 

Return the fields data as a float.

CP_ParsedField& CP_ParsedField::operator= CP_String inString  ) 
 

Assignment operator.

Parameters:
inString - contains the string data to assign to this field.

CP_ParsedField& CP_ParsedField::operator= CP_ParsedField inField  ) 
 

Assignment operator.

Parameters:
inField - contains the field we are going to copy from.

bool CP_ParsedField::operator== const CP_ParsedField inField  ) 
 

Equality operator. Returns true if this object contains the same data as inField.

Parameters:
inField - the field we are checking against.

CP_String CP_ParsedField::GetStringData  ) 
 

Return the fields data.


Member Data Documentation

CP_String CP_ParsedField::fFieldData [protected]
 

CP_String containing the fields data.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:55 2005 for CPLAT by  doxygen 1.4.0