Choreonoid  1.8
Public Types | Public Member Functions | List of all members
cnoid::DataMap< ElementType, Allocator > Class Template Reference

#include <DataMap.h>

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

Public Types

typedef std::vector< ElementType, Allocator > Data
 

Public Member Functions

 DataMap ()
 
 DataMap (const DataMap &org)
 
DataMapoperator= (const DataMap &rhs)
 
Datadata (int id)
 
const Datadata (int id) const
 
- Public Member Functions inherited from cnoid::DataMapBase
virtual ~DataMapBase ()
 
int getDynamicID (const std::string &name)
 
const std::string & getDynamicIDname (int id)
 

Additional Inherited Members

- Static Public Attributes inherited from cnoid::DataMapBase
static const int MIN_DYNAMIC_ID = 10000
 
- Protected Member Functions inherited from cnoid::DataMapBase
virtual std::map< std::string, int > & nameToIdMap ()
 
virtual std::map< int, std::string > & idToNameMap ()
 
virtual int nextDynamicId ()
 

Member Typedef Documentation

◆ Data

template<class ElementType = double, class Allocator = std::allocator<ElementType>>
typedef std::vector<ElementType, Allocator> cnoid::DataMap< ElementType, Allocator >::Data

Constructor & Destructor Documentation

◆ DataMap() [1/2]

template<class ElementType = double, class Allocator = std::allocator<ElementType>>
cnoid::DataMap< ElementType, Allocator >::DataMap ( )
inline

◆ DataMap() [2/2]

template<class ElementType = double, class Allocator = std::allocator<ElementType>>
cnoid::DataMap< ElementType, Allocator >::DataMap ( const DataMap< ElementType, Allocator > &  org)
inline

Member Function Documentation

◆ data() [1/2]

template<class ElementType = double, class Allocator = std::allocator<ElementType>>
Data& cnoid::DataMap< ElementType, Allocator >::data ( int  id)
inline

◆ data() [2/2]

template<class ElementType = double, class Allocator = std::allocator<ElementType>>
const Data& cnoid::DataMap< ElementType, Allocator >::data ( int  id) const
inline

◆ operator=()

template<class ElementType = double, class Allocator = std::allocator<ElementType>>
DataMap& cnoid::DataMap< ElementType, Allocator >::operator= ( const DataMap< ElementType, Allocator > &  rhs)
inline

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