Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ClassMetadata Struct Reference

#include <rt_ClassMetadata.h>

List of all members.

Public Types

enum  {
  kIsNameInternedMask = 1 << 0,
  kAreConstantStringsInternedMask = 1 << 1
}
enum  init_enum {
  kIsNotInitialized = 0,
  kIsInitialized,
  kIsInitializing
}
enum  {
  kFlagsIsArrayMask = 1 << 0,
  kFlagsIsInterfaceMask = 1 << 1,
  kFlagsIsClassMask = 1 << 2,
  kFlagsIsPrimitiveMask = 1 << 3
}

Public Methods

 ClassMetadata ( char *_name, int _typeflag, int _vtblNum, void **_vtbl, int _modifiers, size_t _instanceSize, ClassMetadata *_superClass, int _siNum, ClassMetadata **_si, int _mNum, MethodMetadata *_m, int _fNum, FieldMetadata *_f, int _sNum, mdString *_s)
boolean_t isArrayRef ()
boolean_t isInterfaceRef ()
boolean_t isClassRef ()
boolean_t isPrimitive ()
boolean_t isNameInterned ()
boolean_t areStringsInterned ()
void dump (int indentLevel)
void verify ()
void intern ()
void internLiteralStrings ()
MethodMetadatafindMethod (char *name, char *descriptor)
JClassgetClass ()
char* className ()

Public Attributes

mdString name
short flags
short classID
JClassjclass
int typeFlag
int vtblNum
void** vtbl
int modifiers
init_enum isInitialized
size_t instanceSize
ClassMetadata* superClass
int superintfsNum
ClassMetadata** superintfs
int methodsNum
MethodMetadatamethods
int fieldsNum
FieldMetadatafields
int stringsNum
mdStringstrings

Static Public Methods

boolean_t isArrayRef (int flags)
boolean_t isInterfaceRef (int flags)
boolean_t isClassRef (int flags)
boolean_t isPrimitive (int flags)


Detailed Description


Member Enumeration Documentation

enum ClassMetadata::init_enum

Enumeration values:
kIsNotInitialized  
kIsInitialized  
kIsInitializing  

Enumeration Value Documentation

ClassMetadata::kAreConstantStringsInternedMask = 1 << 1

ClassMetadata::kFlagsIsArrayMask = 1 << 0

ClassMetadata::kFlagsIsClassMask = 1 << 2

ClassMetadata::kFlagsIsInterfaceMask = 1 << 1

ClassMetadata::kFlagsIsPrimitiveMask = 1 << 3

ClassMetadata::kIsNameInternedMask = 1 << 0


Constructor & Destructor Documentation

ClassMetadata::ClassMetadata ( char * _name,
int _typeflag,
int _vtblNum,
void ** _vtbl,
int _modifiers,
size_t _instanceSize,
ClassMetadata * _superClass,
int _siNum,
ClassMetadata ** _si,
int _mNum,
MethodMetadata * _m,
int _fNum,
FieldMetadata * _f,
int _sNum,
mdString * _s)


Member Function Documentation

boolean_t ClassMetadata::areStringsInterned ()

char * ClassMetadata::className ()

void ClassMetadata::dump ( int level)

MethodMetadata * ClassMetadata::findMethod ( char * methodName,
char * descriptor)

JClass * ClassMetadata::getClass ()

void ClassMetadata::intern ()

void ClassMetadata::internLiteralStrings ()

boolean_t ClassMetadata::isArrayRef ( int flags) [static]

boolean_t ClassMetadata::isArrayRef ()

boolean_t ClassMetadata::isClassRef ( int flags) [static]

boolean_t ClassMetadata::isClassRef ()

boolean_t ClassMetadata::isInterfaceRef ( int flags) [static]

boolean_t ClassMetadata::isInterfaceRef ()

boolean_t ClassMetadata::isNameInterned ()

boolean_t ClassMetadata::isPrimitive ( int flags) [static]

boolean_t ClassMetadata::isPrimitive ()

void ClassMetadata::verify ()


Member Data Documentation

short ClassMetadata::classID

FieldMetadata * ClassMetadata::fields

int ClassMetadata::fieldsNum

short ClassMetadata::flags

size_t ClassMetadata::instanceSize

init_enum ClassMetadata::isInitialized

JClass * ClassMetadata::jclass

MethodMetadata * ClassMetadata::methods

int ClassMetadata::methodsNum

int ClassMetadata::modifiers

mdString ClassMetadata::name

mdString * ClassMetadata::strings

int ClassMetadata::stringsNum

ClassMetadata * ClassMetadata::superClass

ClassMetadata ** ClassMetadata::superintfs

int ClassMetadata::superintfsNum

int ClassMetadata::typeFlag

void ** ClassMetadata::vtbl

int ClassMetadata::vtblNum


The documentation for this struct was generated from the following files:
Generated at Mon Jul 31 13:42:55 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000