2005/5/9

     
 

class EnumInfo

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

acdk::tools::mc::EnumInfo Class Reference

#include <EnumInfo.h>

Inheritance diagram for acdk::tools::mc::EnumInfo:

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

 EnumInfo (IN(RModuleInfo) module, IN(RArrayList) thenamespace, IN(RArrayList) usings, IN(RClassInfo) cls=Nil)
RString getMetaInfoCIdentifier ()
 Returns the identifier to the dmi::ClazzInfo, dmi::MethodInfo/etc.

bool parse (IN(RStreamTokenizer) in)
bool detectEnd (int tk, IN(RStreamTokenizer) in)
REnumInfoValue getValue (IN(RString) str)
bool resolveStringValues ()
 called internally after parse to resolve string values

void writeEnumInfo (IN(RPrintWriter) out)

Public Attributes

RModuleInfo _module
RArrayList _namespace
RArrayList _usings
RClassInfo _class
 if inside a class, this is the ClassInfo which owns the enum

REnumInfoValueArray _values
bool _isDefined
 wether enum is only declared (no values) or defined (with values)

bool hasMetinfDef

Constructor & Destructor Documentation

acdk::tools::mc::EnumInfo::EnumInfo IN(RModuleInfo module,
IN(RArrayList thenamespace,
IN(RArrayList usings,
IN(RClassInfo cls = Nil
 


Member Function Documentation

bool acdk::tools::mc::EnumInfo::detectEnd int  tk,
IN(RStreamTokenizer in
 

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

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

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

REnumInfoValue acdk::tools::mc::EnumInfo::getValue IN(RString str  ) 
 

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

bool acdk::tools::mc::EnumInfo::resolveStringValues  ) 
 

called internally after parse to resolve string values

void acdk::tools::mc::EnumInfo::writeEnumInfo IN(RPrintWriter out  ) 
 


Member Data Documentation

RClassInfo acdk::tools::mc::EnumInfo::_class
 

if inside a class, this is the ClassInfo which owns the enum

bool acdk::tools::mc::EnumInfo::_isDefined
 

wether enum is only declared (no values) or defined (with values)

RModuleInfo acdk::tools::mc::EnumInfo::_module
 

RArrayList acdk::tools::mc::EnumInfo::_namespace
 

RArrayList acdk::tools::mc::EnumInfo::_usings
 

REnumInfoValueArray acdk::tools::mc::EnumInfo::_values
 

bool acdk::tools::mc::EnumInfo::hasMetinfDef