Class that provide 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. More... | |
virtual | ~UserObjectBindings () |
Class destructor. More... | |
void | clear () const |
Clear all user objects from this binding. More... | |
void | eraseUserAny (const String &key) |
Erase the custom user object associated with this class and key from this binding. More... | |
const Any & | getUserAny (void) const |
Retrieves the custom key less user object associated with this class. More... | |
const Any & | getUserAny (const String &key) const |
Retrieves the custom user object associated with this class and key. 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) |
void | setUserAny (const Any &anything) |
Sets any kind of user object on this class instance. More... | |
void | setUserAny (const String &key, const Any &anything) |
Sets any kind of user object on this class instance. More... | |
Static Public Member Functions | |
static const Any & | getEmptyUserAny () |
Returns empty user any object. More... | |
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 provide 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 48 of file OgreUserObjectBindings.h.
|
protected |
Definition at line 103 of file OgreUserObjectBindings.h.
|
protected |
Definition at line 105 of file OgreUserObjectBindings.h.
|
protected |
Definition at line 104 of file OgreUserObjectBindings.h.
Ogre::UserObjectBindings::UserObjectBindings | ( | ) |
Class constructor.
|
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. |
|
inlinestatic |
Returns empty user any object.
Definition at line 99 of file OgreUserObjectBindings.h.
const Any& Ogre::UserObjectBindings::getUserAny | ( | void | ) | const |
Retrieves the custom key less user object associated with this class.
Retrieves the custom user object associated with this class and key.
key | The key that the requested user object is associated with. |
|
inlineinherited |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void Ogre::UserObjectBindings::setUserAny | ( | const Any & | anything | ) |
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. |
|
mutableprivate |
Definition at line 132 of file OgreUserObjectBindings.h.
|
staticprivate |
Definition at line 131 of file OgreUserObjectBindings.h.