![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Class that provides convenient interface to establish a linkage between custom user application objects and Ogre core classes. More...
#include <OgreUserObjectBindings.h>
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 (const String &key) const |
Retrieves the custom user object associated with this class and key. | |
const Any & | getUserAny (void) const |
Retrieves the custom key less user object associated with this class. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
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 *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
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. | |
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.
Ogre::UserObjectBindings::UserObjectBindings | ( | ) |
Class constructor.
|
virtual |
Class destructor.
void Ogre::UserObjectBindings::clear | ( | ) | const |
Clear all user objects from this binding.
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. |
Returns empty user any object.
Retrieves the custom user object associated with this class and key.
key | The key that the requested user object is associated with. |
Retrieves the custom key less user object associated with this class.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
Sets any kind of user object on this class instance.
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. |