MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::ChRunTimeType Class Reference

#include <CHrunTimeType.h>

Collaboration diagram for chrono::ChRunTimeType:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChRunTimeType (const char *acName, const ChRunTimeType *pkBaseRTTI)
bool operator== (const ChRunTimeType &other) const
const ChRunTimeTypeGetBaseRTTI () const
const char * GetName () const
bool IsExactlyClass (const ChRunTimeType *pkQueryRTTI) const
bool IsDerivedFromClass (const ChRunTimeType *pkQueryRTTI) const


Detailed Description

ChRunTimeType is a base class containing information about type of a generic C++ class.

Constructor & Destructor Documentation

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.


Member Function Documentation

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
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen