RAD Studio |  |

Run-time Type Identification (RTTI)
Collapse All

This section contains Run-time Type Identification (RTTI) topics.

Topics

Name | Description
Runtime Type Identification (RTTI) Overview | Runtime type identification (RTTI) lets you write portable code that can determine the actual type of a data object at runtime even when the code has access only to a pointer or reference to that object. This makes it possible, for example, to convert a pointer to a virtual base class into a pointer to the derived type of the actual object. Use the dynamic_cast operator to make runtime casts. The RTTI mechanism also lets you check whether an object is of some particular type and whether two objects are of the same type. You can do this with typeid... more
The Typeid Operator | This section contains Typeid Operator topics.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!