Libpf::Utility::Option Class Reference
To define the individual values of an Enumerator. More...
#include <EnumeratorInterface.h>
Public Member Functions | |
Option (std::string name, std::string description) | |
const std::string & | name (void) const |
const std::string & | description (void) const |
std::string | json (void) const |
Detailed Description
To define the individual values of an Enumerator.
- See also
- Enumerator
Constructor & Destructor Documentation
◆ Option()
Libpf::Utility::Option::Option | ( | std::string | name, |
std::string | description | ||
) |
Member Function Documentation
◆ description()
const std::string & Libpf::Utility::Option::description | ( | void | ) | const |
- Returns
- the description of the option
◆ json()
std::string Libpf::Utility::Option::json | ( | void | ) | const |
- Returns
- UTF-8 encoded string with the JSON-serialized object
◆ name()
const std::string & Libpf::Utility::Option::name | ( | void | ) | const |
- Returns
- the name of the option
The documentation for this class was generated from the following file: