#include <classinfo.h>
Inheritance diagram for VM::ClassInfoIE:
Public Member Functions | |
ClassInfoIE (TypeID _tid=0) | |
ClassInfoIE (const ClassInfoIE &) | |
~ClassInfoIE () | |
Destructor: No-op. | |
ClassInfo * | ci () |
Cast to derived ClassInfo if TypeID>=0, NULL if TypeID<0. | |
const ClassInfo * | ci () const |
Const version of ci(). | |
TLString | CompleteName () const |
Get complete name if TypeID>=0 and string representation for <0. | |
Public Attributes | |
TypeID | class_tid |
Private Member Functions | |
void | operator= (const ClassInfoIE &) |
Do not use. |
This class is semi-C++-safe (for security reasons: you could otherwise assign a ClassInfo to a ClassInfoIE).
Definition at line 45 of file classinfo.h.
|
Create a (possibly internal) class info with passed TypeID. If the _tid is negative, no ClassInfo will be derived. Otherwise (_tid>=0), this is part of a (non-internal) ClassInfo object. Definition at line 59 of file classinfo.h. References class_tid, and VM::TypeID. |
|
Be VERY careful with the copy constructor. Use only for internal classes. Definition at line 38 of file classinfo.cc. |
|
Destructor: No-op.
Definition at line 64 of file classinfo.h. |
|
Const version of ci().
Definition at line 186 of file classinfo.h. |
|
Cast to derived ClassInfo if TypeID>=0, NULL if TypeID<0.
Definition at line 184 of file classinfo.h. Referenced by VM::VMLinker::_CheckBaseRecursion(), VM::VMLinker::_CheckNamespaceInfo_Recursive(), VM::VMLinker::_DoPropagateUseFlags(), and CompleteName(). |
|
Get complete name if TypeID>=0 and string representation for <0.
Reimplemented in VM::ClassInfo. Definition at line 25 of file classinfo.cc. References ci(), class_tid, and FastInt2String(). Referenced by VM::ClassInfo::DumpTree(). |
|
Do not use.
|
|
TypeID of this class; also stored in the mapping. Also set in the master tree. Definition at line 50 of file classinfo.h. Referenced by VM::VMLinker::_CheckNamespaceInfo_Recursive(), VM::VMLinker::_LinkFunction(), VM::AssemblerFile_Plaintext::_WriteSymbols_Recursive(), ClassInfoIE(), CompleteName(), and VM::AssemblerFile::ORD_TypeID2::ord(). |