g2o
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
g2o::BaseProperty Class Referenceabstract

#include <property.h>

Inheritance diagram for g2o::BaseProperty:
Inheritance graph
[legend]

Public Member Functions

 BaseProperty (const std::string &name_)
 
virtual ~BaseProperty ()
 
const std::string & name ()
 
virtual std::string toString () const =0
 
virtual bool fromString (const std::string &s)=0
 

Protected Attributes

std::string _name
 

Detailed Description

Definition at line 39 of file property.h.

Constructor & Destructor Documentation

◆ BaseProperty()

g2o::BaseProperty::BaseProperty ( const std::string &  name_)

Definition at line 39 of file property.cpp.

39: _name(name_) {}
std::string _name
Definition property.h:48

◆ ~BaseProperty()

g2o::BaseProperty::~BaseProperty ( )
virtual

Definition at line 41 of file property.cpp.

41{}

Member Function Documentation

◆ fromString()

virtual bool g2o::BaseProperty::fromString ( const std::string &  s)
pure virtual

◆ name()

const std::string & g2o::BaseProperty::name ( )
inline

Definition at line 43 of file property.h.

43{ return _name; }

Referenced by g2o::PropertyMap::addProperty(), and PropertiesWidget::applyProperties().

◆ toString()

virtual std::string g2o::BaseProperty::toString ( ) const
pure virtual

Member Data Documentation

◆ _name

std::string g2o::BaseProperty::_name
protected

Definition at line 48 of file property.h.


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