CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types
GroupFieldHandler< TOutput, TGroup, TCType > Struct Template Reference

#include <RecordHelper.h>

Public Types

typedef FieldHandler< TOutput,
TCType, TCType > 
Type
 

Detailed Description

template<typename TOutput, typename TGroup, typename TCType>
struct GroupFieldHandler< TOutput, TGroup, TCType >

What is all this group stuff good for? It provides a layer of indirection between output types and field handlers that is not specific to each type, so that it's possible to handle a bunch of types with a uniform database column -> field structure mapping with just one group def + 1 RH_ASSIGN_GROUP per type.

Definition at line 146 of file RecordHelper.h.

Member Typedef Documentation

template<typename TOutput , typename TGroup , typename TCType >
typedef FieldHandler<TOutput, TCType, TCType> GroupFieldHandler< TOutput, TGroup, TCType >::Type

Definition at line 147 of file RecordHelper.h.