SOFA API  7352f41a
Open source framework for multi-physics simuation
sofa::helper::TagList Class Reference

Protected Attributes

type::vector< std::string > m_tagsList
 the list of the tag names. the Ids are the indices in the vector More...
 

Public Member Functions

 TagList ()=default
 
 TagList (type::vector< std::string > tagsList)
 
std::size_t getID (const std::string &name)
 
std::string getName (std::size_t id)
 

Attribute details

◆ m_tagsList

type::vector<std::string> sofa::helper::TagList::m_tagsList
protected

the list of the tag names. the Ids are the indices in the vector

Constructor details

◆ TagList() [1/2]

sofa::helper::TagList::TagList ( )
default

◆ TagList() [2/2]

sofa::helper::TagList::TagList ( type::vector< std::string >  tagsList)
inlineexplicit

Function details

◆ getID()

std::size_t sofa::helper::TagList::getID ( const std::string &  name)

◆ getName()

std::string sofa::helper::TagList::getName ( std::size_t  id)