SPH
Classes | Public Member Functions | List of all members
BatchManager Class Reference

#include <BatchDialog.h>

Public Member Functions

 BatchManager ()
 
BatchManager clone () const
 
Size getRunCount () const
 
std::string getRunName (const Size rowIdx) const
 
Size getParamCount () const
 
std::string getParamKey (const Size colIdx) const
 
SharedPtr< JobNodegetParamNode (const Size colIdx) const
 
std::string getCell (const Size colIdx, const Size rowIdx) const
 
void setRunName (const Size rowIdx, const std::string &name)
 
void setParam (const Size colIdx, const SharedPtr< JobNode > &node, const std::string &key)
 
void setCell (const Size colIdx, const Size rowIdx, const std::string &value)
 
void resize (const Size rowCnt, const Size colCnt)
 
void duplicateRun (const Size rowIdx)
 
void deleteRun (const Size rowIdx)
 
void modifyHierarchy (const Size runIdx, JobNode &node)
 Modifies the settings of the given node hierarchy. More...
 
void load (Config &config, ArrayView< const SharedPtr< JobNode >> nodes)
 
void save (Config &config)
 

Detailed Description

Definition at line 12 of file BatchDialog.h.

Constructor & Destructor Documentation

◆ BatchManager()

BatchManager::BatchManager ( )
inline

Definition at line 25 of file BatchDialog.h.

Member Function Documentation

◆ clone()

BatchManager BatchManager::clone ( ) const
inline

Definition at line 29 of file BatchDialog.h.

◆ deleteRun()

void BatchManager::deleteRun ( const Size  rowIdx)
inline

Definition at line 107 of file BatchDialog.h.

◆ duplicateRun()

void BatchManager::duplicateRun ( const Size  rowIdx)
inline

Definition at line 93 of file BatchDialog.h.

◆ getCell()

std::string BatchManager::getCell ( const Size  colIdx,
const Size  rowIdx 
) const
inline

Definition at line 61 of file BatchDialog.h.

◆ getParamCount()

Size BatchManager::getParamCount ( ) const
inline

Definition at line 49 of file BatchDialog.h.

◆ getParamKey()

std::string BatchManager::getParamKey ( const Size  colIdx) const
inline

Definition at line 53 of file BatchDialog.h.

◆ getParamNode()

SharedPtr<JobNode> BatchManager::getParamNode ( const Size  colIdx) const
inline

Definition at line 57 of file BatchDialog.h.

◆ getRunCount()

Size BatchManager::getRunCount ( ) const
inline

Definition at line 37 of file BatchDialog.h.

◆ getRunName()

std::string BatchManager::getRunName ( const Size  rowIdx) const
inline

Definition at line 41 of file BatchDialog.h.

◆ load()

void BatchManager::load ( Config config,
ArrayView< const SharedPtr< JobNode >>  nodes 
)

Definition at line 94 of file BatchDialog.cpp.

◆ modifyHierarchy()

NAMESPACE_SPH_BEGIN void BatchManager::modifyHierarchy ( const Size  runIdx,
JobNode node 
)

Modifies the settings of the given node hierarchy.

Nodes are modified according to parameters of given run. Other parameters or nodes not specified in the manager are unchanged.

Definition at line 14 of file BatchDialog.cpp.

◆ resize()

void BatchManager::resize ( const Size  rowCnt,
const Size  colCnt 
)
inline

Definition at line 78 of file BatchDialog.h.

◆ save()

void BatchManager::save ( Config config)

Definition at line 134 of file BatchDialog.cpp.

◆ setCell()

void BatchManager::setCell ( const Size  colIdx,
const Size  rowIdx,
const std::string &  value 
)
inline

Definition at line 74 of file BatchDialog.h.

◆ setParam()

void BatchManager::setParam ( const Size  colIdx,
const SharedPtr< JobNode > &  node,
const std::string &  key 
)
inline

Definition at line 69 of file BatchDialog.h.

◆ setRunName()

void BatchManager::setRunName ( const Size  rowIdx,
const std::string &  name 
)
inline

Definition at line 65 of file BatchDialog.h.


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