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

A class implementing a property group. More...

Public Member Functions

 PropertyGroup ()
 
 PropertyGroup (std::string &aName)
 
 PropertyGroup (const PropertyGroup &aGroup)
 
virtual ~PropertyGroup ()
 
virtual PropertyGroupclone () const
 
PropertyGroupoperator= (const PropertyGroup &aGroup)
 
bool operator< (const PropertyGroup &aGroup) const
 
bool operator== (const PropertyGroup &aGroup) const
 
void copyData (const PropertyGroup &aGroup)
 
void clear ()
 
bool contains (const std::string &aName) const
 
void add (Property_Deprecated *aProperty)
 
void remove (Property_Deprecated *aProperty)
 
const Array< Property_Deprecated * > & getProperties () const
 
Property_Deprecatedget (int aIndex)
 
int getPropertyIndex (Property_Deprecated *aProperty) const
 
void setName (const std::string &aName)
 
const std::string & getName () const
 

Protected Attributes

Array< Property_Deprecated * > _properties
 Pointers to the properties in the group. More...
 

Detailed Description

A class implementing a property group.

Author
Peter Loan
Version
1.0

Constructor & Destructor Documentation

◆ PropertyGroup() [1/3]

OpenSim::PropertyGroup::PropertyGroup ( )

◆ PropertyGroup() [2/3]

OpenSim::PropertyGroup::PropertyGroup ( std::string &  aName)

◆ PropertyGroup() [3/3]

OpenSim::PropertyGroup::PropertyGroup ( const PropertyGroup aGroup)

◆ ~PropertyGroup()

virtual OpenSim::PropertyGroup::~PropertyGroup ( )
virtual

Member Function Documentation

◆ add()

void OpenSim::PropertyGroup::add ( Property_Deprecated aProperty)

◆ clear()

void OpenSim::PropertyGroup::clear ( )

◆ clone()

virtual PropertyGroup* OpenSim::PropertyGroup::clone ( ) const
virtual

◆ contains()

bool OpenSim::PropertyGroup::contains ( const std::string &  aName) const

◆ copyData()

void OpenSim::PropertyGroup::copyData ( const PropertyGroup aGroup)

◆ get()

Property_Deprecated* OpenSim::PropertyGroup::get ( int  aIndex)

◆ getName()

const std::string& OpenSim::PropertyGroup::getName ( ) const
inline

◆ getProperties()

const Array<Property_Deprecated*>& OpenSim::PropertyGroup::getProperties ( ) const
inline

◆ getPropertyIndex()

int OpenSim::PropertyGroup::getPropertyIndex ( Property_Deprecated aProperty) const

◆ operator<()

bool OpenSim::PropertyGroup::operator< ( const PropertyGroup aGroup) const

◆ operator=()

PropertyGroup& OpenSim::PropertyGroup::operator= ( const PropertyGroup aGroup)

◆ operator==()

bool OpenSim::PropertyGroup::operator== ( const PropertyGroup aGroup) const

◆ remove()

void OpenSim::PropertyGroup::remove ( Property_Deprecated aProperty)

◆ setName()

void OpenSim::PropertyGroup::setName ( const std::string &  aName)
inline

Member Data Documentation

◆ _properties

Array<Property_Deprecated*> OpenSim::PropertyGroup::_properties
protected

Pointers to the properties in the group.


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