artefaktur
software engineer &        architecture

 
 
 
 

class ClassInfo

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

acdk::tools::mc::ClassInfo Class Reference

#include <ClassInfo.h>

Inheritance diagram for acdk::tools::mc::ClassInfo:

acdk::tools::mc::CodeInfo acdk::tools::mc::TypeScope acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 ClassInfo (IN(RModuleInfo) module, IN(RArrayList) thenamespace, IN(RArrayList) usings, bool isclass, int flags)
virtual RString getMetaInfoCIdentifier ()
 Returns the identifier to the dmi::ClazzInfo, dmi::MethodInfo/etc.

bool parse (IN(RStreamTokenizer) in)
 return false if class is only predeclaraed, but defined

bool parseHeader (IN(RStreamTokenizer) in)
 return false if class is only predeclaraed, but defined

bool detectField (IN(RStreamTokenizer) in)
void dump (IN(RPrintWriter) out, IN(RString) ind)
bool invokeCodeAttributes (IN(RModuleInfo) cm)
void writeMIH (RPrintWriter out, IN(::acdk::io::RPrintWriter) stubout, bool inheader)
void writeFieldInfo (IN(RPrintWriter) out)
void writeMethodInfo (IN(RPrintWriter) out)
void writeClassInfo (IN(RPrintWriter) out, IN(::acdk::io::RPrintWriter) stubout, bool with_fieldInfo)
void writeClazzInfo (IN(RPrintWriter) out, IN(::acdk::io::RPrintWriter) stubout, bool with_fieldInfo, bool stubOnly)
void writeExternalMetaInfoInitializer (IN(RPrintWriter) out, bool with_fieldInfo)
void writeInterfacesInfo (IN(RPrintWriter) out)
void writeOpenNamespace (IN(RPrintWriter) out)
void writeCloseNamespace (IN(RPrintWriter) out)
void generateDispatch (IN(RPrintWriter) out)
void generateDispatchMethods (IN(RPrintWriter) out)
void generateFieldAccessor (IN(RPrintWriter) out)
void generateDispatchBody (IN(RPrintWriter) out, bool statics)
void generateDispatchBodyEx (IN(RPrintWriter) out, bool statics)
void generateProxyMethods (IN(RPrintWriter) out)
RString getNamespaceAccessor ()
RString getJTypeName ()
RString getFlags ()
RString getClazzFlags ()
int skipStatementOrFunction (IN(RStreamTokenizer) in)
bool isCreateInstance (IN(RStreamTokenizer) in)
bool isInterface ()
bool isAbstract ()
bool checkContext (IN(RModuleInfo) module)
void setMethodAltnames ()
 set alternative names for polymorphic methods

void addStandardMethods ()
int getCollectableMemberCount ()
void sortMethodsAndFields ()
void detectAccessModifier (IN(RStreamTokenizer) in)
 checks the current token if it is public/private/etc.

void writeOpenModule (IN(RPrintWriter) out)
 ACDK2IDL group.

void writeCloseModule (IN(RPrintWriter) out)
void generateIdlIfInterface (IN(RPrintWriter) out)
void generateIdlIfStruct (IN(RPrintWriter) out)
bool needMethodInfo ()
bool needFieldInfo ()
void writeCodes (IN(RPrintWriter) out, CodeWhere where)
void writeClazzAndClassInitializer (IN(RPrintWriter) out)
RString getSerialVersionUID ()

Static Public Member Functions

RString getFlags (int flags)
bool isCompatibleType (int flags)

Public Attributes

RModuleInfo _module
RArrayList _namespace
RArrayList _usings
RString _publicDecl
 label to export from shared library (windows)

RArrayList _derivides
RArrayList _fields
RArrayList _orgMethods
 orginal method definition with possible default parameter initializer

RArrayList _methods
 methods no default parameter initializer

bool _hasCreator
bool _hasMetaInfo
bool _hasDmiProxy
bool _hasGcInterface
bool _hasScriptable
 generate standardDispatch() function

bool _hasScriptableEx
int _currentAccess
 the current access private/public/access

bool _detectedIncompatibleField
bool _isThrowable
bool _generateDmiProxy

Constructor & Destructor Documentation

acdk::tools::mc::ClassInfo::ClassInfo IN(RModuleInfo module,
IN(RArrayList thenamespace,
IN(RArrayList usings,
bool  isclass,
int  flags
 


Member Function Documentation

void acdk::tools::mc::ClassInfo::addStandardMethods  ) 
 

bool acdk::tools::mc::ClassInfo::checkContext IN(RModuleInfo module  ) 
 

void acdk::tools::mc::ClassInfo::detectAccessModifier IN(RStreamTokenizer in  ) 
 

checks the current token if it is public/private/etc.

bool acdk::tools::mc::ClassInfo::detectField IN(RStreamTokenizer in  ) 
 

void acdk::tools::mc::ClassInfo::dump IN(RPrintWriter out,
IN(RString ind
 

void acdk::tools::mc::ClassInfo::generateDispatch IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::generateDispatchBody IN(RPrintWriter out,
bool  statics
 

void acdk::tools::mc::ClassInfo::generateDispatchBodyEx IN(RPrintWriter out,
bool  statics
 

void acdk::tools::mc::ClassInfo::generateDispatchMethods IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::generateFieldAccessor IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::generateIdlIfInterface IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::generateIdlIfStruct IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::generateProxyMethods IN(RPrintWriter out  ) 
 

RString acdk::tools::mc::ClassInfo::getClazzFlags  )  [inline]
 

int acdk::tools::mc::ClassInfo::getCollectableMemberCount  ) 
 

RString acdk::tools::mc::ClassInfo::getFlags int  flags  )  [static]
 

RString acdk::tools::mc::ClassInfo::getFlags  )  [inline]
 

RString acdk::tools::mc::ClassInfo::getJTypeName  ) 
 

virtual RString acdk::tools::mc::ClassInfo::getMetaInfoCIdentifier  )  [virtual]
 

Returns the identifier to the dmi::ClazzInfo, dmi::MethodInfo/etc.

Implements acdk::tools::mc::CodeInfo.

RString acdk::tools::mc::ClassInfo::getNamespaceAccessor  ) 
 

RString acdk::tools::mc::ClassInfo::getSerialVersionUID  ) 
 

bool acdk::tools::mc::ClassInfo::invokeCodeAttributes IN(RModuleInfo cm  ) 
 

bool acdk::tools::mc::ClassInfo::isAbstract  )  [inline]
 

bool acdk::tools::mc::ClassInfo::isCompatibleType int  flags  )  [inline, static]
 

bool acdk::tools::mc::ClassInfo::isCreateInstance IN(RStreamTokenizer in  ) 
 

bool acdk::tools::mc::ClassInfo::isInterface  ) 
 

bool acdk::tools::mc::ClassInfo::needFieldInfo  )  [inline]
 

bool acdk::tools::mc::ClassInfo::needMethodInfo  )  [inline]
 

bool acdk::tools::mc::ClassInfo::parse IN(RStreamTokenizer in  ) 
 

return false if class is only predeclaraed, but defined

bool acdk::tools::mc::ClassInfo::parseHeader IN(RStreamTokenizer in  ) 
 

return false if class is only predeclaraed, but defined

void acdk::tools::mc::ClassInfo::setMethodAltnames  ) 
 

set alternative names for polymorphic methods

int acdk::tools::mc::ClassInfo::skipStatementOrFunction IN(RStreamTokenizer in  ) 
 

Returns:
last token

void acdk::tools::mc::ClassInfo::sortMethodsAndFields  ) 
 

void acdk::tools::mc::ClassInfo::writeClassInfo IN(RPrintWriter out,
IN(::acdk::io::RPrintWriter stubout,
bool  with_fieldInfo
 

void acdk::tools::mc::ClassInfo::writeClazzAndClassInitializer IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::writeClazzInfo IN(RPrintWriter out,
IN(::acdk::io::RPrintWriter stubout,
bool  with_fieldInfo,
bool  stubOnly
 

void acdk::tools::mc::ClassInfo::writeCloseModule IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::writeCloseNamespace IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::writeCodes IN(RPrintWriter out,
CodeWhere  where
 

void acdk::tools::mc::ClassInfo::writeExternalMetaInfoInitializer IN(RPrintWriter out,
bool  with_fieldInfo
 

void acdk::tools::mc::ClassInfo::writeFieldInfo IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::writeInterfacesInfo IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::writeMethodInfo IN(RPrintWriter out  ) 
 

void acdk::tools::mc::ClassInfo::writeMIH RPrintWriter  out,
IN(::acdk::io::RPrintWriter stubout,
bool  inheader
 

void acdk::tools::mc::ClassInfo::writeOpenModule IN(RPrintWriter out  ) 
 

ACDK2IDL group.

void acdk::tools::mc::ClassInfo::writeOpenNamespace IN(RPrintWriter out  ) 
 


Member Data Documentation

int acdk::tools::mc::ClassInfo::_currentAccess
 

the current access private/public/access

See also:
acdk::lang::dmi::MetaInfoFlags

RArrayList acdk::tools::mc::ClassInfo::_derivides
 

bool acdk::tools::mc::ClassInfo::_detectedIncompatibleField
 

RArrayList acdk::tools::mc::ClassInfo::_fields
 

bool acdk::tools::mc::ClassInfo::_generateDmiProxy
 

bool acdk::tools::mc::ClassInfo::_hasCreator
 

bool acdk::tools::mc::ClassInfo::_hasDmiProxy
 

bool acdk::tools::mc::ClassInfo::_hasGcInterface
 

bool acdk::tools::mc::ClassInfo::_hasMetaInfo
 

bool acdk::tools::mc::ClassInfo::_hasScriptable
 

generate standardDispatch() function

bool acdk::tools::mc::ClassInfo::_hasScriptableEx
 

bool acdk::tools::mc::ClassInfo::_isThrowable
 

RArrayList acdk::tools::mc::ClassInfo::_methods
 

methods no default parameter initializer

RModuleInfo acdk::tools::mc::ClassInfo::_module
 

RArrayList acdk::tools::mc::ClassInfo::_namespace
 

RArrayList acdk::tools::mc::ClassInfo::_orgMethods
 

orginal method definition with possible default parameter initializer

RString acdk::tools::mc::ClassInfo::_publicDecl
 

label to export from shared library (windows)

RArrayList acdk::tools::mc::ClassInfo::_usings
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer