Class that provides convenient interface to establish a linkage between custom user application objects and Ogre core classes. More...
#include <OgreUserObjectBindings.h>

Classes | |
| class | Attributes |
| Internal class that uses as data storage container. More... | |
Public Member Functions | |
| UserObjectBindings () | |
| Class constructor. | |
| virtual | ~UserObjectBindings () |
| Class destructor. | |
| void | clear () const |
| Clear all user objects from this binding. | |
| void | eraseUserAny (const String &key) |
| Erase the custom user object associated with this class and key from this binding. | |
| const Any & | getUserAny (void) const |
| Retrieves the custom key less user object associated with this class. | |
| const Any & | getUserAny (const String &key) const |
| Retrieves the custom user object associated with this class and key. | |
| 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 | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz) |
| void | setUserAny (const Any &anything) |
| Sets any kind of user object on this class instance. | |
| void | setUserAny (const String &key, const Any &anything) |
| Sets any kind of user object on this class instance. | |
Static Public Member Functions | |
| static const Any & | getEmptyUserAny () |
| Returns empty user any object. | |
Protected Types | |
| typedef map< String, Any >::type | UserObjectsMap |
| typedef UserObjectsMap::const_iterator | UserObjectsMapConstIterator |
| typedef UserObjectsMap::iterator | UserObjectsMapIterator |
Private Attributes | |
| Attributes * | mAttributes |
Static Private Attributes | |
| static Any | msEmptyAny |
Class that provides convenient interface to establish a linkage between custom user application objects and Ogre core classes.
Any instance of Ogre class that will derive from this class could be associated with custom application object using this class interface.
Definition at line 49 of file OgreUserObjectBindings.h.
typedef map<String, Any>::type Ogre::UserObjectBindings::UserObjectsMap [protected] |
Definition at line 104 of file OgreUserObjectBindings.h.
typedef UserObjectsMap::const_iterator Ogre::UserObjectBindings::UserObjectsMapConstIterator [protected] |
Definition at line 106 of file OgreUserObjectBindings.h.
typedef UserObjectsMap::iterator Ogre::UserObjectBindings::UserObjectsMapIterator [protected] |
Definition at line 105 of file OgreUserObjectBindings.h.
Class constructor.
| virtual Ogre::UserObjectBindings::~UserObjectBindings | ( | ) | [virtual] |
Class destructor.
| void Ogre::UserObjectBindings::clear | ( | ) | const |
Clear all user objects from this binding.
| void Ogre::UserObjectBindings::eraseUserAny | ( | const String & | key | ) |
Erase the custom user object associated with this class and key from this binding.
| key | The key that the requested user object is associated with. |
| static const Any& Ogre::UserObjectBindings::getEmptyUserAny | ( | ) | [static] |
Returns empty user any object.
Definition at line 100 of file OgreUserObjectBindings.h.
| const Any& Ogre::UserObjectBindings::getUserAny | ( | void | ) | const |
Retrieves the custom key less user object associated with this class.
| const Any& Ogre::UserObjectBindings::getUserAny | ( | const String & | key | ) | const |
Retrieves the custom user object associated with this class and key.
| key | The key that the requested user object is associated with. |
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| void * | |||
| ) | [inherited] |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
| 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.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| void * | ptr | ||
| ) | [inherited] |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
| 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.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
| void Ogre::UserObjectBindings::setUserAny | ( | const Any & | anything | ) |
Sets any kind of user object on this class instance.
| void Ogre::UserObjectBindings::setUserAny | ( | const String & | key, |
| const Any & | anything | ||
| ) |
Sets any kind of user object on this class instance.
| key | The key that this data is associate with. |
| anything | The data to associate with the given key. |
Attributes* Ogre::UserObjectBindings::mAttributes [mutable, private] |
Definition at line 133 of file OgreUserObjectBindings.h.
Any Ogre::UserObjectBindings::msEmptyAny [static, private] |
Definition at line 132 of file OgreUserObjectBindings.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:45