Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitknnUNetFolderParser Class Reference

Class to store and retreive folder hierarchy information of RESULTS_FOLDER. Only Root node is explicitly stored in m_RootNode. No. of sub levels in the hierachry is defined in the LEVEL constant. More...

#include <QmitknnUNetFolderParser.h>

Public Member Functions

 QmitknnUNetFolderParser (const QString parentFolder)
 Construct a new QmitknnUNetFolderParser object Initializes root folder node object pointer calls. More...
 
 ~QmitknnUNetFolderParser ()=default
 Destroy the QmitknnUNetFolderParser object. More...
 
QString getResultsFolder ()
 Returns the "Results Folder" string which is parent path of the root node. More...
 
template<typename T >
getModelNames ()
 Returns the Model Names from root node. Template function, type can be any of stl or Qt containers which supports push_back call. More...
 
template<typename T >
getTasksForModel (const QString &modelName)
 Returns the task names for a given model. Template function, type can be any of stl or Qt containers which supports push_back call. More...
 
template<typename T >
getModelsForTask (const QString &taskName)
 Returns the models names for a given task. Template function, type can be any of stl or Qt containers which supports push_back call. More...
 
template<typename T >
getAllTasks ()
 Returns all the task names present in the root node with possible duplicates. Template function, type can be any of stl or Qt containers which supports push_back call. More...
 
template<typename T >
getTrainerPlannersForTask (const QString &taskName, const QString &modelName)
 Returns the trainer / planner names for a given task & model. Template function, type can be any of stl or Qt containers which supports push_back call. More...
 
template<typename T >
getFoldsForTrainerPlanner (const QString &trainer, const QString &planner, const QString &taskName, const QString &modelName)
 Returns the Folds names for a given trainer,planner,task & model name. Template function, type can be any of stl or Qt containers which supports push_back call. More...
 

Detailed Description

Class to store and retreive folder hierarchy information of RESULTS_FOLDER. Only Root node is explicitly stored in m_RootNode. No. of sub levels in the hierachry is defined in the LEVEL constant.

Definition at line 39 of file QmitknnUNetFolderParser.h.

Constructor & Destructor Documentation

◆ QmitknnUNetFolderParser()

QmitknnUNetFolderParser::QmitknnUNetFolderParser ( const QString  parentFolder)

Construct a new QmitknnUNetFolderParser object Initializes root folder node object pointer calls.

Parameters
parentFolder

◆ ~QmitknnUNetFolderParser()

QmitknnUNetFolderParser::~QmitknnUNetFolderParser ( )
default

Destroy the QmitknnUNetFolderParser object.

Member Function Documentation

◆ getAllTasks()

template<typename T >
T QmitknnUNetFolderParser::getAllTasks ( )
inline

Returns all the task names present in the root node with possible duplicates. Template function, type can be any of stl or Qt containers which supports push_back call.

Template Parameters
T
Returns
T (any of stl or Qt containers which supports push_back call)

Definition at line 122 of file QmitknnUNetFolderParser.h.

◆ getFoldsForTrainerPlanner()

template<typename T >
T QmitknnUNetFolderParser::getFoldsForTrainerPlanner ( const QString &  trainer,
const QString &  planner,
const QString &  taskName,
const QString &  modelName 
)
inline

Returns the Folds names for a given trainer,planner,task & model name. Template function, type can be any of stl or Qt containers which supports push_back call.

Template Parameters
T
Parameters
trainer
planner
taskName
modelName
Returns
T (any of stl or Qt containers which supports push_back call)

Definition at line 163 of file QmitknnUNetFolderParser.h.

◆ getModelNames()

template<typename T >
T QmitknnUNetFolderParser::getModelNames ( )
inline

Returns the Model Names from root node. Template function, type can be any of stl or Qt containers which supports push_back call.

Template Parameters
T
Returns
T (any of stl or Qt containers which supports push_back call)

Definition at line 68 of file QmitknnUNetFolderParser.h.

◆ getModelsForTask()

template<typename T >
T QmitknnUNetFolderParser::getModelsForTask ( const QString &  taskName)
inline

Returns the models names for a given task. Template function, type can be any of stl or Qt containers which supports push_back call.

Template Parameters
T
Parameters
taskName
Returns
T (any of stl or Qt containers which supports push_back call)

Definition at line 99 of file QmitknnUNetFolderParser.h.

◆ getResultsFolder()

QString QmitknnUNetFolderParser::getResultsFolder ( )

Returns the "Results Folder" string which is parent path of the root node.

Returns
QString

◆ getTasksForModel()

template<typename T >
T QmitknnUNetFolderParser::getTasksForModel ( const QString &  modelName)
inline

Returns the task names for a given model. Template function, type can be any of stl or Qt containers which supports push_back call.

Template Parameters
T
Parameters
modelName
Returns
T (any of stl or Qt containers which supports push_back call)

Definition at line 83 of file QmitknnUNetFolderParser.h.

◆ getTrainerPlannersForTask()

template<typename T >
T QmitknnUNetFolderParser::getTrainerPlannersForTask ( const QString &  taskName,
const QString &  modelName 
)
inline

Returns the trainer / planner names for a given task & model. Template function, type can be any of stl or Qt containers which supports push_back call.

Template Parameters
T
Parameters
taskName
modelName
Returns
T (any of stl or Qt containers which supports push_back call)

Definition at line 143 of file QmitknnUNetFolderParser.h.


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