Enable diagnostics
More...
#include <Zivid/Settings.h>
◆ ValueType
The type of the underlying value
◆ Enabled() [1/2]
Zivid::Settings::Diagnostics::Enabled::Enabled |
( |
| ) |
|
|
default |
◆ Enabled() [2/2]
constexpr Zivid::Settings::Diagnostics::Enabled::Enabled |
( |
bool |
value | ) |
|
|
inlineexplicitconstexpr |
◆ hasValue()
bool Zivid::Settings::Diagnostics::Enabled::hasValue |
( |
| ) |
const |
Check if the value is set
◆ operator!=()
bool Zivid::Settings::Diagnostics::Enabled::operator!= |
( |
const Enabled & |
other | ) |
const |
|
inline |
◆ operator==()
bool Zivid::Settings::Diagnostics::Enabled::operator== |
( |
const Enabled & |
other | ) |
const |
|
inline |
◆ reset()
void Zivid::Settings::Diagnostics::Enabled::reset |
( |
| ) |
|
Reset the node to unset state
◆ toString()
std::string Zivid::Settings::Diagnostics::Enabled::toString |
( |
| ) |
const |
◆ validValues()
static std::set< bool > Zivid::Settings::Diagnostics::Enabled::validValues |
( |
| ) |
|
|
inlinestatic |
◆ value()
bool Zivid::Settings::Diagnostics::Enabled::value |
( |
| ) |
const |
Get the value
If this object does not contain a value (see hasValue) then this method throws an exception.
◆ DataModel::Detail::Befriend< Enabled >
friend struct DataModel::Detail::Befriend< Enabled > |
|
friend |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
stream, |
|
|
const Enabled & |
value |
|
) |
| |
|
friend |
Operator to serialize the value to a stream
◆ description
constexpr const char* Zivid::Settings::Diagnostics::Enabled::description { R"description(Enable diagnostics)description" } |
|
staticconstexpr |
The description for this value
◆ name
constexpr const char* Zivid::Settings::Diagnostics::Enabled::name { "Enabled" } |
|
staticconstexpr |
◆ no
const Enabled Zivid::Settings::Diagnostics::Enabled::no |
|
static |
◆ nodeType
◆ path
constexpr const char* Zivid::Settings::Diagnostics::Enabled::path { "Diagnostics/Enabled" } |
|
staticconstexpr |
The full path for this value
◆ yes
const Enabled Zivid::Settings::Diagnostics::Enabled::yes |
|
static |
The documentation for this class was generated from the following file: