OpenSim::PropertyObjArray< T > Class Template Reference

#include <PropertyObjArray.h>

Inheritance diagram for OpenSim::PropertyObjArray< T >:
OpenSim::Property

List of all members.

Public Member Functions

 PropertyObjArray (const std::string &aName="", const ArrayPtrs< T > &aArray=ArrayPtrs< T >())
 PropertyObjArray (const PropertyObjArray< T > &aProperty)
virtual Propertycopy () const
PropertyObjArrayoperator= (const PropertyObjArray &aProperty)
 Assign this property to another.
virtual bool isValidObject (const Object *obj) const
virtual const char * getTypeAsString () const
 Implementation of the output operator.
virtual const std::string & toString ()
virtual int getArraySize () const
virtual ObjectgetValueObjPtr (int index)
virtual void appendValue (Object *obj)
virtual void clearObjArray ()
void setValue (const ArrayPtrs< T > &aArray)
ArrayPtrs< T > & getValueObjArray ()
const ArrayPtrs< T > & getValueObjArray () const
virtual bool operator== (const Property &aProperty) const

template<class T = Object>
class OpenSim::PropertyObjArray< T >


Constructor & Destructor Documentation

template<class T = Object>
OpenSim::PropertyObjArray< T >::PropertyObjArray ( const std::string &  aName = "",
const ArrayPtrs< T > &  aArray = ArrayPtrs<T>() 
) [inline]
template<class T = Object>
OpenSim::PropertyObjArray< T >::PropertyObjArray ( const PropertyObjArray< T > &  aProperty  )  [inline]

Member Function Documentation

template<class T = Object>
virtual void OpenSim::PropertyObjArray< T >::appendValue ( Object obj  )  [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
virtual void OpenSim::PropertyObjArray< T >::clearObjArray (  )  [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
virtual Property* OpenSim::PropertyObjArray< T >::copy (  )  const [inline, virtual]

Implements OpenSim::Property.

template<class T = Object>
virtual int OpenSim::PropertyObjArray< T >::getArraySize (  )  const [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
virtual const char* OpenSim::PropertyObjArray< T >::getTypeAsString (  )  const [inline, virtual]

Implementation of the output operator.

The output consists of the type and name:

Parameters:
aOut Output stream.
aProperty Property to be output.
Returns:
Reference to the output stream. ostream& operator<<(ostream &aOut,const Property &aProperty) { aOut << aProperty.getTypeAsString() << " " << aProperty.getName(); return(aOut); } Get the type of this property as a string.
Type of the property.

Reimplemented from OpenSim::Property.

template<class T = Object>
const ArrayPtrs<T>& OpenSim::PropertyObjArray< T >::getValueObjArray (  )  const [inline]
template<class T = Object>
ArrayPtrs<T>& OpenSim::PropertyObjArray< T >::getValueObjArray (  )  [inline]
template<class T = Object>
virtual Object* OpenSim::PropertyObjArray< T >::getValueObjPtr ( int  index  )  [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
virtual bool OpenSim::PropertyObjArray< T >::isValidObject ( const Object obj  )  const [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
PropertyObjArray& OpenSim::PropertyObjArray< T >::operator= ( const PropertyObjArray< T > &  aProperty  )  [inline]

Assign this property to another.

Parameters:
aProperty Property to which to assign this property.
Returns:
Reference to this property.

Reimplemented from OpenSim::Property.

template<class T = Object>
virtual bool OpenSim::PropertyObjArray< T >::operator== ( const Property aProperty  )  const [inline, virtual]
template<class T = Object>
void OpenSim::PropertyObjArray< T >::setValue ( const ArrayPtrs< T > &  aArray  )  [inline]
template<class T = Object>
virtual const std::string& OpenSim::PropertyObjArray< T >::toString (  )  [inline, virtual]

Implements OpenSim::Property.


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

Generated on Sun Sep 25 00:19:50 2011 for OpenSim by  doxygen 1.6.1