VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGraphicsUtils
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
11
#include <
vrvGraphicsUtils/vrvGraphicsUtils.h
>
12
13
#pragma warning( push )
14
#pragma warning( disable : 4251 )
15
16
#include <map>
17
#include <boost/any.hpp>
18
19
namespace
makVrv {
20
23
class
DT_DLL_VRVGRAPHICSUTILS
DtUserObjectBindings
24
{
25
public
:
26
DtUserObjectBindings
();
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
;
46
UserObjectsMap
myUserObjectsMap
;
47
};
48
49
}
//namespace makVrv
50
51
#pragma warning (pop)
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)