Zivid C++ API 2.11.1+de9b5dae-1
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::CameraInfo::Revision::Major Class Reference

Major hardware revision number. More...

#include <Zivid/CameraInfo.h>

Public Types

using ValueType = uint32_t
 The type of the underlying value.
 

Public Member Functions

 Major ()=default
 Default constructor.
 
constexpr Major (uint32_t value)
 Constructor.
 
uint32_t value () const
 Get the value.
 
std::string toString () const
 Get the value as string.
 
bool operator== (const Major &other) const
 Comparison operator.
 
bool operator!= (const Major &other) const
 Comparison operator.
 
bool operator< (const Major &other) const
 Comparison operator.
 
bool operator> (const Major &other) const
 Comparison operator.
 
bool operator<= (const Major &other) const
 Comparison operator.
 
bool operator>= (const Major &other) const
 Comparison operator.
 

Static Public Member Functions

static constexpr Range< uint32_tvalidRange ()
 The range of valid values for Major.
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
 
static constexpr const charpath { "Revision/Major" }
 The full path for this value.
 
static constexpr const charname { "Major" }
 The name of this value.
 
static constexpr const chardescription { R"description(Major hardware revision number)description" }
 The description for this value.
 

Friends

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

Detailed Description

Major hardware revision number.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Major() [1/2]

Zivid::CameraInfo::Revision::Major::Major ( )
default

Default constructor.

◆ Major() [2/2]

constexpr Zivid::CameraInfo::Revision::Major::Major ( uint32_t  value)
inlineexplicitconstexpr

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::CameraInfo::Revision::Major::operator!= ( const Major other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::CameraInfo::Revision::Major::operator< ( const Major other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::CameraInfo::Revision::Major::operator<= ( const Major other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::CameraInfo::Revision::Major::operator== ( const Major other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::CameraInfo::Revision::Major::operator> ( const Major other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::CameraInfo::Revision::Major::operator>= ( const Major other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::CameraInfo::Revision::Major::toString ( ) const

Get the value as string.

◆ validRange()

static constexpr Range< uint32_t > Zivid::CameraInfo::Revision::Major::validRange ( )
inlinestaticconstexpr

The range of valid values for Major.

◆ value()

uint32_t Zivid::CameraInfo::Revision::Major::value ( ) const

Get the value.

Friends And Related Symbol Documentation

◆ DataModel::Detail::Befriend< Major >

friend struct DataModel::Detail::Befriend< Major >
friend

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const Major value 
)
friend

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

constexpr const char* Zivid::CameraInfo::Revision::Major::description { R"description(Major hardware revision number)description" }
staticconstexpr

The description for this value.

◆ name

constexpr const char* Zivid::CameraInfo::Revision::Major::name { "Major" }
staticconstexpr

The name of this value.

◆ nodeType

constexpr DataModel::NodeType Zivid::CameraInfo::Revision::Major::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

constexpr const char* Zivid::CameraInfo::Revision::Major::path { "Revision/Major" }
staticconstexpr

The full path for this value.


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