Class to store and retrieve folder hierarchy information of RESULTS_FOLDER. Only Root node is explicitly stored in m_RootNode. No. of sub levels in the hierarchry is defined in the LEVEL constant.
More...
#include <QmitknnUNetFolderParser.h>
|
| 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 > |
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 > |
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 > |
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 > |
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 > |
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 > |
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...
|
|
Class to store and retrieve folder hierarchy information of RESULTS_FOLDER. Only Root node is explicitly stored in m_RootNode. No. of sub levels in the hierarchry is defined in the LEVEL constant.
Definition at line 39 of file QmitknnUNetFolderParser.h.
◆ QmitknnUNetFolderParser()
QmitknnUNetFolderParser::QmitknnUNetFolderParser |
( |
const QString |
parentFolder | ) |
|
◆ ~QmitknnUNetFolderParser()
QmitknnUNetFolderParser::~QmitknnUNetFolderParser |
( |
| ) |
|
|
default |
◆ 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
-
- 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
-
- 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
-
- 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
-
- Parameters
-
- 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
-
- Parameters
-
- 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
-
- Parameters
-
- 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: