VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFeatureSpecification.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
12 #include <boost/unordered_map.hpp>
13 
14 namespace makVrv
15 {
20  {
21  public:
22  typedef boost::unordered_map<std::string,std::string> AttributeMap;
23 
26 
29 
32 
36 
38  bool operator==(const DtFeatureSpecification& other) const;
39 
41  bool operator!=(const DtFeatureSpecification& other) const;
42 
44  void addAttribute(const std::string& key, const std::string& value);
45 
47  void removeAttribute(const std::string& key);
48 
51  std::string* findAttribute(const std::string& key);
52  const std::string* findAttribute(const std::string& key) const;
53 
55  const AttributeMap& attributes() const;
56 
57  protected:
59  };
60 }
The feature specification contains all the data regarding a feature object. Feature specifications ar...
Definition: DtFeatureSpecification.h:19
AttributeMap myAttributes
Definition: DtFeatureSpecification.h:58
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:153
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
boost::unordered_map< std::string, std::string > AttributeMap
Definition: DtFeatureSpecification.h:22
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)