SOFA API  8ac0ab06
Open source framework for multi-physics simuation
sofa::core::objectmodel::TagSet Class Reference

#include <TagSet.h>

Public Member Functions

 TagSet ()=default
 
 TagSet (const Tag &t)
 Automatic conversion between a tag and a tagset composed of this tag. More...
 
bool includes (const Tag &t) const
 Returns true if this TagSet contains specified tag. More...
 
bool includes (const TagSet &t) const
 Returns true if this TagSet contains all specified tags. More...
 
iterator find (const Tag &_Keyval)
 
const_iterator find (const Tag &_Keyval) const
 
bool empty () const noexcept
 
std::size_t size () const noexcept
 
std::size_t count (const Tag &_Keyval) const
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rend () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
std::pair< iterator, boolinsert (const value_type &_Val)
 
iterator erase (const_iterator _Where) noexcept
 
iterator erase (const_iterator _First, const_iterator _Last) noexcept
 
std::size_t erase (const Tag &_Keyval) noexcept
 
void clear () noexcept
 

Constructor details

◆ TagSet() [1/2]

sofa::core::objectmodel::TagSet::TagSet ( )
default

◆ TagSet() [2/2]

sofa::core::objectmodel::TagSet::TagSet ( const Tag t)

Automatic conversion between a tag and a tagset composed of this tag.

Function details

◆ begin() [1/2]

TagSet::const_iterator sofa::core::objectmodel::TagSet::begin ( ) const
noexcept

◆ begin() [2/2]

TagSet::iterator sofa::core::objectmodel::TagSet::begin ( )
noexcept

◆ cbegin()

TagSet::const_iterator sofa::core::objectmodel::TagSet::cbegin ( ) const
noexcept

◆ cend()

TagSet::const_iterator sofa::core::objectmodel::TagSet::cend ( ) const
noexcept

◆ clear()

void sofa::core::objectmodel::TagSet::clear ( )
noexcept

◆ count()

std::size_t sofa::core::objectmodel::TagSet::count ( const Tag _Keyval) const

◆ crbegin()

TagSet::const_reverse_iterator sofa::core::objectmodel::TagSet::crbegin ( ) const
noexcept

◆ crend()

TagSet::const_reverse_iterator sofa::core::objectmodel::TagSet::crend ( ) const
noexcept

◆ empty()

bool sofa::core::objectmodel::TagSet::empty ( ) const
noexcept

◆ end() [1/2]

TagSet::const_iterator sofa::core::objectmodel::TagSet::end ( ) const
noexcept

◆ end() [2/2]

TagSet::iterator sofa::core::objectmodel::TagSet::end ( )
noexcept

◆ erase() [1/3]

std::size_t sofa::core::objectmodel::TagSet::erase ( const Tag _Keyval)
noexcept

◆ erase() [2/3]

TagSet::iterator sofa::core::objectmodel::TagSet::erase ( const_iterator  _First,
const_iterator  _Last 
)
noexcept

◆ erase() [3/3]

TagSet::iterator sofa::core::objectmodel::TagSet::erase ( const_iterator  _Where)
noexcept

◆ find() [1/2]

TagSet::iterator sofa::core::objectmodel::TagSet::find ( const Tag _Keyval)

◆ find() [2/2]

TagSet::const_iterator sofa::core::objectmodel::TagSet::find ( const Tag _Keyval) const

◆ includes() [1/2]

bool sofa::core::objectmodel::TagSet::includes ( const Tag t) const

Returns true if this TagSet contains specified tag.

◆ includes() [2/2]

bool sofa::core::objectmodel::TagSet::includes ( const TagSet t) const

Returns true if this TagSet contains all specified tags.

◆ insert()

std::pair< TagSet::iterator, bool > sofa::core::objectmodel::TagSet::insert ( const value_type _Val)

◆ rbegin() [1/2]

TagSet::const_reverse_iterator sofa::core::objectmodel::TagSet::rbegin ( ) const
noexcept

◆ rbegin() [2/2]

TagSet::reverse_iterator sofa::core::objectmodel::TagSet::rbegin ( )
noexcept

◆ rend() [1/2]

TagSet::const_reverse_iterator sofa::core::objectmodel::TagSet::rend ( ) const
noexcept

◆ rend() [2/2]

TagSet::reverse_iterator sofa::core::objectmodel::TagSet::rend ( )
noexcept

◆ size()

std::size_t sofa::core::objectmodel::TagSet::size ( ) const
noexcept