![]() |
VR-Forces 4.10 Class Documentation
|
Class to store a set of keys mapping to a set of any objects. More...
Public Member Functions | |
| DtUserObjectBindings () | |
| virtual | ~DtUserObjectBindings () |
| void | setUserAny (const std::string &key, const boost::any &anything) |
| Associate a key with an any. More... | |
| bool | hasKey (const std::string &key) const |
| Determine whether there's anything with this key. More... | |
| const boost::any & | getUserAny (const std::string &key) |
| Get the any associated with this key. More... | |
| void | eraseKey (const std::string &key) |
| Erase the key (and the corresponding any) More... | |
| size_t | numKeys (void) const |
| Total number of keys (and the corresponding anys) registered. More... | |
Private Types | |
| typedef std::map< std::string, boost::any > | UserObjectsMap |
Private Attributes | |
| UserObjectsMap | myUserObjectsMap |
Class to store a set of keys mapping to a set of any objects.
|
private |
| makVrv::DtUserObjectBindings::DtUserObjectBindings | ( | ) |
|
virtual |
| void makVrv::DtUserObjectBindings::setUserAny | ( | const std::string & | key, |
| const boost::any & | anything | ||
| ) |
Associate a key with an any.
| bool makVrv::DtUserObjectBindings::hasKey | ( | const std::string & | key | ) | const |
Determine whether there's anything with this key.
| const boost::any& makVrv::DtUserObjectBindings::getUserAny | ( | const std::string & | key | ) |
Get the any associated with this key.
| void makVrv::DtUserObjectBindings::eraseKey | ( | const std::string & | key | ) |
Erase the key (and the corresponding any)
| size_t makVrv::DtUserObjectBindings::numKeys | ( | void | ) | const |
Total number of keys (and the corresponding anys) registered.
|
private |