Ogre::PropertyBase Class Referenceabstract
Components » Property

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

`#include <OgreProperty.h>`

Inheritance diagram for Ogre::PropertyBase:
[legend]

## Public Member Functions

| PropertyBase (PropertyDef *def)
| Constructor. More...
virtual | ~PropertyBase ()
const String & | getDescription () const
| Get the description of the property. More...
const String & | getName () 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...
void | operator delete (void *ptr)
void | operator delete (void *ptr, void *)
void | operator delete (void *ptr, const char *, int, const char *)
void | operator delete[] (void *ptr)
void | operator delete[] (void *ptr, const char *, int, const char *)
void * | operator new (size_t sz, const char *file, int line, const char *func)
| operator new, with debug line info More...
void * | operator new (size_t sz)
void * | operator new (size_t sz, void *ptr)
| placement operator new More...
void * | operator new[] (size_t sz, const char *file, int line, const char *func)
| array operator new, with debug line info More...
void * | operator new[] (size_t sz)

## Protected Member Functions

| PropertyBase ()

## Protected Attributes

PropertyDef * | mDef

## Detailed Description

Base interface for an instance of a property.

Definition at line 193 of file OgreProperty.h.

## Constructor & Destructor Documentation

## PropertyBase() [1/2]

Ogre::PropertyBase::PropertyBase | ( | PropertyDef * | def | ) |

Constructor.

Definition at line 197 of file OgreProperty.h.

## ~PropertyBase()

virtual Ogre::PropertyBase::~PropertyBase | ( |  | ) |

virtual

Definition at line 198 of file OgreProperty.h.

## PropertyBase() [2/2]

Ogre::PropertyBase::PropertyBase | ( |  | ) |

protected

Definition at line 214 of file OgreProperty.h.

## Member Function Documentation

## getDescription()

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

Get the description of the property.

Definition at line 204 of file OgreProperty.h.

## getName()

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

Get the name of the property.

Definition at line 201 of file OgreProperty.h.

## getType()

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

Get the type of the property.

Definition at line 207 of file OgreProperty.h.

Referenced by Ogre::PropertySet::getPropertyImpl(), and Ogre::PropertySet::setPropertyImpl().

## getValue()

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

pure virtual

Return the current value as an Any.

Implemented in Ogre::Property< T >.

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

## operator new() [1/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | void * | ptr
| ) |  |

inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

## operator new[]() [1/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

## operator new[]() [2/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) |

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

## Member Data Documentation

## mDef

PropertyDef* Ogre::PropertyBase::mDef

protected

Definition at line 215 of file OgreProperty.h.

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

- OgreProperty.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.