Dapfor home  

CEditInPlaceFactory Class Reference

Contains a list of the reflectors, which 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 the reflectors, which create, populate and handle specified MFC controls during edit in place operations.

The factory determines an order of reflectors. The reflectors in this order are listed 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.


Copyright Dapfor 2007-2009
Generated on Sat Jan 30 15:01:26 2010 for MFCGrid by doxygen 1.5.5