A class to translate an attribute from a string.
More...
#include <mia/core/attributes.hh>
Public Member Functions |
PAttribute | from_string (const std::string &value) const |
virtual | ~CAttrTranslator () |
| The virtual destructor just ensures virtual destruction and silences a warning.
|
Detailed Description
A class to translate an attribute from a string.
This class is the base class to translate attributes from their typed value to a string and back.
Definition at line 366 of file attributes.hh.
Constructor & Destructor Documentation
virtual CAttrTranslator::~CAttrTranslator |
( |
| ) |
|
|
inlinevirtual |
The virtual destructor just ensures virtual destruction and silences a warning.
Definition at line 369 of file attributes.hh.
CAttrTranslator::CAttrTranslator |
( |
| ) |
|
|
protected |
Member Function Documentation
void CAttrTranslator::do_register |
( |
const std::string & |
key | ) |
|
|
protected |
PAttribute CAttrTranslator::from_string |
( |
const std::string & |
value | ) |
const |
- Parameters
-
value | the string value of the object |
- Returns
- a shared pointer to the newly created attribute
The documentation for this class was generated from the following file: