karto::AbstractParameter Class Reference

#include <Karto.h>

Inheritance diagram for karto::AbstractParameter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AbstractParameter (const std::string &rName, const std::string &rDescription, ParameterManager *pParameterManger=NULL)
 AbstractParameter (const std::string &rName, ParameterManager *pParameterManger=NULL)
virtual AbstractParameterClone ()=0
const std::string & GetDescription () const
const std::string & GetName () const
virtual const std::string GetValueAsString () const =0
virtual void SetValueFromString (const std::string &rStringValue)=0
virtual ~AbstractParameter ()

Private Attributes

std::string m_Description
std::string m_Name

Friends

std::ostream & operator<< (std::ostream &rStream, const AbstractParameter &rParameter)

Detailed Description

Definition at line 2857 of file Karto.h.


Constructor & Destructor Documentation

karto::AbstractParameter::AbstractParameter ( const std::string &  rName,
ParameterManager pParameterManger = NULL 
) [inline]

Constructs a parameter with the given name

Parameters:
rName 

Definition at line 2864 of file Karto.h.

karto::AbstractParameter::AbstractParameter ( const std::string &  rName,
const std::string &  rDescription,
ParameterManager pParameterManger = NULL 
) [inline]

Constructs a parameter with the given name and description

Parameters:
rName 
rDescription 

Definition at line 2879 of file Karto.h.

virtual karto::AbstractParameter::~AbstractParameter (  )  [inline, virtual]

Destructor

Definition at line 2893 of file Karto.h.


Member Function Documentation

virtual AbstractParameter* karto::AbstractParameter::Clone (  )  [pure virtual]
const std::string& karto::AbstractParameter::GetDescription (  )  const [inline]

Returns the parameter description

Returns:
parameter description

Definition at line 2911 of file Karto.h.

const std::string& karto::AbstractParameter::GetName (  )  const [inline]

Gets the name of this object

Returns:
name

Definition at line 2902 of file Karto.h.

virtual const std::string karto::AbstractParameter::GetValueAsString (  )  const [pure virtual]
virtual void karto::AbstractParameter::SetValueFromString ( const std::string &  rStringValue  )  [pure virtual]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  rStream,
const AbstractParameter rParameter 
) [friend]

Write this parameter onto output stream

Parameters:
rStream output stream
rParameter 

Definition at line 2940 of file Karto.h.


Member Data Documentation

Definition at line 2951 of file Karto.h.

std::string karto::AbstractParameter::m_Name [private]

Definition at line 2950 of file Karto.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


karto
Author(s): SRI International (package maintained by Brian Gerkey)
autogenerated on Fri Jan 11 10:07:05 2013