Hugintrunk
0.1
|
Classes | |
struct | ImgInfo |
Functions | |
bool | getPTParam (std::string &output, const std::string &line, const std::string ¶meter) |
helper functions for parsing of a script line More... | |
bool | getDoubleParam (double &d, const std::string &line, const std::string &name) |
bool | getPTDoubleParam (double &value, int &link, const std::string &line, const std::string &var) |
bool | readVar (Variable &var, int &link, const std::string &line) |
template<class T > | |
bool | getIntParam (T &value, const std::string &line, const std::string &name) |
bool HuginBase::PTScriptParsing::getDoubleParam | ( | double & | d, |
const std::string & | line, | ||
const std::string & | name | ||
) |
Definition at line 153 of file PTScriptParsing.cpp.
References getPTParam(), and hugin_utils::stringToDouble().
bool HuginBase::PTScriptParsing::getIntParam | ( | T & | value, |
const std::string & | line, | ||
const std::string & | name | ||
) |
Definition at line 125 of file PTScriptParsing.h.
References getPTParam().
Referenced by HuginBase::LoadMaskFromStream(), and HuginBase::PTScriptParsing::ImgInfo::parse().
bool HuginBase::PTScriptParsing::getPTDoubleParam | ( | double & | value, |
int & | link, | ||
const std::string & | line, | ||
const std::string & | var | ||
) |
Definition at line 162 of file PTScriptParsing.cpp.
References DEBUG_ASSERT, DEBUG_DEBUG, getPTParam(), hugin_utils::stringToDouble(), and hugin_utils::stringToInt().
Referenced by HuginBase::PTScriptParsing::ImgInfo::parse().
IMPEX bool HuginBase::PTScriptParsing::getPTParam | ( | std::string & | output, |
const std::string & | line, | ||
const std::string & | parameter | ||
) |
helper functions for parsing of a script line
helper functions for parsing a script line
Definition at line 37 of file PTScriptParsing.cpp.
Referenced by getDoubleParam(), getIntParam(), getPTDoubleParam(), HuginBase::LoadMaskFromStream(), HuginBase::PTScriptParsing::ImgInfo::parse(), and readVar().
bool HuginBase::PTScriptParsing::readVar | ( | Variable & | var, |
int & | link, | ||
const std::string & | line | ||
) |
Definition at line 186 of file PTScriptParsing.cpp.
References DEBUG_ASSERT, DEBUG_DEBUG, HuginBase::Variable::getName(), getPTParam(), HuginBase::Variable::setValue(), hugin_utils::stringToDouble(), and hugin_utils::stringToInt().