HuginBase::Variable Class Reference

a variable has a value and a name. More...

#include <PanoramaVariable.h>

List of all members.

Public Member Functions

 Variable (const std::string &name, double val=0.0)
virtual ~Variable ()
virtual std::ostreamprint (std::ostream &o) const
 print this variable
const std::stringgetName () const
void setValue (double v)
double getValue () const

Protected Attributes

std::string name
double value

Detailed Description

a variable has a value and a name.

linking is only supported by LinkedVariable, which is only used by Lens.

Definition at line 48 of file PanoramaVariable.h.

Constructor & Destructor Documentation

HuginBase::Variable::Variable ( const std::string name,
double  val = 0.0 
) [inline]

Definition at line 58 of file PanoramaVariable.h.

virtual HuginBase::Variable::~Variable (  )  [inline, virtual]

Definition at line 62 of file PanoramaVariable.h.

Member Function Documentation

const std::string& HuginBase::Variable::getName (  )  const [inline]

Definition at line 70 of file PanoramaVariable.h.

double HuginBase::Variable::getValue (  )  const [inline]

Definition at line 76 of file PanoramaVariable.h.

virtual std::ostream& HuginBase::Variable::print ( std::ostream o  )  const [virtual]

print this variable

void HuginBase::Variable::setValue ( double  v  )  [inline]

Definition at line 73 of file PanoramaVariable.h.

Member Data Documentation

std::string HuginBase::Variable::name [protected]

Definition at line 80 of file PanoramaVariable.h.

double HuginBase::Variable::value [protected]

Definition at line 81 of file PanoramaVariable.h.

The documentation for this class was generated from the following file:
Generated on 20 May 2018 for Hugintrunk by  doxygen 1.4.7