Zivid C++ API 2.12.0+6afd4961-1
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::Settings::Processing::Filters::Noise::Repair::Enabled Class Reference

Enable or disable noise repair. More...

#include <Zivid/Settings.h>

Public Types

using ValueType = bool
 The type of the underlying value.
 

Public Member Functions

 Enabled ()=default
 Default constructor.
 
constexpr Enabled (bool value)
 Constructor.
 
bool value () const
 Get the value.
 
bool hasValue () const
 Check if the value is set.
 
void reset ()
 Reset the node to unset state.
 
std::string toString () const
 Get the value as string.
 
bool operator== (const Enabled &other) const
 Comparison operator.
 
bool operator!= (const Enabled &other) const
 Comparison operator.
 

Static Public Member Functions

static std::set< boolvalidValues ()
 All valid values of Enabled.
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
 
static constexpr const charpath { "Processing/Filters/Noise/Repair/Enabled" }
 The full path for this value.
 
static constexpr const charname { "Enabled" }
 The name of this value.
 
static constexpr const chardescription
 The description for this value.
 
static const Enabled yes
 On/enabled.
 
static const Enabled no
 Off/disabled.
 

Friends

struct DataModel::Detail::Befriend< Enabled >
 
std::ostream & operator<< (std::ostream &stream, const Enabled &value)
 Operator to serialize the value to a stream.
 

Detailed Description

Enable or disable noise repair.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Enabled() [1/2]

Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::Enabled ( )
default

Default constructor.

◆ Enabled() [2/2]

constexpr Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::Enabled ( bool value)
inlineexplicitconstexpr

Constructor.

Member Function Documentation

◆ hasValue()

bool Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::hasValue ( ) const

Check if the value is set.

◆ operator!=()

bool Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::operator!= ( const Enabled & other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::operator== ( const Enabled & other) const
inline

Comparison operator.

◆ reset()

void Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::reset ( )

Reset the node to unset state.

◆ toString()

std::string Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::toString ( ) const

Get the value as string.

◆ validValues()

static std::set< bool > Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::validValues ( )
inlinestatic

All valid values of Enabled.

◆ value()

bool Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::value ( ) const

Get the value.

If this object does not contain a value (see hasValue) then this method throws an exception.

Friends And Related Symbol Documentation

◆ 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.

Member Data Documentation

◆ description

constexpr const char* Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::description
staticconstexpr
Initial value:
{
R"description(Enable or disable noise repair.)description"
}

The description for this value.

◆ name

constexpr const char* Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::name { "Enabled" }
staticconstexpr

The name of this value.

◆ no

const Enabled Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::no
static

Off/disabled.

◆ nodeType

constexpr DataModel::NodeType Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

constexpr const char* Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::path { "Processing/Filters/Noise/Repair/Enabled" }
staticconstexpr

The full path for this value.

◆ yes

const Enabled Zivid::Settings::Processing::Filters::Noise::Repair::Enabled::yes
static

On/enabled.


The documentation for this class was generated from the following file: