HuginBase::PTScriptParsing Namespace Reference


Classes

struct  ImgInfo

Functions

bool getPTParam (std::string &output, const std::string &line, const std::string &parameter)
 helper functions for parsing a script line
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)


Function Documentation

IMPEX bool HuginBase::PTScriptParsing::getPTParam ( std::string output,
const std::string line,
const std::string parameter 
)

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(), readVar(), and HuginBase::Panorama::swapImages().

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().

Referenced by HuginBase::Panorama::swapImages().

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(), and hugin_utils::stringToDouble().

Referenced by HuginBase::PTScriptParsing::ImgInfo::parse().

bool HuginBase::PTScriptParsing::readVar ( Variable &  var,
int &  link,
const std::string line 
)

Definition at line 183 of file PTScriptParsing.cpp.

References DEBUG_ASSERT, DEBUG_DEBUG, makefile::Variable::getName(), getPTParam(), and hugin_utils::stringToDouble().

Referenced by HuginBase::Panorama::updateLineCtrlPoints().

template<class T>
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(), HuginBase::PTScriptParsing::ImgInfo::parse(), and HuginBase::Panorama::swapImages().


Generated on 21 Nov 2014 for Hugintrunk by  doxygen 1.4.7