VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtNavigationFeatureStringParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 
16 #include <boost/unordered_map.hpp>
17 
18 #include <string>
19 #include <vector>
20 
21 namespace makVrv
22 {
23 
44  {
45  public:
48  typedef boost::unordered_map< std::string, std::string>
50 
53 
56  virtual void parse( const std::string& stringToParse );
57 
60  virtual std::string attributeValue( const std::string& attrName ) const;
61 
64  virtual const ParsedAttributeValueMap& results() const;
65 
68  virtual bool readFeatureMappingFile( const std::string& path,
69  const std::string& objectMappingsFileName ) = 0;
70 
72  virtual void insertAttributeValue(const std::pair<std::string, std::string>& newPair);
73 
75  virtual void clearParseResultStrings();
76 
77  protected:
78 
81 
83  virtual void getAttributeValue( const std::string& attr,
84  const std::string& valueString ) = 0;
85 
86  protected:
88  };
89 }
90 
boost::unordered_map< std::string, std::string > ParsedAttributeValueMap
This type defines a map from attribute name to the value we parsed for it.
Definition: DtNavigationFeatureStringParser.h:49
The DtNavigationFeatureStringParser parses the object attributes found in the strings used by streame...
Definition: DtNavigationFeatureStringParser.h:43
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
ParsedAttributeValueMap myAttributeValueResultsMap
Definition: DtNavigationFeatureStringParser.h:87
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)