MFC Grid manual

CEmptyFormat Class Reference

This format doesn't perform actions with non-formatted value and always returns an empty string. More...

#include <Dapfor/Common/EmptyFormat.h>

Inheritance diagram for CEmptyFormat:

CFormat

List of all members.


Public Member Functions

 CEmptyFormat (EnType type)
 Constructor.
virtual CFormatClone () const
 Creates a deep copy of a format.
virtual void Serialize (CSerializer &serializer)
 Serializes a format.
Format methods
virtual CString FormatMfc (const CString &val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (const TString &val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (char val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (unsigned char val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (short val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (unsigned short val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (long val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (unsigned long val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (int64 val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (bool val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (float val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (double val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (CDataObject *val, const CDataObject *pDO) const
 Does nothing.
virtual CString FormatMfc (const CValue &val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (const CString &val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (const TString &val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (char val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (unsigned char val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (short val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (unsigned short val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (long val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (unsigned long val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (int64 val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (bool val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (float val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (double val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (CDataObject *val, const CDataObject *pDO) const
 Does nothing.
virtual TString FormatStl (const CValue &val, const CDataObject *pDO) const
 Does nothing.
Parse methods
virtual bool ParseMfc (const CString &str, CString &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, TString &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, char &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, unsigned char &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, short &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, unsigned short &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, long &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, unsigned long &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, int64 &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, bool &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, float &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, CDataObject *&val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, double &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseMfc (const CString &str, CValue &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, CString &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, TString &, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, char &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, unsigned char &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, short &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, unsigned short &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, long &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, unsigned long &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, int64 &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, bool &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, float &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, CDataObject *&val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, double &val, const CDataObject *pDO) const
 Does nothing.
virtual bool ParseStl (const TString &str, CValue &val, const CDataObject *pDO) const
 Does nothing.

Static Public Member Functions

static int GetSerializeVertion ()
 Serialization version.

Detailed Description

This format doesn't perform actions with non-formatted value and always returns an empty string.

Constructor & Destructor Documentation

CEmptyFormat ( EnType  type  ) 

Constructor.

Parameters:
[in] type Format type


Member Function Documentation

CString FormatMfc ( const CString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( const TString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( char  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( unsigned char  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( short  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( unsigned short  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( long  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( unsigned long  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( int64  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( bool  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( float  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( double  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( CDataObject val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

CString FormatMfc ( const CValue val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
CString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
TString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
char &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
unsigned char &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
short &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
unsigned short &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
long &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
unsigned long &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
int64 &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
bool &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
float &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
CDataObject *&  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
double &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseMfc ( const CString &  str,
CValue val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

TString FormatStl ( const CString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( const TString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( char  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( unsigned char  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( short  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( unsigned short  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( long  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( unsigned long  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( int64  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( bool  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( float  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( double  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( CDataObject val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

TString FormatStl ( const CValue val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Empty string

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
CString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
TString &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
char &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
unsigned char &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
short &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
unsigned short &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
long &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
unsigned long &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
int64 &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
bool &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
float &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
CDataObject *&  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
double &  val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

bool ParseStl ( const TString &  str,
CValue val,
const CDataObject pDO 
) const [virtual]

Does nothing.

Parameters:
[in] str Formatted string
[in,out] val Non-formatted value
[in] pDO Pointer to CDataObject. This parameter is optional and may be zero.
Returns:
Always false

Reimplemented from CFormat.

CFormat * Clone (  )  const [virtual]

Creates a deep copy of a format.

Returns:
Deep copy of a format object.

Implements CFormat.

void Serialize ( CSerializer serializer  )  [virtual]

Serializes a format.

Parameters:
[in] serializer Object, into which a format object is serialized.

Reimplemented from CFormat.