#include <defclass.h>
Inheritance diagram for cbl::codetree::def::TClassDef:
Public Types |
|
typedef std::bitset< 5 > | TStyles |
typedef std::deque< symbols::TSymbol * > | TSymbolList |
typedef std::map< const symbols::TSymbol *, TAccess > |
TAccessList |
typedef std::map< TClassDef *, TObjectInfo > |
TObjectOffsets |
typedef std::deque< TClassDef * > | TClassDefList |
typedef TClassDefList | TParentList |
enum | TAccess { acUnknown, acPublic, acProtected, acPrivate } |
enum |
TStyle { csAbstract, csFinal, csVirtual, csGUID, csIndependent } |
enum | TVarStyle { vsMutable, vsClass } |
Public Methods |
|
TClassDef (const TClassDef &) | |
std::string | name () const |
virtual unsigned | size () const |
virtual bool | isComplete () const |
virtual void | isComplete (bool) |
void | styles (const TStyles &) |
const TStyles & | styles () const |
void | setStyle (TStyle, bool state) |
bool | getStyle (TStyle) const |
const TClassDefList & | parents () const |
void | addParent (TAccess AAccess, TClassDef *AParent, bool AVirtual=false) |
bool | isParentOf (const TClassDef *) const |
unsigned | offsetOf (const TClassDef *) const |
const scopes::TScope * | scope () const |
void | addMember (symbols::TSymbol *ASymbol, TAccess AAccess, swl::IErrorMgr &) |
void | importMember (symbols::TSymbol *ASymbol, TAccess AAccess, swl::IErrorMgr &) |
TAccess | accessOf (const symbols::TSymbol *ASymbol) const |
TAccess | accessOf (const TClassDef *) const |
bool | knows (const symbols::TSymbol *) const |
const TSymbolList & | friends () const |
void | friends (const TSymbolList &AFriends) |
void | addFriend (symbols::TSymbol *AFriend) |
bool | isFriend (const symbols::TSymbol *ASymbol) const |
void | guid (const std::string &) |
std::string | guid () const |
virtual void | accept (TDefVisitor &) |
virtual TClassDef * | clone () const |
Protected Methods |
|
TClassDef (symbols::TModuleSym *AOwner, scopes::TScope *AParentScope) | |
Friends |
|
class | symbols::TModuleSym |
|
Definition at line 62 of file defclass.h. |
|
Definition at line 64 of file defclass.h. |
|
Definition at line 63 of file defclass.h. |
|
Definition at line 65 of file defclass.h. |
|
Definition at line 54 of file defclass.h. |
|
Definition at line 61 of file defclass.h. |
|
Definition at line 45 of file defclass.h. 00045 { 00046 acUnknown, acPublic, acProtected, acPrivate 00047 }; |
|
Definition at line 50 of file defclass.h. 00050 { 00051 csAbstract, csFinal, csVirtual, csGUID, csIndependent 00052 }; |
|
Definition at line 57 of file defclass.h. |
|
|
|
Implements cbl::codetree::def::TDef. |
|
|
|
|
|
|
Implements cbl::codetree::def::TDef. |
|
|
|
|
|
|
|
Reimplemented from cbl::codetree::def::TDef. |
|
Reimplemented from cbl::codetree::def::TDef. |
|
|
|
|
|
|
|
|
|
Implements cbl::codetree::def::TDef. |
|
|
|
Definition at line 83 of file defclass.h. |