VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtFeatureSpecification.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: $ $Revision: $ $State: $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCore/vrvCore.h
>
15
#include <boost/unordered_map.hpp>
16
17
namespace
makVrv
18
{
22
class
DT_DLL_VRVCORE
DtFeatureSpecification
23
{
24
public
:
25
typedef
boost::unordered_map<std::string,std::string>
AttributeMap
;
26
28
DtFeatureSpecification
();
29
31
DtFeatureSpecification
(
const
DtFeatureSpecification
&);
32
34
~
DtFeatureSpecification
();
35
38
DtFeatureSpecification
& operator=(
const
DtFeatureSpecification
&);
39
41
bool
operator==
(
const
DtFeatureSpecification
& other)
const
;
42
44
bool
operator!=
(
const
DtFeatureSpecification
& other)
const
;
45
47
void
addAttribute(
const
std::string& key,
const
std::string& value);
48
50
void
removeAttribute(
const
std::string& key);
51
54
std::string* findAttribute(
const
std::string& key);
55
const
std::string* findAttribute(
const
std::string& key)
const
;
56
58
const
AttributeMap
& attributes()
const
;
59
60
protected
:
61
AttributeMap
myAttributes
;
62
};
63
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)