VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
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 {
23  {
24  public:
25  typedef boost::unordered_map<std::string,std::string> AttributeMap;
26 
29 
32 
35 
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:
62  };
63 }
The feature specification contains all the data regarding a feature object.
Definition: DtFeatureSpecification.h:22
AttributeMap myAttributes
Definition: DtFeatureSpecification.h:61
#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:25
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)