MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nodeIconXmlReader.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef nodeIconXmlReader_H_
7 #define nodeIconXmlReader_H_
8 
9 #include <mtl/environment.h>
10 #include <vlutil/vlString.h>
11 #include <vlutil/vlFilename.h>
12 #include <iosfwd>
13 #include <vector>
14 #include "assistantEnums.h"
15 
17 {
19  nodeId(),
20  imageFile(),
22  MAKRti::DtString nodeId;
23  MAKRti::DtFilename imageFile;
25 };
26 
29 {
30 public:
32  DtNodeIconXmlReader( const MAKRti::DtFilename& xmlFile );
33 
35  virtual ~DtNodeIconXmlReader();
36 
37 public:
38 
40  virtual const std::vector< DtNodeIconFile >& getNodeIconFiles();
41 
43  virtual void setNodeIconFiles(const std::vector< DtNodeIconFile >& iconFiles);
44 
45 protected:
46 
48  virtual void parse();
49 
51  virtual MAKRti::DtString fedIdTypeToString(DtFederateIdentifierType idType) const;
52 
54  virtual DtFederateIdentifierType stringToFedIdType(const MAKRti::DtString& str) const;
55 
56 private:
60 
61 protected:
62 
64  MAKRti::DtEnvironment myEnvironment;
65 
67  MAKRti::DtFilename myXmlFile;
68 
70  MAKRti::DtString myReadFileVersion;
71 
74 
76  std::vector< DtNodeIconFile > myImageFiles;
77 
79 
80  static const MAKRti::DtString theVersionString;
81  static const MAKRti::DtString theRootNodeString;
82  static const MAKRti::DtString theNodeIconString;
83  static const MAKRti::DtString theIdentifierString;
84  static const MAKRti::DtString theIconFileString;
85  static const MAKRti::DtString theIdTypeString;
86  static const MAKRti::DtString theFederateTypeString;
87  static const MAKRti::DtString theFederateNameString;
88  static const MAKRti::DtString theProcessNameString;
90 };
91 
92 
93 #endif
94 

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)