Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
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 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)
 

Function Documentation

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

template<class T >
bool HuginBase::PTScriptParsing::getIntParam ( T &  value,
const std::string &  line,
const std::string &  name 
)
bool HuginBase::PTScriptParsing::getPTDoubleParam ( double &  value,
int &  link,
const std::string &  line,
const std::string &  var 
)
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 
)