PTScriptParsing.cpp File Reference

#include "PTScriptParsing.h"
#include <hugin_utils/utils.h>
#include <stdio.h>

Include dependency graph for PTScriptParsing.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  HuginBase
namespace  HuginBase::PTScriptParsing

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)


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

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 a script line

Definition at line 37 of file PTScriptParsing.cpp.

Referenced by HuginBase::PTScriptParsing::getDoubleParam(), HuginBase::PTScriptParsing::getIntParam(), HuginBase::PTScriptParsing::getPTDoubleParam(), HuginBase::LoadMaskFromStream(), HuginBase::PTScriptParsing::ImgInfo::parse(), HuginBase::PTScriptParsing::readVar(), and HuginBase::Panorama::swapImages().

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

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


Generated on Thu Apr 17 01:25:46 2014 for Hugintrunk by  doxygen 1.3.9.1