#include <ModelConfig.h>
Public Member Functions | |
ModelConfig (const std::string &savedir, const std::vector< InputConfigKeys > &scalarInputKeys, const std::vector< InputConfigKeys > &vectorInputKeys, const std::vector< std::string > &outputKeys) | |
void | load () |
bool | isLoaded () const |
std::string | getConfigPath () const |
std::string | getModelPath () const |
std::string | getSavedir () const |
const std::vector< InputConfig > & | getScalarInputs () const |
const std::vector< InputConfig > & | getVectorInputs () const |
const std::vector< std::string > & | getOutputNodes () const |
Static Public Member Functions | |
static std::string | expandPath (const std::string &path) |
Private Member Functions | |
void | parseConfig (const std::string &fname) |
Static Private Member Functions | |
static InputConfig | parseInput (pt::ptree &tree, const InputConfigKeys &keys) |
Definition at line 88 of file ModelConfig.h.
ModelConfig::ModelConfig | ( | const std::string & | savedir, |
const std::vector< InputConfigKeys > & | scalarInputKeys, | ||
const std::vector< InputConfigKeys > & | vectorInputKeys, | ||
const std::vector< std::string > & | outputKeys | ||
) |
Definition at line 23 of file ModelConfig.cxx.
|
static |
Definition at line 6 of file ModelConfig.cxx.
std::string ModelConfig::getConfigPath | ( | ) | const |
Definition at line 100 of file ModelConfig.cxx.
std::string ModelConfig::getModelPath | ( | ) | const |
Definition at line 105 of file ModelConfig.cxx.
const std::vector< std::string > & ModelConfig::getOutputNodes | ( | ) | const |
Definition at line 120 of file ModelConfig.cxx.
std::string ModelConfig::getSavedir | ( | ) | const |
Definition at line 95 of file ModelConfig.cxx.
const std::vector< InputConfig > & ModelConfig::getScalarInputs | ( | ) | const |
Definition at line 110 of file ModelConfig.cxx.
const std::vector< InputConfig > & ModelConfig::getVectorInputs | ( | ) | const |
Definition at line 115 of file ModelConfig.cxx.
bool ModelConfig::isLoaded | ( | ) | const |
Definition at line 39 of file ModelConfig.cxx.
void ModelConfig::load | ( | ) |
Definition at line 44 of file ModelConfig.cxx.
|
private |
Definition at line 77 of file ModelConfig.cxx.
|
staticprivate |
Definition at line 63 of file ModelConfig.cxx.
|
private |
Definition at line 119 of file ModelConfig.h.
|
private |
Definition at line 129 of file ModelConfig.h.
|
private |
Definition at line 133 of file ModelConfig.h.
|
private |
Definition at line 118 of file ModelConfig.h.
|
private |
Definition at line 127 of file ModelConfig.h.
|
private |
Definition at line 131 of file ModelConfig.h.
|
private |
Definition at line 128 of file ModelConfig.h.
|
private |
Definition at line 132 of file ModelConfig.h.