#include <EnumBuilder.h>
Public Member Functions | |
EnumBuilderT (unsigned int modifiers=0) | |
EnumBuilderT (const char *nam, unsigned int modifiers=0) | |
virtual | ~EnumBuilderT () |
EnumBuilderT & | AddItem (const char *nam, long value) |
template<typename P> | |
EnumBuilderT & | AddProperty (const char *key, P value) |
Type | ToType () |
Private Attributes | |
EnumBuilder | fEnumBuilderImpl |
Definition at line 93 of file EnumBuilder.h.
Reflex::EnumBuilderT< T >::EnumBuilderT | ( | unsigned int | modifiers = 0 |
) | [inline] |
constructor
Definition at line 146 of file EnumBuilder.h.
Reflex::EnumBuilderT< T >::EnumBuilderT | ( | const char * | nam, | |
unsigned int | modifiers = 0 | |||
) | [inline] |
constructor
Definition at line 156 of file EnumBuilder.h.
virtual Reflex::EnumBuilderT< T >::~EnumBuilderT | ( | ) | [inline, virtual] |
destructor
Definition at line 105 of file EnumBuilder.h.
Reflex::EnumBuilderT< T > & Reflex::EnumBuilderT< T >::AddItem | ( | const char * | nam, | |
long | value | |||
) | [inline] |
AddItem add a new item in the enum
Name | item Name | |
value | the value of the item |
Definition at line 169 of file EnumBuilder.h.
References value.
Reflex::EnumBuilderT< T > & Reflex::EnumBuilderT< T >::AddProperty | ( | const char * | key, | |
P | value | |||
) | [inline] |
AddProperty will add a PropertyNth to the PropertyNth stack which will be emptied with the next enum / item build
key | the PropertyNth key | |
value | the value of the PropertyNth |
Definition at line 181 of file EnumBuilder.h.
References value.
Reflex::Type Reflex::EnumBuilderT< T >::ToType | ( | ) | [inline] |
Definition at line 192 of file EnumBuilder.h.
EnumBuilder Reflex::EnumBuilderT< T >::fEnumBuilderImpl [private] |
the enums and values
Definition at line 138 of file EnumBuilder.h.