Public Member Functions | |
CDefaultStlStringFormat () | |
Constructor. | |
CDefaultStlStringFormat (const CDefaultStlStringFormat &format) | |
Copy constructor. | |
~CDefaultStlStringFormat () | |
Destructor. | |
virtual TString | FormatStl (const TString &val, const CDataObject *pDO) const |
Does nothing. The string, returned by the format is the same that 'val'. | |
virtual bool | ParseStl (const TString &str, TString &val, const CDataObject *pDO) const |
Does nothing. Writes str to val without any modification. | |
virtual CString | FormatMfc (const TString &val, const CDataObject *pDO) const |
The function converts non-formatted value of STL string type to the formatted MFC string. | |
virtual bool | ParseMfc (const CString &str, TString &val, const CDataObject *pDO) const |
The function converts the formatted MFC string to the non-formatted STL string. | |
virtual CFormat * | Clone () const |
Creates a deep copy of a format. | |
virtual void | Serialize (CSerializer &serializer) |
Serializes a format. | |
Static Public Member Functions | |
static int | GetSerializeVertion () |
Serialization version. |
CDefaultStlStringFormat | ( | const CDefaultStlStringFormat & | format | ) |
Copy constructor.
[in] | format | format to be copied |
TString FormatStl | ( | const TString & | val, | |
const CDataObject * | pDO | |||
) | const [virtual] |
Does nothing. The string, returned by the format is the same that 'val'.
[in] | val | Non-formatted string. |
[in] | pDO | Pointer to CDataObject. This parameter is optional and may be zero. |
Reimplemented from CFormat.
bool ParseStl | ( | const TString & | str, | |
TString & | val, | |||
const CDataObject * | pDO | |||
) | const [virtual] |
Does nothing. Writes str to val without any modification.
[in] | str | Formatted string. |
[in,out] | val | Value always equals to str. |
[in] | pDO | Pointer to CDataObject. This parameter is optional and may be zero. |
Reimplemented from CFormat.
CString FormatMfc | ( | const TString & | val, | |
const CDataObject * | pDO | |||
) | const [virtual] |
The function converts non-formatted value of STL string type to the formatted MFC string.
[in] | val | Non-formatted MFC string to be formatted. |
[in] | pDO | Pointer to CDataObject. This parameter is optional and may be zero. |
Reimplemented from CFormat.
bool ParseMfc | ( | const CString & | str, | |
TString & | val, | |||
const CDataObject * | pDO | |||
) | const [virtual] |
The function converts the formatted MFC string to the non-formatted STL string.
[in] | str | MFC string to be formatted. |
[in,out] | val | STL string that is a result of conversion. |
[in] | pDO | Pointer to CDataObject. This parameter is optional and may be zero. |
Reimplemented from CFormat.
CFormat * Clone | ( | ) | const [virtual] |
void Serialize | ( | CSerializer & | serializer | ) | [virtual] |
Serializes a format.
[in] | serializer | Object, into which a format object is serialized. |
Reimplemented from CFormat.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by ![]() |