To define the supported string options within a TypeDescriptor.
More...
#include <TypeDescriptor.h>
To define the supported string options within a TypeDescriptor.
- See also
- TypeDescriptor
◆ StringOption() [1/2]
Libpf::Persistency::StringOption::StringOption |
( |
const std::string & |
name, |
|
|
const std::string & |
description, |
|
|
const std::string & |
value, |
|
|
const std::string & |
enumerator |
|
) |
| |
◆ StringOption() [2/2]
Libpf::Persistency::StringOption::StringOption |
( |
| ) |
|
◆ ~StringOption()
Libpf::Persistency::StringOption::~StringOption |
( |
void |
| ) |
|
◆ json()
std::string Libpf::Persistency::StringOption::json |
( |
void |
| ) |
const |
- Returns
- UTF-8 encoded string with the JSON-serialized object
◆ description_
std::string Libpf::Persistency::StringOption::description_ |
◆ enumerator_
std::string Libpf::Persistency::StringOption::enumerator_ |
name of the matching Enumerator, UTF-8 encoded string
◆ name_
std::string Libpf::Persistency::StringOption::name_ |
◆ value_
std::string Libpf::Persistency::StringOption::value_ |
default value, UTF-8 encoded string
The documentation for this struct was generated from the following file: