VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Types | Private Attributes
makVrv::DtUserObjectBindings Class Reference

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

Private Attributes

UserObjectsMap myUserObjectsMap

Detailed Description

Class to store a set of keys mapping to a set of any objects.

Member Typedef Documentation

typedef std::map<std::string, boost::any > makVrv::DtUserObjectBindings::UserObjectsMap
private

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

UserObjectsMap makVrv::DtUserObjectBindings::myUserObjectsMap
private

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)