OpenSim::PropertyObjPtr< T > Class Template Reference

#include <PropertyObjPtr.h>

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

List of all members.

Public Member Functions

 PropertyObjPtr ()
 PropertyObjPtr (const PropertyObjPtr< T > &aProperty)
virtual Propertycopy () const
virtual ~PropertyObjPtr ()
PropertyObjPtr< T > & operator= (const PropertyObjPtr &aProperty)
 Assign this property to another.
virtual bool operator== (const Property &aProperty) const
virtual const char * getTypeAsString () const
 Implementation of the output operator.
virtual bool isValidObject (const Object *aValue) const
virtual void setValue (Object *aValue)
virtual ObjectgetValueObjPtr ()
T *& getValueObjPtrRef ()
virtual const std::string & toString ()

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


Constructor & Destructor Documentation

template<class T = Object>
OpenSim::PropertyObjPtr< T >::PropertyObjPtr (  )  [inline]
template<class T = Object>
OpenSim::PropertyObjPtr< T >::PropertyObjPtr ( const PropertyObjPtr< T > &  aProperty  )  [inline]
template<class T = Object>
virtual OpenSim::PropertyObjPtr< T >::~PropertyObjPtr (  )  [inline, virtual]

Member Function Documentation

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

Implements OpenSim::Property.

template<class T = Object>
virtual const char* OpenSim::PropertyObjPtr< 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>
virtual Object* OpenSim::PropertyObjPtr< T >::getValueObjPtr (  )  [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
T*& OpenSim::PropertyObjPtr< T >::getValueObjPtrRef (  )  [inline]
template<class T = Object>
virtual bool OpenSim::PropertyObjPtr< T >::isValidObject ( const Object aValue  )  const [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
PropertyObjPtr<T>& OpenSim::PropertyObjPtr< T >::operator= ( const PropertyObjPtr< 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::PropertyObjPtr< T >::operator== ( const Property aProperty  )  const [inline, virtual]
template<class T = Object>
virtual void OpenSim::PropertyObjPtr< T >::setValue ( Object aValue  )  [inline, virtual]

Reimplemented from OpenSim::Property.

template<class T = Object>
virtual const std::string& OpenSim::PropertyObjPtr< T >::toString (  )  [inline, virtual]

Implements OpenSim::Property.


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

Generated on Wed Dec 16 15:03:41 2009 for OpenSim by  doxygen 1.6.1