Choreonoid  1.8
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
cnoid::DataMapBase Class Reference

#include <DataMap.h>

Inheritance diagram for cnoid::DataMapBase:
cnoid::DataMap< ElementType, Allocator > cnoid::DataMap< double > cnoid::BodyState

Public Member Functions

virtual ~DataMapBase ()
 
int getDynamicID (const std::string &name)
 
const std::string & getDynamicIDname (int id)
 

Static Public Attributes

static const int MIN_DYNAMIC_ID = 10000
 

Protected Member Functions

virtual std::map< std::string, int > & nameToIdMap ()
 
virtual std::map< int, std::string > & idToNameMap ()
 
virtual int nextDynamicId ()
 

Constructor & Destructor Documentation

◆ ~DataMapBase()

DataMapBase::~DataMapBase ( )
virtual

Member Function Documentation

◆ getDynamicID()

int DataMapBase::getDynamicID ( const std::string &  name)

◆ getDynamicIDname()

const std::string & DataMapBase::getDynamicIDname ( int  id)

◆ idToNameMap()

std::map< int, std::string > & DataMapBase::idToNameMap ( )
protectedvirtual

Reimplemented in cnoid::BodyState.

◆ nameToIdMap()

std::map< std::string, int > & DataMapBase::nameToIdMap ( )
protectedvirtual

Reimplemented in cnoid::BodyState.

◆ nextDynamicId()

int DataMapBase::nextDynamicId ( )
protectedvirtual

Reimplemented in cnoid::BodyState.

Member Data Documentation

◆ MIN_DYNAMIC_ID

const int cnoid::DataMapBase::MIN_DYNAMIC_ID = 10000
static

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