Zivid C++ API 2.13.1+18e79e79-1
Zivid::CameraInfo::Revision::Major Class Reference

Major hardware revision number. This field is deprecated and may be removed in a future version of the SDK. Please use HardwareRevision instead. 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_t > validRange ()
 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 char * path { "Revision/Major" }
 The full path for this value.
 
static constexpr const char * name { "Major" }
 The name of this value.
 
static constexpr const char * 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. This field is deprecated and may be removed in a future version of the SDK. Please use HardwareRevision instead.

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]

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

const char* Zivid::CameraInfo::Revision::Major::description
staticconstexpr
Initial value:
{
R"description(Major hardware revision number. This field is deprecated and may be removed in a future version
of the SDK. Please use HardwareRevision instead.
)description"
}

The description for this value.

◆ name

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

The name of this value.

◆ nodeType

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

The type of this node.

◆ path

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: