OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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.
 
virtual ~PropertyBase ()
 
const String & getDescription () const
 Get the description of the property.
 
const String & getName () const
 Get the name of the property.
 
PropertyType getType () const
 Get the type of the property.
 
virtual Ogre::Any getValue () const =0
 Return the current value as an Any.
 

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 ( ) 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 ( ) const
inline

Get the type of the property.

◆ 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: