MFC Grid manual

CEditInPlaceFactory Class Reference

Contains a list of reflectors that create, populate and handle specified MFC controls during edit in place operations. More...

#include <Dapfor/GUI/EditInPlaceFactory.h>

List of all members.


Public Types

typedef std::vector
< IControlReflector * > 
Reflectors
 Container of reflectors.

Static Public Member Functions

static void AddReflector (IControlReflector *reflector)
 Adds a new reflector.
static void DeleteReflector (const Common::CFormat *format)
 Removes all the reflectors that match to the format.
static void DeleteAllReflectors ()
 Removes all reflectors.
static IControlReflectorGetReflector (const Common::CFormat *format)
 Looks for the reflector that matches to the specified format.
static ReflectorsGetReflectors ()
 Gets a list of all reflectors.

Detailed Description

Contains a list of reflectors that create, populate and handle specified MFC controls during edit in place operations.

The factory determines the order of reflectors. Reflectors are listed in this order below:


CBoolReflector
CLongEnumReflector
CInt64DateReflector
CLongMsecTimeReflector
CLongDateTimeReflector
CCharReflector
CUCharReflector
CShortReflector
CUShortReflector
CLongReflector
CULongReflector
CInt64Reflector
CFloatReflector
CDoubleReflector
CDefaultReflector

Version:
1.0.0.0 Initial version

Member Function Documentation

void AddReflector ( IControlReflector reflector  )  [static]

Adds a new reflector.

Parameters:
[in] reflector A new reflector

void DeleteReflector ( const Common::CFormat format  )  [static]

Removes all the reflectors that match to the format.

Parameters:
[in] format Format object

IControlReflector * GetReflector ( const Common::CFormat format  )  [static]

Looks for the reflector that matches to the specified format.

Parameters:
[in] format Format object
Returns:
One of reflectors if it matches to the specified format. Otherwise zero.

CEditInPlaceFactory::Reflectors & GetReflectors (  )  [static]

Gets a list of all reflectors.

Returns:
Container of reflectors.