| Puma Reference Manual | Puma: Puma::CT_DynamicCast Class Reference |
#include <Puma/CTree.h>

Example:
dynamic_cast<int>(a)
Public Member Functions | |
| CT_DynamicCast (CTree *cst, CTree *o, CTree *t, CTree *c, CTree *e) | |
| Constructor. | |
| const char * | NodeName () const |
| Get the name of the node. | |
Static Public Member Functions | |
| static const char * | NodeId () |
| Get the identifier for this node type. | |
| Puma::CT_DynamicCast::CT_DynamicCast | ( | CTree * | cst, | |
| CTree * | o, | |||
| CTree * | t, | |||
| CTree * | c, | |||
| CTree * | e | |||
| ) | [inline] |
Constructor.
| cst | The cast operator, i.e. 'dynamic_cast'. | |
| o | Left arrow bracket of the type name. | |
| t | The type to cast to. | |
| c | Right array bracket of the type name. | |
| e | The expression to cast. |
| static const char* Puma::CT_DynamicCast::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
Reimplemented from Puma::CT_StaticCast.
| const char* Puma::CT_DynamicCast::NodeName | ( | ) | const [inline, virtual] |