artefaktur
software engineer &        architecture

 
 
 
 

class CodeInfo

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

acdk::tools::mc::CodeInfo Class Reference

#include <CodeInfo.h>

Inheritance diagram for acdk::tools::mc::CodeInfo:

acdk::tools::mc::TypeScope acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::tools::mc::ArgumentInfo acdk::tools::mc::ClassInfo acdk::tools::mc::EnumInfo acdk::tools::mc::FieldInfo acdk::tools::mc::MethodInfo acdk::tools::mc::ModuleInfo acdk::tools::mc::SuperInfo acdk::tools::mc::UnitInfo List of all members.

Public Member Functions

 CodeInfo (int fl, IN(RString) nam, IN(RTypeScope) parent=Nil)
void addCodeAttribute (IN(RCodeAttribute) ca)
 will be evaluated by generation time

RCodeAttributeArray getCodeAttributes ()
RMcConfigAttribute getMcConfigAttribute ()
virtual bool generateMetaInfo (bool defaultValue)
void addCodeAttributes (IN(RCodeAttributeArray) ca)
RCodeAttribute getCodeAttribute (IN(RString) clsname)
void addCode (IN(RString) code, CodeWhere where)
RCodeInsertionArray getCode ()
void writeCode (IN(::acdk::io::RPrintWriter) out, CodeWhere where)
virtual RString getMetaInfoCIdentifier ()=0
 Returns the identifier to the dmi::ClazzInfo, dmi::MethodInfo/etc.

RString getNamespace ()
 returns the namespace part of name

RString getBaseName ()
 returns the basse name (without namespace) of name

RString getSuperName ()
 returns the super qualified name using ACDK_FQ_SUPER_QUALIFIER macro

bool invokeCodeAttributes ()
RString getDmiName ()
RString getDispatchSignature (bool isStatic)
 return the string of signature of this method/member/class


Public Attributes

int flags
RString name
 must be legal identifier

RString dmiName
 name of Metainfo used to registed if Nil name will be used

acdk::cfgscript::RProps _props
char _genCode
 should code be generated 0 -> unspec -1 -> don't generate 1 -> generate

RMcConfigAttribute _mcconfig
int _localMcFlags

Constructor & Destructor Documentation

acdk::tools::mc::CodeInfo::CodeInfo int  fl,
IN(RString nam,
IN(RTypeScope parent = Nil
[inline]
 


Member Function Documentation

void acdk::tools::mc::CodeInfo::addCode IN(RString code,
CodeWhere  where
 

void acdk::tools::mc::CodeInfo::addCodeAttribute IN(RCodeAttribute ca  ) 
 

will be evaluated by generation time

void acdk::tools::mc::CodeInfo::addCodeAttributes IN(RCodeAttributeArray ca  )  [inline]
 

virtual bool acdk::tools::mc::CodeInfo::generateMetaInfo bool  defaultValue  )  [inline, virtual]
 

Reimplemented in acdk::tools::mc::FieldInfo, and acdk::tools::mc::MethodInfo.

RString acdk::tools::mc::CodeInfo::getBaseName  ) 
 

returns the basse name (without namespace) of name

RCodeInsertionArray acdk::tools::mc::CodeInfo::getCode  )  [inline]
 

RCodeAttribute acdk::tools::mc::CodeInfo::getCodeAttribute IN(RString clsname  ) 
 

RCodeAttributeArray acdk::tools::mc::CodeInfo::getCodeAttributes  )  [inline]
 

RString acdk::tools::mc::CodeInfo::getDispatchSignature bool  isStatic  ) 
 

return the string of signature of this method/member/class

RString acdk::tools::mc::CodeInfo::getDmiName  )  [inline]
 

RMcConfigAttribute acdk::tools::mc::CodeInfo::getMcConfigAttribute  )  [inline]
 

virtual RString acdk::tools::mc::CodeInfo::getMetaInfoCIdentifier  )  [pure virtual]
 

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

Implemented in acdk::tools::mc::ArgumentInfo, acdk::tools::mc::ClassInfo, acdk::tools::mc::EnumInfo, acdk::tools::mc::FieldInfo, acdk::tools::mc::MethodInfo, acdk::tools::mc::ModuleInfo, acdk::tools::mc::SuperInfo, and acdk::tools::mc::UnitInfo.

RString acdk::tools::mc::CodeInfo::getNamespace  ) 
 

returns the namespace part of name

RString acdk::tools::mc::CodeInfo::getSuperName  ) 
 

returns the super qualified name using ACDK_FQ_SUPER_QUALIFIER macro

bool acdk::tools::mc::CodeInfo::invokeCodeAttributes  ) 
 

Reimplemented in acdk::tools::mc::ModuleInfo.

void acdk::tools::mc::CodeInfo::writeCode IN(::acdk::io::RPrintWriter out,
CodeWhere  where
 


Member Data Documentation

char acdk::tools::mc::CodeInfo::_genCode
 

should code be generated 0 -> unspec -1 -> don't generate 1 -> generate

int acdk::tools::mc::CodeInfo::_localMcFlags
 

RMcConfigAttribute acdk::tools::mc::CodeInfo::_mcconfig
 

acdk::cfgscript::RProps acdk::tools::mc::CodeInfo::_props
 

RString acdk::tools::mc::CodeInfo::dmiName
 

name of Metainfo used to registed if Nil name will be used

int acdk::tools::mc::CodeInfo::flags
 

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

RString acdk::tools::mc::CodeInfo::name
 

must be legal identifier

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