Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ConfigurationFileParser Class Reference

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

#include <cxToolConfigurationParser.h>

Classes

struct  Configuration
 

Public Types

typedef std::pair< QString, bool > ToolFileAndReference
 
typedef std::vector
< ToolFileAndReference
ToolFilesAndReferenceVector
 
typedef std::map
< TRACKING_SYSTEM,
ToolFilesAndReferenceVector
TrackersAndToolsMap
 

Public Member Functions

 ConfigurationFileParser (QString absoluteConfigFilePath, QString loggingFolder="")
 
 ~ConfigurationFileParser ()
 
QString getApplicationapplication ()
 
std::vector
< ToolFileParser::TrackerInternalStructure
getTrackers ()
 
std::vector< QString > getAbsoluteToolFilePaths ()
 
QString getAbsoluteReferenceFilePath ()
 

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 55 of file cxToolConfigurationParser.h.

Member Typedef Documentation

typedef std::pair<QString, bool> cx::ConfigurationFileParser::ToolFileAndReference

Definition at line 58 of file cxToolConfigurationParser.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file cxToolConfigurationParser.cpp.

cx::ConfigurationFileParser::~ConfigurationFileParser ( )

Definition at line 58 of file cxToolConfigurationParser.cpp.

Member Function Documentation

QString cx::ConfigurationFileParser::getAbsoluteReferenceFilePath ( )

Definition at line 118 of file cxToolConfigurationParser.cpp.

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

Definition at line 98 of file cxToolConfigurationParser.cpp.

QString cx::ConfigurationFileParser::getApplicationapplication ( )

Definition at line 62 of file cxToolConfigurationParser.cpp.

QString cx::ConfigurationFileParser::getTemplatesAbsoluteFilePath ( )
static

Definition at line 142 of file cxToolConfigurationParser.cpp.

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

Definition at line 72 of file cxToolConfigurationParser.cpp.

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

Definition at line 170 of file cxToolConfigurationParser.cpp.


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