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

VectorPropertyType.h

Go to the documentation of this file.
00001 
00045 #ifndef _AMIRE_PROPERTY_VECTOR_PROPERTY_TYPE_H
00046 #define _AMIRE_PROPERTY_VECTOR_PROPERTY_TYPE_H
00047 
00048 #include <amire/common/Defines.h>
00049 #include <amire/property/PropertyType.h>
00050 
00051 namespace amire {
00052   namespace property {
00057     class AMIRE_EXPORT_API VectorPropertyType : public virtual PropertyType {
00058     protected:
00059       friend class PropertyTypeManager;
00060       osg::ref_ptr<const PropertyType> propertyType;
00061       VectorPropertyType(const osg::ref_ptr<const PropertyType> &propertyType);
00062 
00063     public:
00064       virtual ~VectorPropertyType();
00065 
00066       virtual bool isTypeOf(const osg::ref_ptr<const PropertyType> &type) const;
00067 
00068       virtual osg::ref_ptr<Property> newInstance() const;
00069 
00073       inline const osg::ref_ptr<const PropertyType> &getPropertyType() const {
00074         return propertyType;
00075       }
00076     };
00077 
00081     typedef STD_HASH_MAP(std::string, osg::ref_ptr<VectorPropertyType>, amire::common::HashCompareString) StringToVectorPropertyTypeMap;
00082 
00086     typedef STD_HASH_MAP(std::string, osg::ref_ptr<const VectorPropertyType>, amire::common::HashCompareString) StringToConstVectorPropertyTypeMap;
00087   }
00088 }
00089 
00090 #endif
00091 

Generated on Tue May 20 17:23:54 2003 for AMIRE-Framework by doxygen1.3