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 Sat Aug 2 01:25:50 2014 for Hugintrunk by  doxygen 1.3.9.1