|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHrunTimeType.h>

Public Member Functions | |
| ChRunTimeType (const char *acName, const ChRunTimeType *pkBaseRTTI) | |
| bool | operator== (const ChRunTimeType &other) const |
| const ChRunTimeType * | GetBaseRTTI () const |
| const char * | GetName () const |
| bool | IsExactlyClass (const ChRunTimeType *pkQueryRTTI) const |
| bool | IsDerivedFromClass (const ChRunTimeType *pkQueryRTTI) const |
| chrono::ChRunTimeType::ChRunTimeType | ( | const char * | acName, | |
| const ChRunTimeType * | pkBaseRTTI | |||
| ) |
Build the RTTI infos given the name ID of this class and the base class, if any.
| const ChRunTimeType* chrono::ChRunTimeType::GetBaseRTTI | ( | ) | const |
Gets the run-time type information of the parent class.
| const char* chrono::ChRunTimeType::GetName | ( | ) | const |
Get the name ID of the class, at run-time.
| bool chrono::ChRunTimeType::IsExactlyClass | ( | const ChRunTimeType * | pkQueryRTTI | ) | const |
Tells if this type is exactly the same of another.
| bool chrono::ChRunTimeType::IsDerivedFromClass | ( | const ChRunTimeType * | pkQueryRTTI | ) | const |
Tells if this type is derived from some other type Note: for the double inheritance, only the 1st parent tree is scanned.
CHRONO::ENGINE