|
|
|
|
|
struct ClazzAttributesRes
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::lang::dmi::ClazzAttributesRes Struct Reference#include <ClazzAttributesRes.h>
List of all members.
Detailed Description
Used to store attributes at ClazzInfo FieldInfo etc.
User normally don't operate on these structs, but uses the reflection API to query attributes MetaAttribute
|
Public Types |
typedef KeyValue< StringRes,
ClazzAttributeResValue > | ResTableEntry |
typedef acdk::lang::sys::core_vector<
ResTableEntry > | ResTable |
Public Member Functions |
ClazzAttributeResValue | get (const char *key) |
ClazzAttributeResValue | getInstance (Object *obj, const char *key) |
bool | hasEntry (const char *key) |
bool | hasInstanceEntry (Object *obj, const char *key) |
void | put (const StringRes &key, const ClazzAttributeResValue &val=ClazzAttributeResValue()) |
void | putInstance (Object *obj, const StringRes &key, const ClazzAttributeResValue &val=ClazzAttributeResValue()) |
void | remove (const StringRes &key) |
void | removeAll () |
void | removeInstance (Object *obj, const StringRes &key) |
Static Public Member Functions |
void | attachAttribute (MetaInfo *mi, const StringRes &key, const ClazzAttributeResValue &val=ClazzAttributeResValue()) |
void | attachInstanceAttribute (MetaInfo *mi, const StringRes &key, Object *obj, const ClazzAttributeResValue &val=ClazzAttributeResValue()) |
ClazzAttributeResValue | getAttribute (MetaInfo *mi, IN(RString) key) |
bool | hasAttribute (MetaInfo *mi, IN(RString) key) |
ClazzAttributeResValue | getInstanceAttribute (MetaInfo *mi, Object *obj, IN(RString) key) |
bool | hasInstanceAttribute (MetaInfo *mi, Object *obj, IN(RString) key) |
ResTable | getAttributes (MetaInfo *mi) |
ResTable | getInstanceAttributes (MetaInfo *mi, Object *o) |
void | deleteMetaAttributes (MetaInfo *mi) |
void | deleteMetaAttribute (MetaInfo *mi, IN(RString) key) |
void | deleteInstanceMetaAttribute (MetaInfo *mi, Object *o, IN(RString) key) |
void | releaseInstanceData (MetaInfo *mi, Object *o) |
void | releaseInstanceData2 (MetaInfo *mi, Object *o) |
Public Attributes |
ResTable | _entries |
Member Typedef Documentation
Member Function Documentation
void acdk::lang::dmi::ClazzAttributesRes::deleteInstanceMetaAttribute |
( |
MetaInfo * |
mi, |
|
|
Object * |
o, |
|
|
IN(RString) |
key |
|
) |
[static] |
|
void acdk::lang::dmi::ClazzAttributesRes::deleteMetaAttribute |
( |
MetaInfo * |
mi, |
|
|
IN(RString) |
key |
|
) |
[static] |
|
void acdk::lang::dmi::ClazzAttributesRes::deleteMetaAttributes |
( |
MetaInfo * |
mi |
) |
[static] |
|
ResTable acdk::lang::dmi::ClazzAttributesRes::getAttributes |
( |
MetaInfo * |
mi |
) |
[static] |
|
bool acdk::lang::dmi::ClazzAttributesRes::hasAttribute |
( |
MetaInfo * |
mi, |
|
|
IN(RString) |
key |
|
) |
[static] |
|
bool acdk::lang::dmi::ClazzAttributesRes::hasEntry |
( |
const char * |
key |
) |
|
|
bool acdk::lang::dmi::ClazzAttributesRes::hasInstanceAttribute |
( |
MetaInfo * |
mi, |
|
|
Object * |
obj, |
|
|
IN(RString) |
key |
|
) |
[static] |
|
bool acdk::lang::dmi::ClazzAttributesRes::hasInstanceEntry |
( |
Object * |
obj, |
|
|
const char * |
key |
|
) |
|
|
void acdk::lang::dmi::ClazzAttributesRes::releaseInstanceData |
( |
MetaInfo * |
mi, |
|
|
Object * |
o |
|
) |
[inline, static] |
|
void acdk::lang::dmi::ClazzAttributesRes::releaseInstanceData2 |
( |
MetaInfo * |
mi, |
|
|
Object * |
o |
|
) |
[static] |
|
void acdk::lang::dmi::ClazzAttributesRes::remove |
( |
const StringRes & |
key |
) |
|
|
void acdk::lang::dmi::ClazzAttributesRes::removeAll |
( |
|
) |
|
|
void acdk::lang::dmi::ClazzAttributesRes::removeInstance |
( |
Object * |
obj, |
|
|
const StringRes & |
key |
|
) |
|
|
Member Data Documentation
|
|