API
3.3
|
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_Deprecated * | get (int i) throw (Exception) |
virtual const Property_Deprecated * | get (int i) const |
virtual Property_Deprecated * | get (const std::string &aName) throw (Exception) |
virtual const Property_Deprecated * | get (const std::string &aName) const |
virtual const Property_Deprecated * | contains (const std::string &aName) const |
virtual Property_Deprecated * | contains (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 () |
PropertyGroup * | addGroup (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 () |
PropertyGroup * | getGroupContaining (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) |
A property set is simply a set of properties.
It provides methods for adding, removing, and retrieving properties from itself.
OpenSim::PropertySet::PropertySet | ( | ) |
OpenSim::PropertySet::PropertySet | ( | const PropertySet & | aSet | ) |
|
inlinevirtual |
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 |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
PropertyGroup* OpenSim::PropertySet::getGroupContaining | ( | Property_Deprecated * | aProperty | ) |
int OpenSim::PropertySet::getGroupIndexContaining | ( | Property_Deprecated * | aProperty | ) |
|
inline |
int OpenSim::PropertySet::getSize | ( | ) | const |
bool OpenSim::PropertySet::isEmpty | ( | ) | const |
|
virtual |
|
friend |
ArrayPtrs<Property_Deprecated> OpenSim::PropertySet::_array |
Set of properties.
|
protected |
Array of property groups.