artefaktur
software engineer &        architecture

 
 
 
 

class MetaCompiler

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

acdk::tools::mc::MetaCompiler Class Reference

#include <MetaCompiler.h>

Inheritance diagram for acdk::tools::mc::MetaCompiler:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::tools::acdkmc::ClassModulCompiler List of all members.

Detailed Description

Compiles Meta info.

Todo:
externalMetaInfo is aways true. Cleanup code


Public Member Functions

 MetaCompiler ()
void registerAttribute (IN(RString) name, IN(RString) clsname)
 Register a given CodeAttribute by name.

RString getRegisteredAttribute (IN(RString) name)
RCodeAttribute readParseCodeAttribute (IN(RString) code)
RUnitInfo addUnit (IN(RString) unitdeclarator)
 adds a unit in the notation acdk_tools_aunit

void writeUnitDefinitions (IN(RPrintWriter) out)
bool hasUnit (IN(RString) unit)
RUnitInfo getUnit (IN(RString) unit)

Static Public Member Functions

RMetaCompiler getMetaCompiler ()
bool skipUntilToken (IN(RStreamTokenizer) in, int tk)
void skipStatement (IN(RStreamTokenizer) in)
void skipTypeDeclarator (IN(RStreamTokenizer) in)
void skipWS (IN(RStreamTokenizer) in)
void skipPreprocessorStatement (IN(RStreamTokenizer) in)
RString readComponentIndentifier (IN(RStreamTokenizer) in, RTokenStack tkstack=Nil)
RString readCodeAttributeCode (IN(RStreamTokenizer) in)
bool isAccessToken (IN(RString) str)
bool checkCompatibleType (RString str)

Public Attributes

acdk::util::RTreeMap _registeredAttributes
 RString name -> RString classname.

RArrayList _units
 contains RUnitInfo

REnumInfoArray _enums
 list of enum found

bool _unitDefsWritten
RString _baseOutname
RString _baseStupOutname
 only used to write stup code

bool baseMetaInfoHeaderWritten
bool dummyExportForExternalMIWritten

Static Public Attributes

bool externalMetaInfo
 generate meta info as external shared library always true

bool generateProxies

Constructor & Destructor Documentation

acdk::tools::mc::MetaCompiler::MetaCompiler  ) 
 


Member Function Documentation

RUnitInfo acdk::tools::mc::MetaCompiler::addUnit IN(RString unitdeclarator  ) 
 

adds a unit in the notation acdk_tools_aunit

bool acdk::tools::mc::MetaCompiler::checkCompatibleType RString  str  )  [static]
 

RMetaCompiler acdk::tools::mc::MetaCompiler::getMetaCompiler  )  [static]
 

RString acdk::tools::mc::MetaCompiler::getRegisteredAttribute IN(RString name  ) 
 

RUnitInfo acdk::tools::mc::MetaCompiler::getUnit IN(RString unit  ) 
 

bool acdk::tools::mc::MetaCompiler::hasUnit IN(RString unit  ) 
 

bool acdk::tools::mc::MetaCompiler::isAccessToken IN(RString str  )  [static]
 

RString acdk::tools::mc::MetaCompiler::readCodeAttributeCode IN(RStreamTokenizer in  )  [static]
 

RString acdk::tools::mc::MetaCompiler::readComponentIndentifier IN(RStreamTokenizer in,
RTokenStack  tkstack = Nil
[static]
 

RCodeAttribute acdk::tools::mc::MetaCompiler::readParseCodeAttribute IN(RString code  ) 
 

void acdk::tools::mc::MetaCompiler::registerAttribute IN(RString name,
IN(RString clsname
 

Register a given CodeAttribute by name.

void acdk::tools::mc::MetaCompiler::skipPreprocessorStatement IN(RStreamTokenizer in  )  [static]
 

void acdk::tools::mc::MetaCompiler::skipStatement IN(RStreamTokenizer in  )  [static]
 

void acdk::tools::mc::MetaCompiler::skipTypeDeclarator IN(RStreamTokenizer in  )  [static]
 

bool acdk::tools::mc::MetaCompiler::skipUntilToken IN(RStreamTokenizer in,
int  tk
[static]
 

void acdk::tools::mc::MetaCompiler::skipWS IN(RStreamTokenizer in  )  [static]
 

void acdk::tools::mc::MetaCompiler::writeUnitDefinitions IN(RPrintWriter out  ) 
 


Member Data Documentation

RString acdk::tools::mc::MetaCompiler::_baseOutname
 

RString acdk::tools::mc::MetaCompiler::_baseStupOutname
 

only used to write stup code

REnumInfoArray acdk::tools::mc::MetaCompiler::_enums
 

list of enum found

acdk::util::RTreeMap acdk::tools::mc::MetaCompiler::_registeredAttributes
 

RString name -> RString classname.

bool acdk::tools::mc::MetaCompiler::_unitDefsWritten
 

RArrayList acdk::tools::mc::MetaCompiler::_units
 

contains RUnitInfo

bool acdk::tools::mc::MetaCompiler::baseMetaInfoHeaderWritten
 

bool acdk::tools::mc::MetaCompiler::dummyExportForExternalMIWritten
 

bool acdk::tools::mc::MetaCompiler::externalMetaInfo [static]
 

generate meta info as external shared library always true

bool acdk::tools::mc::MetaCompiler::generateProxies [static]
 

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