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.
|
| bool | hasKey (const std::string &key) const |
| | Determine whether there's anything with this key.
|
| const boost::any & | getUserAny (const std::string &key) |
| | Get the any associated with this key.
|
| void | eraseKey (const std::string &key) |
| | Erase the key (and the corresponding any)
|
| size_t | numKeys (void) const |
| | Total number of keys (and the corresponding anys) registered.
|
Private Types |
typedef std::map< std::string,
boost::any > | UserObjectsMap |
Detailed Description
Class to store a set of keys mapping to a set of any objects.
Member Typedef Documentation
Constructor & Destructor Documentation
| makVrv::DtUserObjectBindings::DtUserObjectBindings |
( |
| ) |
|
| virtual makVrv::DtUserObjectBindings::~DtUserObjectBindings |
( |
| ) |
|
|
virtual |
Member Function Documentation
| 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.
Member Data Documentation
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/include/vrvGraphicsUtils/DtUserObjectBindings.h