[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

HuginBase::Variable Class Reference

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

#include <PanoramaVariable.h>

Inheritance diagram for HuginBase::Variable:

Inheritance graph
List of all members.

Public Member Functions

 Variable (const std::string &name, double val=0.0)
virtual ~Variable ()
virtual std::ostream & print (std::ostream &o) const
 print this variable
const std::string & getName () 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.

Constructor & Destructor Documentation

HuginBase::Variable::Variable const std::string &  name,
double  val = 0.0

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

Member Function Documentation

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

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

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

print this variable

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

Member Data Documentation

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

double HuginBase::Variable::value [protected]

The documentation for this class was generated from the following files:

Generated on Mon Sep 20 01:01:36 2010 for Hugintrunk by doxygen