12 #ifndef CXTOOLCONFIGURATIONPARSER_H_
13 #define CXTOOLCONFIGURATIONPARSER_H_
15 #include "cxResourceExport.h"
21 #include <QDomDocument>
46 mAbsoluteToolFilePath(
""),
47 mOpenIGTLinkTransformId(
""),
48 mOpenIGTLinkImageId(
""),
50 mApplyRefToTool(false)
70 QString getApplicationapplication();
71 std::vector<ToolFileParser::TrackerInternalStructure> getTrackers();
72 std::vector<QString> getAbsoluteToolFilePaths();
73 QString getAbsoluteReferenceFilePath();
74 std::vector<ConfigurationFileParser::ToolStructure> getToolListWithMetaInformation();
76 static QString getTemplatesAbsoluteFilePath();
79 QString getTrackingSystemImplementation();
80 bool getApplyRefToTools();
82 void setConfigDocument(QString configAbsoluteFilePath);
83 bool isConfigFileValid();
84 QString getAbsoluteToolFilePath(QDomElement toolfileelement);
85 QString findXmlFileWithDirNameInPath(QString path);
86 QString searchForExistingToolFilePath(QString relativeToolFilePath);
87 static QString convertToRelativeToolFilePath(QString configFilename, QString absoluteToolFilePath);
88 static QString getToolPathFromRoot(QString root);
89 static void createToolFileNode(ToolStructureVector::iterator iter, QDomElement &toolFileNode,
ToolFileParser &toolparser);
91 QString mConfigurationFilePath;
92 QString mLoggingFolder;
94 QDomDocument mConfigureDoc;