Class that provides convenient interface to establish a linkage between custom user application objects and Ogre core classes.
More...
#include <OgreUserObjectBindings.h>
|
| 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...
|
|
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.
◆ UserObjectBindings()
Ogre::UserObjectBindings::UserObjectBindings |
( |
| ) |
|
◆ ~UserObjectBindings()
virtual Ogre::UserObjectBindings::~UserObjectBindings |
( |
| ) |
|
|
virtual |
◆ clear()
void Ogre::UserObjectBindings::clear |
( |
| ) |
const |
Clear all user objects from this binding.
◆ eraseUserAny()
void Ogre::UserObjectBindings::eraseUserAny |
( |
const String & |
key | ) |
|
Erase the custom user object associated with this class and key from this binding.
- Parameters
-
key | The key that the requested user object is associated with. |
◆ getEmptyUserAny()
static const Any& Ogre::UserObjectBindings::getEmptyUserAny |
( |
| ) |
|
|
inlinestatic |
Returns empty user any object.
◆ getUserAny() [1/2]
const Any& Ogre::UserObjectBindings::getUserAny |
( |
void |
| ) |
const |
Retrieves the custom key less user object associated with this class.
◆ getUserAny() [2/2]
const Any& Ogre::UserObjectBindings::getUserAny |
( |
const String & |
key | ) |
const |
Retrieves the custom user object associated with this class and key.
- Parameters
-
key | The key that the requested user object is associated with. |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ operator new[]() [2/2]
◆ setUserAny() [1/2]
void Ogre::UserObjectBindings::setUserAny |
( |
const Any & |
anything | ) |
|
Sets any kind of user object on this class instance.
- Note
- This method is key less meaning that each call for it will override previous object that were set. If you need to associate multiple objects with this class use the extended version that takes key.
◆ setUserAny() [2/2]
void Ogre::UserObjectBindings::setUserAny |
( |
const String & |
key, |
|
|
const Any & |
anything |
|
) |
| |
Sets any kind of user object on this class instance.
- Parameters
-
key | The key that this data is associate with. |
anything | The data to associate with the given key. |
The documentation for this class was generated from the following file: