#include <ClazzInfo.h>
Public Member Functions | |
bool | isResolved () const |
bool | hasName (IN(RString) name) const |
int | getIntValue (IN(RString) name) const |
return -1 if name is not known by this enumeration | |
const ClazzEnumValueInfo * | getValue (IN(RString) name) const |
RString | toTypeString (int formatflags) const |
void | toTypeString (StringBuffer &sb, int formatflags) const |
void | registerEnumInfo () const |
intern method to register this EnumInfo | |
void | dispose () |
dispose this structure and owning Delete ClazzInfo if flags has MiDelete | |
ClazzEnumInfo * | clone (bool deep=true) |
Make a dynamic clone of this structor. | |
bool | equalsName (IN(acdk::lang::RString) n) const |
const NamedScopedMetaInfo * | getMetaInfo () const |
NamedScopedMetaInfo * | getMetaInfo () |
Static Public Member Functions | |
const ClazzEnumInfo * | findEnum (IN(RString) enumname, IN(RString) namesp) |
find enumeration type with given name | |
const ClazzEnumValueInfo * | findEnumValue (IN(RString) enumname, IN(RString) namesp, const ClazzEnumInfo **ei=0) |
find enumeration value with given name | |
const ClazzEnumValueInfo * | findEnumValue (IN(RString) enumstring, const ClazzEnumInfo **ei=0) |
ClazzEnumInfo * | getRoot () |
return the root of all registered ClazzEnumInfo | |
void | registerEnumInfo (const ClazzEnumInfo *clazz) |
intern method to register EnumInfo | |
void | unregisterEnumInfo (const ClazzEnumInfo *clazz) |
intern method to unregister EnumInfo | |
Public Attributes | |
int | flags |
see acdk::lang::dmi::MetaInfoFlags | |
void * | attributeRes |
const char * | name |
the label of the field | |
int | nameHashCode |
const char * | ns |
const NamedScopedMetaInfo * | _scopeParent |
namespace where the Enumeration is defined | |
const NamedScopedMetaInfo * | _nextSibling |
ClazzEnumValueInfo ** | values |
0 terminated list of value definitions of this enumeration | |
ClazzEnumInfo * | _next |
next registerd ClazzEnumInfo |
|
Make a dynamic clone of this structor.
|
|
dispose this structure and owning Delete ClazzInfo if flags has MiDelete
|
|
|
|
find enumeration type with given name
|
|
|
|
find enumeration value with given name
|
|
return -1 if name is not known by this enumeration
|
|
|
|
|
|
return the root of all registered ClazzEnumInfo
|
|
|
|
|
|
|
|
intern method to register EnumInfo
|
|
intern method to register this EnumInfo
|
|
|
|
|
|
intern method to unregister EnumInfo
|
|
next registerd ClazzEnumInfo
|
|
|
|
namespace where the Enumeration is defined
|
|
|
|
see acdk::lang::dmi::MetaInfoFlags
|
|
the label of the field
|
|
|
|
|
|
0 terminated list of value definitions of this enumeration
|