API  4.2
For C++ developers
OpenSim::PropertySet Class Reference

A property set is simply a set of properties. More...

Public Member Functions

 PropertySet ()
 
 PropertySet (const PropertySet &aSet)
 
PropertySetoperator= (const PropertySet &aSet)
 
virtual ~PropertySet ()
 
bool isEmpty () const
 
int getSize () const
 
virtual Property_Deprecatedget (int i)
 
virtual const Property_Deprecatedget (int i) const
 
virtual Property_Deprecatedget (const std::string &aName)
 
virtual const Property_Deprecatedget (const std::string &aName) const
 
virtual const Property_Deprecatedcontains (const std::string &aName) const
 
virtual Property_Deprecatedcontains (const std::string &aName)
 
virtual void append (Property_Deprecated *aProperty)
 
virtual void append (Property_Deprecated *aProperty, const std::string &aName)
 
virtual void remove (const std::string &aName)
 
virtual void clear ()
 

Public Attributes

ArrayPtrs< Property_Deprecated_array
 Set of properties. More...
 

Friends

std::ostream & operator<< (std::ostream &aOut, const PropertySet &aSet)
 

Detailed Description

A property set is simply a set of properties.

It provides methods for adding, removing, and retrieving properties from itself.

Version
1.0
Author
Frank C. Anderson
See also
Property

Constructor & Destructor Documentation

◆ PropertySet() [1/2]

OpenSim::PropertySet::PropertySet ( )

◆ PropertySet() [2/2]

OpenSim::PropertySet::PropertySet ( const PropertySet aSet)

◆ ~PropertySet()

virtual OpenSim::PropertySet::~PropertySet ( )
inlinevirtual

Member Function Documentation

◆ append() [1/2]

virtual void OpenSim::PropertySet::append ( Property_Deprecated aProperty)
virtual

◆ append() [2/2]

virtual void OpenSim::PropertySet::append ( Property_Deprecated aProperty,
const std::string &  aName 
)
virtual

◆ clear()

virtual void OpenSim::PropertySet::clear ( )
virtual

◆ contains() [1/2]

virtual const Property_Deprecated* OpenSim::PropertySet::contains ( const std::string &  aName) const
virtual

◆ contains() [2/2]

virtual Property_Deprecated* OpenSim::PropertySet::contains ( const std::string &  aName)
virtual

◆ get() [1/4]

virtual Property_Deprecated* OpenSim::PropertySet::get ( int  i)
virtual

◆ get() [2/4]

virtual const Property_Deprecated* OpenSim::PropertySet::get ( int  i) const
virtual

◆ get() [3/4]

virtual Property_Deprecated* OpenSim::PropertySet::get ( const std::string &  aName)
virtual

◆ get() [4/4]

virtual const Property_Deprecated* OpenSim::PropertySet::get ( const std::string &  aName) const
virtual

◆ getSize()

int OpenSim::PropertySet::getSize ( ) const

◆ isEmpty()

bool OpenSim::PropertySet::isEmpty ( ) const

◆ operator=()

PropertySet& OpenSim::PropertySet::operator= ( const PropertySet aSet)

◆ remove()

virtual void OpenSim::PropertySet::remove ( const std::string &  aName)
virtual

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  aOut,
const PropertySet aSet 
)
friend

Member Data Documentation

◆ _array

ArrayPtrs<Property_Deprecated> OpenSim::PropertySet::_array

Set of properties.


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