12 #ifndef CXTOOLCONFIGURATIONPARSER_H_ 13 #define CXTOOLCONFIGURATIONPARSER_H_ 15 #include "cxResourceExport.h" 21 #include <QDomDocument> 45 mAbsoluteToolFilePath(
""),
46 mOpenIGTLinkTransformId(
""),
47 mOpenIGTLinkImageId(
""),
67 QString getApplicationapplication();
68 std::vector<ToolFileParser::TrackerInternalStructure> getTrackers();
69 std::vector<QString> getAbsoluteToolFilePaths();
70 QString getAbsoluteReferenceFilePath();
71 std::vector<ConfigurationFileParser::ToolStructure> getToolListWithMetaInformation();
73 static QString getTemplatesAbsoluteFilePath();
76 QString getTrackingSystemImplementation();
78 void setConfigDocument(QString configAbsoluteFilePath);
79 bool isConfigFileValid();
80 QString getAbsoluteToolFilePath(QDomElement toolfileelement);
81 QString findXmlFileWithDirNameInPath(QString path);
82 QString searchForExistingToolFilePath(QString relativeToolFilePath);
83 static QString convertToRelativeToolFilePath(QString configFilename, QString absoluteToolFilePath);
84 static QString getToolPathFromRoot(QString root);
86 QString mConfigurationFilePath;
87 QString mLoggingFolder;
89 QDomDocument mConfigureDoc;
TrackersAndToolsMap mTrackersAndTools
the trackers and tools (relative path) that should be used in the config
std::map< TRACKING_SYSTEM, ToolStructureVector > TrackersAndToolsMap
QString mFileName
absolute path and filename for the new config file
std::vector< ToolStructure > ToolStructureVector
Class for reading the files defining a CustusX tool.
QString mTrackingSystemImplementation
QString mClinical_app
the clinical application this config is made for
Namespace for all CustusX production code.