VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtUserObjectBindings.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
12 
13 #pragma warning( push )
14 #pragma warning( disable : 4251 )
15 
16 #include <map>
17 #include <boost/any.hpp>
18 
19 namespace makVrv {
20 
24  {
25  public:
27  virtual ~DtUserObjectBindings();
28 
30  void setUserAny(const std::string& key, const boost::any& anything);
31 
33  bool hasKey(const std::string& key) const;
34 
36  const boost::any& getUserAny(const std::string& key);
37 
39  void eraseKey(const std::string& key);
40 
42  size_t numKeys(void) const;
43  private:
44 
45  typedef std::map<std::string, boost::any > UserObjectsMap;
47  };
48 
49 } //namespace makVrv
50 
51 #pragma warning (pop)

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)