#include <PropertyStrArray.h>
Public Member Functions | |
PropertyStrArray () | |
Default Constructor. | |
PropertyStrArray (const std::string &aName, const Array< std::string > &aArray) | |
PropertyStrArray (const std::string &aName, int aSize, const std::string aArray[]) | |
PropertyStrArray (const PropertyStrArray &aProperty) | |
Copy constructor. | |
virtual Property * | copy () const |
Construct and return a copy of this property. | |
virtual | ~PropertyStrArray () |
PropertyStrArray & | operator= (const PropertyStrArray &aProperty) |
Assign this property to another. | |
virtual const char * | getTypeAsString () const |
Get the type of this property as a string. | |
virtual void | setValue (const Array< std::string > &aArray) |
virtual void | setValue (int aSize, const std::string aArray[]) |
virtual Array< std::string > & | getValueStrArray () |
Get a reference to the value of this property. | |
virtual const Array < std::string > & | getValueStrArray () const |
Get a constant reference to the value of this property. | |
virtual int | getArraySize () const |
virtual const std::string & | toString () |
Get a constant String represeting the value of this property. |
PropertyStrArray::PropertyStrArray | ( | ) |
Default Constructor.
OpenSim::PropertyStrArray::PropertyStrArray | ( | const std::string & | aName, | |
const Array< std::string > & | aArray | |||
) |
OpenSim::PropertyStrArray::PropertyStrArray | ( | const std::string & | aName, | |
int | aSize, | |||
const std::string | aArray[] | |||
) |
PropertyStrArray::PropertyStrArray | ( | const PropertyStrArray & | aProperty | ) |
Copy constructor.
aProperty | Property to be copied. |
virtual OpenSim::PropertyStrArray::~PropertyStrArray | ( | ) | [inline, virtual] |
Property * PropertyStrArray::copy | ( | ) | const [virtual] |
Construct and return a copy of this property.
The property is allocated using the new operator, so the caller is responsible for deleting the returned object.
Implements OpenSim::Property.
virtual int OpenSim::PropertyStrArray::getArraySize | ( | ) | const [inline, virtual] |
Reimplemented from OpenSim::Property.
const char * PropertyStrArray::getTypeAsString | ( | ) | const [virtual] |
Get the type of this property as a string.
Reimplemented from OpenSim::Property.
const Array< string > & PropertyStrArray::getValueStrArray | ( | ) | const [virtual] |
Get a constant reference to the value of this property.
Reimplemented from OpenSim::Property.
Array< string > & PropertyStrArray::getValueStrArray | ( | ) | [virtual] |
Get a reference to the value of this property.
Note that the returned reference can be used to change the value of this property.
Reimplemented from OpenSim::Property.
PropertyStrArray & PropertyStrArray::operator= | ( | const PropertyStrArray & | aProperty | ) |
Assign this property to another.
aProperty | Property to which to assign this property. |
Reimplemented from OpenSim::Property.
virtual void OpenSim::PropertyStrArray::setValue | ( | int | aSize, | |
const std::string | aArray[] | |||
) | [virtual] |
Reimplemented from OpenSim::Property.
virtual void OpenSim::PropertyStrArray::setValue | ( | const Array< std::string > & | aArray | ) | [virtual] |
Reimplemented from OpenSim::Property.
const string & PropertyStrArray::toString | ( | ) | [virtual] |
Get a constant String represeting the value of this property.
Implements OpenSim::Property.