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

#include <TagSet.h>

Inheritance diagram for sofa::core::objectmodel::TagSet:

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...
 

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

◆ 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.