VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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(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 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)