CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::ConfigurationFileParser Class Reference

Class for reading the files defining a CustusX tool. More...

#include <cxToolConfigurationParser.h>

Classes

struct  Configuration
 
struct  ToolStructure
 

Public Types

typedef std::vector< ToolStructureToolStructureVector
 
typedef std::map< TRACKING_SYSTEM, ToolStructureVectorTrackersAndToolsMap
 

Public Member Functions

 ConfigurationFileParser (QString absoluteConfigFilePath, QString loggingFolder="")
 
 ~ConfigurationFileParser ()
 
QString getApplicationapplication ()
 
std::vector< ToolFileParser::TrackerInternalStructuregetTrackers ()
 
std::vector< QString > getAbsoluteToolFilePaths ()
 
QString getAbsoluteReferenceFilePath ()
 
std::vector< ConfigurationFileParser::ToolStructuregetToolListWithMetaInformation ()
 
QString getTrackingSystemImplementation ()
 
bool getApplyRefToTools ()
 

Static Public Member Functions

static QString getTemplatesAbsoluteFilePath ()
 
static void saveConfiguration (Configuration &config)
 

Detailed Description

Class for reading the files defining a CustusX tool.

Date
21. march 2011
Author
Janne Beate Bakeng, SINTEF

Definition at line 34 of file cxToolConfigurationParser.h.

Member Typedef Documentation

Definition at line 56 of file cxToolConfigurationParser.h.

Constructor & Destructor Documentation

cx::ConfigurationFileParser::ConfigurationFileParser ( QString  absoluteConfigFilePath,
QString  loggingFolder = "" 
)

Definition at line 43 of file cxToolConfigurationParser.cpp.

cx::ConfigurationFileParser::~ConfigurationFileParser ( )

Definition at line 49 of file cxToolConfigurationParser.cpp.

Member Function Documentation

QString cx::ConfigurationFileParser::getAbsoluteReferenceFilePath ( )

Definition at line 133 of file cxToolConfigurationParser.cpp.

std::vector< QString > cx::ConfigurationFileParser::getAbsoluteToolFilePaths ( )

Definition at line 113 of file cxToolConfigurationParser.cpp.

QString cx::ConfigurationFileParser::getApplicationapplication ( )

Definition at line 53 of file cxToolConfigurationParser.cpp.

bool cx::ConfigurationFileParser::getApplyRefToTools ( )

Definition at line 190 of file cxToolConfigurationParser.cpp.

QString cx::ConfigurationFileParser::getTemplatesAbsoluteFilePath ( )
static

Definition at line 184 of file cxToolConfigurationParser.cpp.

std::vector< ConfigurationFileParser::ToolStructure > cx::ConfigurationFileParser::getToolListWithMetaInformation ( )

Definition at line 157 of file cxToolConfigurationParser.cpp.

std::vector< ToolFileParser::TrackerInternalStructure > cx::ConfigurationFileParser::getTrackers ( )

Definition at line 87 of file cxToolConfigurationParser.cpp.

QString cx::ConfigurationFileParser::getTrackingSystemImplementation ( )

Definition at line 63 of file cxToolConfigurationParser.cpp.

void cx::ConfigurationFileParser::saveConfiguration ( Configuration config)
static

Definition at line 235 of file cxToolConfigurationParser.cpp.


The documentation for this class was generated from the following files: