Simbody
Public Member Functions

SimTK::EnumerationSet< T >::EnumerationSetRep Class Reference

This class is the internal implementation of EnumerationSet. More...

#include <Enumeration.h>

List of all members.

Public Member Functions

 EnumerationSetRep ()
 Create an empty EnumerationSet.
 EnumerationSetRep (const Enumeration< T > &value)
 Create an EnumerationSet which contains a single value.
 EnumerationSetRep (const EnumerationSetRep &set)
 Create an EnumerationSet which contains the same values as another set.
 ~EnumerationSetRep ()
int size () const
 Get the number of elements in this set.
bool contains (const Enumeration< T > &value) const
 Determine whether this set contains a particular value.
bool containsAll (const EnumerationSetRep &set) const
 Determine whether this set contains all of the values in another set.
bool containsAny (const EnumerationSetRep &set) const
 Determine wheter this set contains any value which is in another set.
bool operator== (const EnumerationSetRep &set) const
 Determine whether this set has identical contents to another one.
bool operator!= (const EnumerationSetRep &set) const
 Determine whether this set has identical contents to another one.
void clear ()
 Remove all elements from the set.
EnumerationSetRepoperator= (const EnumerationSetRep &set)
EnumerationSetRepoperator-= (const Enumeration< T > &value)
EnumerationSetRepoperator-= (const EnumerationSetRep &set)
EnumerationSetRepoperator|= (const EnumerationSetRep &set)
EnumerationSetRepoperator&= (const EnumerationSetRep &set)
EnumerationSetRepoperator^= (const EnumerationSetRep &set)
void invert () const

Detailed Description

template<class T>
class SimTK::EnumerationSet< T >::EnumerationSetRep

This class is the internal implementation of EnumerationSet.


Constructor & Destructor Documentation

template<class T>
SimTK::EnumerationSet< T >::EnumerationSetRep::EnumerationSetRep ( ) [inline]

Create an empty EnumerationSet.

template<class T>
SimTK::EnumerationSet< T >::EnumerationSetRep::EnumerationSetRep ( const Enumeration< T > &  value) [inline]

Create an EnumerationSet which contains a single value.

template<class T>
SimTK::EnumerationSet< T >::EnumerationSetRep::EnumerationSetRep ( const EnumerationSetRep set) [inline]

Create an EnumerationSet which contains the same values as another set.

template<class T>
SimTK::EnumerationSet< T >::EnumerationSetRep::~EnumerationSetRep ( ) [inline]

Member Function Documentation

template<class T>
int SimTK::EnumerationSet< T >::EnumerationSetRep::size ( ) const [inline]

Get the number of elements in this set.

template<class T>
bool SimTK::EnumerationSet< T >::EnumerationSetRep::contains ( const Enumeration< T > &  value) const [inline]

Determine whether this set contains a particular value.

template<class T>
bool SimTK::EnumerationSet< T >::EnumerationSetRep::containsAll ( const EnumerationSetRep set) const [inline]

Determine whether this set contains all of the values in another set.

template<class T>
bool SimTK::EnumerationSet< T >::EnumerationSetRep::containsAny ( const EnumerationSetRep set) const [inline]

Determine wheter this set contains any value which is in another set.

template<class T>
bool SimTK::EnumerationSet< T >::EnumerationSetRep::operator== ( const EnumerationSetRep set) const [inline]

Determine whether this set has identical contents to another one.

template<class T>
bool SimTK::EnumerationSet< T >::EnumerationSetRep::operator!= ( const EnumerationSetRep set) const [inline]

Determine whether this set has identical contents to another one.

template<class T>
void SimTK::EnumerationSet< T >::EnumerationSetRep::clear ( ) [inline]

Remove all elements from the set.

template<class T>
EnumerationSetRep& SimTK::EnumerationSet< T >::EnumerationSetRep::operator= ( const EnumerationSetRep set) [inline]
template<class T>
EnumerationSetRep& SimTK::EnumerationSet< T >::EnumerationSetRep::operator-= ( const Enumeration< T > &  value) [inline]
template<class T>
EnumerationSetRep& SimTK::EnumerationSet< T >::EnumerationSetRep::operator-= ( const EnumerationSetRep set) [inline]
template<class T>
EnumerationSetRep& SimTK::EnumerationSet< T >::EnumerationSetRep::operator|= ( const EnumerationSetRep set) [inline]
template<class T>
EnumerationSetRep& SimTK::EnumerationSet< T >::EnumerationSetRep::operator&= ( const EnumerationSetRep set) [inline]
template<class T>
EnumerationSetRep& SimTK::EnumerationSet< T >::EnumerationSetRep::operator^= ( const EnumerationSetRep set) [inline]
template<class T>
void SimTK::EnumerationSet< T >::EnumerationSetRep::invert ( ) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines