g2o
Loading...
Searching...
No Matches
g2o::BaseProperty Class Referenceabstract

#include <property.h>

Inheritance diagram for g2o::BaseProperty:

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

References _name.

Referenced by g2o::Property< int >::Property(), and g2o::Property< int >::Property().

◆ ~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; }

References _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.

Referenced by BaseProperty(), and name().


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