Choreonoid  1.8
Public Member Functions | Protected Member Functions | List of all members
cnoid::HierarchicalClassRegistryBase Class Reference

#include <HierarchicalClassRegistry.h>

Inheritance diagram for cnoid::HierarchicalClassRegistryBase:
cnoid::HierarchicalClassRegistry< BaseClass > cnoid::HierarchicalClassRegistry< Item > cnoid::HierarchicalClassRegistry< MprStatement > cnoid::HierarchicalClassRegistry< ObjectBase > cnoid::HierarchicalClassRegistry< SgNode > cnoid::ItemClassRegistry cnoid::MprStatementClassRegistry cnoid::SceneNodeClassRegistry

Public Member Functions

 HierarchicalClassRegistryBase ()
 
 ~HierarchicalClassRegistryBase ()
 
int registerClassAsTypeInfo (const std::type_info &type, const std::type_info &superType)
 
int superClassId (int classId) const
 
int numRegisteredClasses () const
 

Protected Member Functions

int getClassId (const std::type_info &type, int unknownClassId=-1) const
 

Constructor & Destructor Documentation

◆ HierarchicalClassRegistryBase()

HierarchicalClassRegistryBase::HierarchicalClassRegistryBase ( )

◆ ~HierarchicalClassRegistryBase()

HierarchicalClassRegistryBase::~HierarchicalClassRegistryBase ( )

Member Function Documentation

◆ getClassId()

int HierarchicalClassRegistryBase::getClassId ( const std::type_info &  type,
int  unknownClassId = -1 
) const
protected

◆ numRegisteredClasses()

int HierarchicalClassRegistryBase::numRegisteredClasses ( ) const

◆ registerClassAsTypeInfo()

int HierarchicalClassRegistryBase::registerClassAsTypeInfo ( const std::type_info &  type,
const std::type_info &  superType 
)
Returns
The class ID of registered class

◆ superClassId()

int HierarchicalClassRegistryBase::superClassId ( int  classId) const

The documentation for this class was generated from the following files: