#include <sexpress.hpp>
Collaboration diagram for IntelibTypeId:
The class is used to identify types of S-expressions at runtime. Each descender of SExpression declares a public static member of the IntelibTypeId type to be the identifier of the given type of S-expression. It is named TypeId. So SExpressionInt::TypeId identifies integer S-expressions, SExpressionCons::TypeId - dotted pairs etc.
Definition at line 113 of file sexpress.hpp.
Public Member Functions | |
IntelibTypeId () | |
The default constructor. | |
IntelibTypeId (const IntelibTypeId *previous) | |
This for inherits changeability from the base class. | |
IntelibTypeId (const IntelibTypeId *previous, bool a_changeable) | |
The most general constructor. | |
~IntelibTypeId () | |
The destructor. | |
const IntelibTypeId * | Prev () const |
Get the pointer to the superclass' identifier. | |
bool | IsSubtypeOf (const IntelibTypeId &op) const |
Searches the chain of supertypes. | |
bool | operator== (const IntelibTypeId &op) const |
Comparision. | |
bool | operator!= (const IntelibTypeId &op) const |
Comparision. | |
bool | IsChangeable () const |
Changeability. |
|
The default constructor. Only used for SExpression::TypeId Definition at line 120 of file sexpress.hpp. |
|
This for inherits changeability from the base class.
Definition at line 123 of file sexpress.hpp. |
|
The most general constructor.
Definition at line 126 of file sexpress.hpp. |
|
The destructor.
Definition at line 129 of file sexpress.hpp. |
|
Get the pointer to the superclass' identifier.
Definition at line 132 of file sexpress.hpp. |
|
Searches the chain of supertypes.
Referenced by SReference::DynamicCastGetPtr(). |
|
Comparision.
Definition at line 137 of file sexpress.hpp. |
|
Comparision.
Definition at line 140 of file sexpress.hpp. |
|
Changeability.
Definition at line 144 of file sexpress.hpp. Referenced by SExpression::IsChangeable(). |