Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
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 More...
 

Public Member Functions

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

Static Public Member Functions

static constexpr Range< uint32_t > validRange ()
 The range of valid values for Major More...
 

Static Public Attributes

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

Friends

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

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 Function 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: