VR-Forces Developer's Guide
 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.

Public Member Functions

 DtUserObjectBindings ()
 
virtual ~DtUserObjectBindings ()
 
void setUserAny (const std::string &key, const boost::any &anything)
 
bool hasKey (const std::string &key) const
 
const boost::any & getUserAny (const std::string &key)
 
void eraseKey (const std::string &key)
 
size_t numKeys (void) const
 

Private Types

typedef std::map< std::string,
boost::any > 
UserObjectsMap
 

Private Attributes

UserObjectsMap myUserObjectsMap
 

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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)