API  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OpenSim::PropertySet Class Reference

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

Public Member Functions

 PropertySet ()
 
 PropertySet (const PropertySet &aSet)
 
virtual ~PropertySet ()
 
bool isEmpty () const
 
int getSize () const
 
virtual Property_Deprecatedget (int i) throw (Exception)
 
virtual const Property_Deprecatedget (int i) const
 
virtual Property_Deprecatedget (const std::string &aName) throw (Exception)
 
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 ()
 
PropertyGroupaddGroup (std::string aGroupName)
 
void addPropertyToGroup (std::string aGroupName, std::string aPropertyName)
 
void addPropertyToGroup (PropertyGroup *aGroup, std::string aPropertyName)
 
void addPropertyToGroup (PropertyGroup *aGroup, Property_Deprecated *aProperty)
 
void addPropertyToGroup (std::string aGroupName, Property_Deprecated *aProperty)
 
ArrayPtrs< PropertyGroup > & getGroups ()
 
PropertyGroupgetGroupContaining (Property_Deprecated *aProperty)
 
int getGroupIndexContaining (Property_Deprecated *aProperty)
 

Public Attributes

ArrayPtrs< Property_Deprecated_array
 Set of properties. More...
 

Protected Attributes

ArrayPtrs< PropertyGroup_propertyGroups
 Array of property groups. 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

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

Member Function Documentation

PropertyGroup* OpenSim::PropertySet::addGroup ( std::string  aGroupName)
void OpenSim::PropertySet::addPropertyToGroup ( std::string  aGroupName,
std::string  aPropertyName 
)
void OpenSim::PropertySet::addPropertyToGroup ( PropertyGroup aGroup,
std::string  aPropertyName 
)
void OpenSim::PropertySet::addPropertyToGroup ( PropertyGroup aGroup,
Property_Deprecated aProperty 
)
void OpenSim::PropertySet::addPropertyToGroup ( std::string  aGroupName,
Property_Deprecated aProperty 
)
virtual void OpenSim::PropertySet::append ( Property_Deprecated aProperty)
virtual
virtual void OpenSim::PropertySet::append ( Property_Deprecated aProperty,
const std::string &  aName 
)
virtual
virtual void OpenSim::PropertySet::clear ( )
virtual
virtual const Property_Deprecated* OpenSim::PropertySet::contains ( const std::string &  aName) const
virtual
virtual Property_Deprecated* OpenSim::PropertySet::contains ( const std::string &  aName)
virtual
virtual Property_Deprecated* OpenSim::PropertySet::get ( int  i)
throw (Exception
)
virtual
virtual const Property_Deprecated* OpenSim::PropertySet::get ( int  i) const
virtual
virtual Property_Deprecated* OpenSim::PropertySet::get ( const std::string &  aName)
throw (Exception
)
virtual
virtual const Property_Deprecated* OpenSim::PropertySet::get ( const std::string &  aName) const
virtual
PropertyGroup* OpenSim::PropertySet::getGroupContaining ( Property_Deprecated aProperty)
int OpenSim::PropertySet::getGroupIndexContaining ( Property_Deprecated aProperty)
ArrayPtrs<PropertyGroup>& OpenSim::PropertySet::getGroups ( )
inline
int OpenSim::PropertySet::getSize ( ) const
bool OpenSim::PropertySet::isEmpty ( ) const
virtual void OpenSim::PropertySet::remove ( const std::string &  aName)
virtual

Friends And Related Function Documentation

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

Member Data Documentation

ArrayPtrs<Property_Deprecated> OpenSim::PropertySet::_array

Set of properties.

ArrayPtrs<PropertyGroup> OpenSim::PropertySet::_propertyGroups
protected

Array of property groups.


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