OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
Ogre::PropertyBase Class Referenceabstract

Base interface for an instance of a property. More...

#include <OgreProperty.h>

+ Inheritance diagram for Ogre::PropertyBase:

Public Member Functions

 PropertyBase (PropertyDef *def)
 Constructor. More...
 
virtual ~PropertyBase ()
 
const StringgetDescription () const
 Get the description of the property. More...
 
const StringgetName () const
 Get the name of the property. More...
 
PropertyType getType () const
 Get the type of the property. More...
 
virtual Ogre::Any getValue () const =0
 Return the current value as an Any. More...
 

Detailed Description

Base interface for an instance of a property.

Constructor & Destructor Documentation

◆ PropertyBase()

Ogre::PropertyBase::PropertyBase ( PropertyDef def)
inline

Constructor.

◆ ~PropertyBase()

virtual Ogre::PropertyBase::~PropertyBase ( )
inlinevirtual

Member Function Documentation

◆ getName()

const String& Ogre::PropertyBase::getName ( void  ) const
inline

Get the name of the property.

◆ getDescription()

const String& Ogre::PropertyBase::getDescription ( ) const
inline

Get the description of the property.

◆ getType()

PropertyType Ogre::PropertyBase::getType ( void  ) const
inline

Get the type of the property.

Referenced by Ogre::PropertySet::setValue().

◆ getValue()

virtual Ogre::Any Ogre::PropertyBase::getValue ( ) const
pure virtual

Return the current value as an Any.

Implemented in Ogre::Property< T >.


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