To define the supported integer options within a TypeDescriptor.
More...
#include <TypeDescriptor.h>
To define the supported integer options within a TypeDescriptor.
- See also
- TypeDescriptor
◆ IntegerOption() [1/2]
Libpf::Persistency::IntegerOption::IntegerOption |
( |
const std::string & |
name, |
|
|
const std::string & |
description, |
|
|
int |
value, |
|
|
int |
min, |
|
|
int |
max |
|
) |
| |
◆ IntegerOption() [2/2]
Libpf::Persistency::IntegerOption::IntegerOption |
( |
void |
| ) |
|
◆ ~IntegerOption()
Libpf::Persistency::IntegerOption::~IntegerOption |
( |
void |
| ) |
|
◆ json()
std::string Libpf::Persistency::IntegerOption::json |
( |
void |
| ) |
const |
- Returns
- UTF-8 encoded string with the JSON-serialized object
◆ description_
std::string Libpf::Persistency::IntegerOption::description_ |
◆ max_
int Libpf::Persistency::IntegerOption::max_ |
maximum value (inclusive)
◆ min_
int Libpf::Persistency::IntegerOption::min_ |
minimum value (inclusive)
◆ name_
std::string Libpf::Persistency::IntegerOption::name_ |
◆ value_
int Libpf::Persistency::IntegerOption::value_ |
The documentation for this struct was generated from the following file: