Go to the documentation of this file.
28 #ifndef _UserObjectsBinding_H__
29 #define _UserObjectsBinding_H__
119 if (mUserObjectsMap != NULL)
122 mUserObjectsMap = NULL;
const Any & getUserAny(void) const
Retrieves the custom key less user object associated with this class.
void clear() const
Clear all user objects from this binding.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
~Attributes()
Attribute storage dtor.
const Any & getUserAny(const String &key) const
Retrieves the custom user object associated with this class and key.
void eraseUserAny(const String &key)
Erase the custom user object associated with this class and key from this binding.
Variant type that can hold Any other type.
Class that provides convenient interface to establish a linkage between custom user application objec...
UserObjectsMap::const_iterator UserObjectsMapConstIterator
UserObjectBindings()
Class constructor.
void setUserAny(const Any &anything)
Sets any kind of user object on this class instance.
map< String, Any >::type UserObjectsMap
std::map< K, V, P, A > type
void setUserAny(const String &key, const Any &anything)
Sets any kind of user object on this class instance.
Attributes()
Attribute storage ctor.
UserObjectsMap::iterator UserObjectsMapIterator
virtual ~UserObjectBindings()
Class destructor.
static const Any & getEmptyUserAny()
Returns empty user any object.
UserObjectsMap * mUserObjectsMap
Internal class that uses as data storage container.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.