Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::property::MatrixProperty Class Reference

Inheritance diagram for amire::property::MatrixProperty:

amire::property::Property List of all members.

Public Member Functions

 MatrixProperty (const PropertyTypeManager *propertyTypeManager)
virtual ~MatrixProperty ()
virtual bool equals (const osg::ref_ptr< const Property > &property) const
virtual osg::ref_ptr< Propertyclone () const
virtual void cloneFrom (const osg::ref_ptr< const Property > &property)
virtual void fromPersistentProperty (const osg::ref_ptr< const Property > &property)
virtual osg::ref_ptr< PropertytoPersistentProperty ()

Static Public Member Functions

void registerMatrixPropertyType (PropertyTypeManager *propertyTypeManager)

Detailed Description

The MatricProperty class represents a combination of a Property instance and a Matrix instance. It can not directly be made persistent. Like all native properites the toPersistentProperty method must be called to convert it into a property that can be made persistent.


Constructor & Destructor Documentation

amire::property::MatrixProperty::MatrixProperty const PropertyTypeManager propertyTypeManager  ) 
 

virtual amire::property::MatrixProperty::~MatrixProperty  )  [virtual]
 


Member Function Documentation

virtual osg::ref_ptr<Property> amire::property::MatrixProperty::clone  )  const [virtual]
 

Creates a deep copy clone of the property. The returned property is equal to the original property and doesn't share any value references with it.

Implements amire::property::Property.

virtual void amire::property::MatrixProperty::cloneFrom const osg::ref_ptr< const Property > &  property  )  [virtual]
 

Initializes this property with a deep copy of the given property. Afterware, this property is equal to the given and doesn't share any value references with it. An exception is thrown, if the deep copy is not possible.

Implements amire::property::Property.

virtual bool amire::property::MatrixProperty::equals const osg::ref_ptr< const Property > &  property  )  const [virtual]
 

The ‘virtual bool equals(const Property *property) const’ method returns true when the as parameter property given property is equal to the this property instance and false otherwise. It also doesn’t modify the property instance and therefore it is const.

Implements amire::property::Property.

virtual void amire::property::MatrixProperty::fromPersistentProperty const osg::ref_ptr< const Property > &  property  )  [virtual]
 

Initializes this property with the values of the given peristence able property. Both properties are NOT from the same type. Therefore, they are not equal after the initization. An exception is thrown in any failure case.

Implements amire::property::Property.

void amire::property::MatrixProperty::registerMatrixPropertyType PropertyTypeManager propertyTypeManager  )  [static]
 

virtual osg::ref_ptr<Property> amire::property::MatrixProperty::toPersistentProperty  )  [virtual]
 

Returns a persistable representaion of this property as a persistent property. An exception is thrown in any failure case.

Implements amire::property::Property.


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:58 2003 for AMIRE-Framework by doxygen1.3