OpenSim::PropertyGroup Class Reference
A class implementing a property group.
More...
#include <PropertyGroup.h>
List of all members.
Detailed Description
A class implementing a property group.
- Author:
- Peter Loan
- Version:
- 1.0
Constructor & Destructor Documentation
PropertyGroup::PropertyGroup |
( |
|
) |
|
OpenSim::PropertyGroup::PropertyGroup |
( |
std::string & |
aName |
) |
|
Copy constructor.
- Parameters:
-
| aGroup | Group to be copied. |
PropertyGroup::~PropertyGroup |
( |
|
) |
[virtual] |
Member Function Documentation
void PropertyGroup::add |
( |
Property * |
aProperty |
) |
|
Add a property, if it is not already in the group.
void PropertyGroup::clear |
( |
|
) |
|
Clear the group (remove all property members).
bool OpenSim::PropertyGroup::contains |
( |
const std::string & |
aName |
) |
const |
Construct and return a copy of this object.
The object is allocated using the new operator, so the caller is responsible for deleting the returned object.
- Returns:
- Copy of this object.
Property * PropertyGroup::get |
( |
int |
aIndex |
) |
|
const std::string& OpenSim::PropertyGroup::getName |
( |
|
) |
const [inline] |
const Array<Property*>& OpenSim::PropertyGroup::getProperties |
( |
|
) |
const [inline] |
int PropertyGroup::getPropertyIndex |
( |
Property * |
aProperty |
) |
const |
Get the index of a property.
bool PropertyGroup::operator< |
( |
const PropertyGroup & |
aGroup |
) |
const |
Less than operator.
- Parameters:
-
| aGroup | Group with which to evaluate less than. |
- Returns:
- True if number of properties in this group is less than the number in aGroup.
Assignment operator.
- Returns:
- Reference to this object.
bool PropertyGroup::operator== |
( |
const PropertyGroup & |
aGroup |
) |
const |
Equality operator.
- Parameters:
-
| aGroup | Group with which to evaluate less than. |
- Returns:
- True if the two groups have the same number of properties.
void PropertyGroup::remove |
( |
Property * |
aProperty |
) |
|
void OpenSim::PropertyGroup::setName |
( |
const std::string & |
aName |
) |
[inline] |
Member Data Documentation
Pointers to the properties in the group.
The documentation for this class was generated from the following files:
- OpenSim/Common/PropertyGroup.h
- OpenSim/Common/PropertyGroup.cpp