2005/5/9

     
 

class ClazzInfo

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::dmi::ClazzInfo Class Reference

#include <ClazzInfo.h>

List of all members.


Detailed Description

contains meta information of a ACDK class API: ACDK

Author:
Roger Rene Kommer
Version:
Revision
1.61
Date:
Date
2005/04/18 14:22:27


Public Member Functions

int getInterfacesCount () const
int getFieldsCount () const
 return the number of fields declared by this class

int getMethodsCount () const
 return the number of methods (including constructors) declared by this class

int getHashValue () const
 get a hash value using namespace and name of this class

bool equalsName (IN(acdk::lang::RString) n) const
void dispose ()
 dispose this structure and owning Delete ClazzInfo if flags has MiDelete

ClazzInfoclone (bool deep=true)
 Make a dynamic clone of this structor.

jlong getSerialVersionUID () const
 get an id for this class, describing all fields and methods


Public Attributes

int flags
void * attributeRes
const char * name
 name of class

int nameHashCode
const char * ns
const NamedScopedMetaInfo_scopeParent
 namespace of class

const NamedScopedMetaInfo_nextScopeSibling
const ClazzInfotype
 type == this

const NamedScopedMetaInfo_firstChild
 list of methods, members (and later maybe nested types)

ClazzSuperInfo ** interfaces
 an 0 terminated array of super + interfaces

int _interfacesCount
 count of current super / interfaces don't access this value directly, but use the getIntefacesCount() method

ClazzFieldInfo ** fields
 all found fields

int _fieldsCount
 count of current declared fields don't access this field directly, but use the getFieldsCount() method

ClazzMethodInfo ** methods
 all found methods including Constructors

int _methodsCount
 count of current declared methods including constructors don't access this field directly but use the getMethodsCount() function

ObjectCreator creator
 the creator-functions

ArrayCreator array_creator
 function creates an Array instance of given class

ArrayArrayCreator array_array_creator
 function creates a 2 dimension Array instance of given class

ClassthisClass
 singelton for Class instance

jlong _serialVersionUID
 precompiled hashvalue for serialization dont access this value directly, but use the getSerialVersionUID() method

DynamicDispatchFunction dynamic_dispatch
 used to invoke dynamic methods not used if method provides dispatch

StandardDispatchFunction static_dispatch
 used to invoke static methods not used if method provides dispatch

int _collectableFields
 number of collectable Fields (aka acdk::lang::Object's) in this class dont use this value directly but use the getCollectableFieldsCount() method

ClazzInfouserInfo
 used for Array type

CastToInterfacePtrFunc _castToInterfacePtr
 used to cast a object to a interface pointer with correct vtable

ClazzInfo_next
 next in chain


Member Function Documentation

ClazzInfo* acdk::lang::dmi::ClazzInfo::clone bool  deep = true  ) 
 

Make a dynamic clone of this structor.

Parameters:
deep if true make also a clone of child structs

void acdk::lang::dmi::ClazzInfo::dispose  ) 
 

dispose this structure and owning Delete ClazzInfo if flags has MiDelete

bool acdk::lang::dmi::ClazzInfo::equalsName IN(acdk::lang::RString n  )  const [inline]
 

int acdk::lang::dmi::ClazzInfo::getFieldsCount  )  const [inline]
 

return the number of fields declared by this class

int acdk::lang::dmi::ClazzInfo::getHashValue  )  const
 

get a hash value using namespace and name of this class

int acdk::lang::dmi::ClazzInfo::getInterfacesCount  )  const [inline]
 

int acdk::lang::dmi::ClazzInfo::getMethodsCount  )  const [inline]
 

return the number of methods (including constructors) declared by this class

jlong acdk::lang::dmi::ClazzInfo::getSerialVersionUID  )  const [inline]
 

get an id for this class, describing all fields and methods


Member Data Documentation

CastToInterfacePtrFunc acdk::lang::dmi::ClazzInfo::_castToInterfacePtr
 

used to cast a object to a interface pointer with correct vtable

int acdk::lang::dmi::ClazzInfo::_collectableFields
 

number of collectable Fields (aka acdk::lang::Object's) in this class dont use this value directly but use the getCollectableFieldsCount() method

int acdk::lang::dmi::ClazzInfo::_fieldsCount
 

count of current declared fields don't access this field directly, but use the getFieldsCount() method

const NamedScopedMetaInfo* acdk::lang::dmi::ClazzInfo::_firstChild [mutable]
 

list of methods, members (and later maybe nested types)

int acdk::lang::dmi::ClazzInfo::_interfacesCount
 

count of current super / interfaces don't access this value directly, but use the getIntefacesCount() method

int acdk::lang::dmi::ClazzInfo::_methodsCount
 

count of current declared methods including constructors don't access this field directly but use the getMethodsCount() function

ClazzInfo* acdk::lang::dmi::ClazzInfo::_next [mutable]
 

next in chain

const NamedScopedMetaInfo* acdk::lang::dmi::ClazzInfo::_nextScopeSibling [mutable]
 

const NamedScopedMetaInfo* acdk::lang::dmi::ClazzInfo::_scopeParent [mutable]
 

namespace of class

jlong acdk::lang::dmi::ClazzInfo::_serialVersionUID
 

precompiled hashvalue for serialization dont access this value directly, but use the getSerialVersionUID() method

ArrayArrayCreator acdk::lang::dmi::ClazzInfo::array_array_creator
 

function creates a 2 dimension Array instance of given class

ArrayCreator acdk::lang::dmi::ClazzInfo::array_creator
 

function creates an Array instance of given class

void* acdk::lang::dmi::ClazzInfo::attributeRes
 

See also:
acdk::lang::dmi::AttributesRes

ObjectCreator acdk::lang::dmi::ClazzInfo::creator
 

the creator-functions

DynamicDispatchFunction acdk::lang::dmi::ClazzInfo::dynamic_dispatch
 

used to invoke dynamic methods not used if method provides dispatch

ClazzFieldInfo** acdk::lang::dmi::ClazzInfo::fields
 

all found fields

int acdk::lang::dmi::ClazzInfo::flags
 

See also:
acdk::lang::dmi::MetaInfoFlags aka flags

ClazzSuperInfo** acdk::lang::dmi::ClazzInfo::interfaces
 

an 0 terminated array of super + interfaces

ClazzMethodInfo** acdk::lang::dmi::ClazzInfo::methods
 

all found methods including Constructors

const char* acdk::lang::dmi::ClazzInfo::name
 

name of class

int acdk::lang::dmi::ClazzInfo::nameHashCode
 

const char* acdk::lang::dmi::ClazzInfo::ns
 

StandardDispatchFunction acdk::lang::dmi::ClazzInfo::static_dispatch
 

used to invoke static methods not used if method provides dispatch

Class* acdk::lang::dmi::ClazzInfo::thisClass
 

singelton for Class instance

const ClazzInfo* acdk::lang::dmi::ClazzInfo::type
 

type == this

ClazzInfo* acdk::lang::dmi::ClazzInfo::userInfo [mutable]
 

used for Array type