|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::lang::dmi::MetaInfo Struct Reference#include <MetaInfo.h>
Inheritance diagram for acdk::lang::dmi::MetaInfo:
List of all members.
Detailed Description
All MetaInfo (UnitInfo, ClazzInfo, MethodInfo, etc.
has the common information of flags and attributeRes
|
Public Member Functions |
bool | isDelete () const |
bool | isClazzInfo () const |
bool | isUnitInfo () const |
bool | isEnumInfo () const |
bool | isEnumValInfo () const |
bool | isMethodInfo () const |
bool | isMethodArgInfo () const |
bool | isFieldInfo () const |
bool | isSuperInfo () const |
bool | isPublic () const |
bool | isPrivate () const |
bool | isProtected () const |
bool | isStatic () const |
RString | toString (int format=TpFtFormatStandard) const |
| uses the toTypeString function of ClazzInfo, etc.
|
void | copyFrom (const MetaInfo *source, bool deep) |
void | dispose () |
void | setString (const char *&target, const char *n) |
void | onNewMetaInfo () |
| internal helper to call MetaInfoChangeListener callbacks
|
void | onResolvedMetaInfo () |
void | onReplaceMetaInfo (MetaInfo *newMetaInfo) |
void | onUnregisterMetaInfo () |
void | onDisposeMetaInfo () |
Static Public Member Functions |
void | flagsToTypeDecl (StringBuffer &sb, int flags, int renderFlags) |
| render as ACDK source
|
int | calcHashValue (int flags) |
const MetaInfo * | findMetaInfo (IN(RString) name, int flags=0, bool tryLoad=false) |
| Search in UnitInfo, EnumInfo and ClazzInfo.
|
const MetaInfo * | findMetaInfoNormalized (IN(RString) name, int flags=0, bool tryLoad=false) |
| ns and cname are in normalized form
|
void | findMetaInfos (acdk::lang::sys::core_vector< const MetaInfo * > &vec, IN(RString) name, int flags=0, bool tryLoad=false) |
void | findMetaInfosNormalized (acdk::lang::sys::core_vector< const MetaInfo * > &vec, IN(RString) ns, int flags=0, bool tryLoad=false) |
| ns and cname are in normalized form
|
bool | isResolved (int flags) |
bool | isPublic (int mod) |
bool | isPrivate (int mod) |
bool | isProtected (int mod) |
bool | isStatic (int mod) |
int | staticMask (int flags) |
int | accessMask (int flags) |
int | parameterMask (int flags) |
bool | isIn (int flags) |
bool | isOut (int flags) |
bool | checkMemberAccess (int regflags, int hasflags) |
RString | flagsToString (int flags, ClazzInfoExtFlags dummy, int formatFlags=TpFtAcdkType) |
RString | flagsToString (int flags, FieldInfoExtFlags dummy, int formatFlags=TpFtAcdkType) |
RString | flagsToString (int flags, MethodInfoExtFlags dummy, int formatFlags=TpFtAcdkType) |
RString | flagsToString (int flags, MethodArgInfoExtFlags dummy, int formatFlags=TpFtAcdkType) |
RString | flagsToString (int flags, ClazzInvokeInfo dummy, int formatFlags=TpFtAcdkType) |
char * | strdup (const char *n) |
void | strdel (const char *&n) |
void | registerMetaInfoListener (MetaInfoChangeListener *listner) |
void | unRegisterMetaInfoListener (MetaInfoChangeListener *listner) |
Public Attributes |
int | flags |
void * | attributeRes |
Member Function Documentation
int acdk::lang::dmi::MetaInfo::accessMask |
( |
int |
flags |
) |
[inline, static] |
|
int acdk::lang::dmi::MetaInfo::calcHashValue |
( |
int |
flags |
) |
[static] |
|
bool acdk::lang::dmi::MetaInfo::checkMemberAccess |
( |
int |
regflags, |
|
|
int |
hasflags |
|
) |
[inline, static] |
|
void acdk::lang::dmi::MetaInfo::copyFrom |
( |
const MetaInfo * |
source, |
|
|
bool |
deep |
|
) |
|
|
void acdk::lang::dmi::MetaInfo::dispose |
( |
|
) |
|
|
const MetaInfo* acdk::lang::dmi::MetaInfo::findMetaInfo |
( |
IN(RString) |
name, |
|
|
int |
flags = 0, |
|
|
bool |
tryLoad = false |
|
) |
[static] |
|
|
Search in UnitInfo, EnumInfo and ClazzInfo.
- Parameters:
-
flags | select |
tryLoad | if true, use classLoader to find given type. Default is false |
- Returns:
- 0 if non found
|
const MetaInfo* acdk::lang::dmi::MetaInfo::findMetaInfoNormalized |
( |
IN(RString) |
name, |
|
|
int |
flags = 0, |
|
|
bool |
tryLoad = false |
|
) |
[static] |
|
|
ns and cname are in normalized form
|
|
ns and cname are in normalized form
|
RString acdk::lang::dmi::MetaInfo::flagsToString |
( |
int |
flags, |
|
|
ClazzInvokeInfo |
dummy, |
|
|
int |
formatFlags = TpFtAcdkType |
|
) |
[static] |
|
RString acdk::lang::dmi::MetaInfo::flagsToString |
( |
int |
flags, |
|
|
MethodInfoExtFlags |
dummy, |
|
|
int |
formatFlags = TpFtAcdkType |
|
) |
[static] |
|
RString acdk::lang::dmi::MetaInfo::flagsToString |
( |
int |
flags, |
|
|
FieldInfoExtFlags |
dummy, |
|
|
int |
formatFlags = TpFtAcdkType |
|
) |
[static] |
|
RString acdk::lang::dmi::MetaInfo::flagsToString |
( |
int |
flags, |
|
|
ClazzInfoExtFlags |
dummy, |
|
|
int |
formatFlags = TpFtAcdkType |
|
) |
[static] |
|
void acdk::lang::dmi::MetaInfo::flagsToTypeDecl |
( |
StringBuffer & |
sb, |
|
|
int |
flags, |
|
|
int |
renderFlags |
|
) |
[static] |
|
|
render as ACDK source
- Parameters:
-
sb | where to append |
flags | method flags |
|
bool acdk::lang::dmi::MetaInfo::isClazzInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isDelete |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isEnumInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isEnumValInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isFieldInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isIn |
( |
int |
flags |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isMethodArgInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isMethodInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isOut |
( |
int |
flags |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isPrivate |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isPrivate |
( |
int |
mod |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isProtected |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isProtected |
( |
int |
mod |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isPublic |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isPublic |
( |
int |
mod |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isResolved |
( |
int |
flags |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isStatic |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isStatic |
( |
int |
mod |
) |
[inline, static] |
|
bool acdk::lang::dmi::MetaInfo::isSuperInfo |
( |
|
) |
const [inline] |
|
bool acdk::lang::dmi::MetaInfo::isUnitInfo |
( |
|
) |
const [inline] |
|
void acdk::lang::dmi::MetaInfo::onDisposeMetaInfo |
( |
|
) |
|
|
void acdk::lang::dmi::MetaInfo::onNewMetaInfo |
( |
|
) |
|
|
void acdk::lang::dmi::MetaInfo::onReplaceMetaInfo |
( |
MetaInfo * |
newMetaInfo |
) |
|
|
void acdk::lang::dmi::MetaInfo::onResolvedMetaInfo |
( |
|
) |
|
|
void acdk::lang::dmi::MetaInfo::onUnregisterMetaInfo |
( |
|
) |
|
|
int acdk::lang::dmi::MetaInfo::parameterMask |
( |
int |
flags |
) |
[inline, static] |
|
void acdk::lang::dmi::MetaInfo::setString |
( |
const char *& |
target, |
|
|
const char * |
n |
|
) |
|
|
int acdk::lang::dmi::MetaInfo::staticMask |
( |
int |
flags |
) |
[inline, static] |
|
void acdk::lang::dmi::MetaInfo::strdel |
( |
const char *& |
n |
) |
[static] |
|
char* acdk::lang::dmi::MetaInfo::strdup |
( |
const char * |
n |
) |
[static] |
|
RString acdk::lang::dmi::MetaInfo::toString |
( |
int |
format = TpFtFormatStandard |
) |
const |
|
|
uses the toTypeString function of ClazzInfo, etc.
|
Member Data Documentation
|
- See also:
- acdk::lang::dmi::AttributesRes
|
|
|