Zivid C++ API  2.4.2+1a2e8cfb-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::SerialNumber Class Reference

The serial number of the camera More...

#include <Zivid/CameraInfo.h>

Public Types

using ValueType = std::string
 The type of the underlying value More...
 

Public Member Functions

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

Static Public Member Functions

static constexpr Range< ValueType::size_type > validSize ()
 The valid sizes for SerialNumber More...
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node More...
 
static constexpr const char * path { "SerialNumber" }
 The full path for this value More...
 
static constexpr const char * name { "SerialNumber" }
 The name of this value More...
 
static constexpr const char * description { R"description(The serial number of the camera)description" }
 The description for this value More...
 

Friends

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

Detailed Description

The serial number of the camera

Member Typedef Documentation

◆ ValueType

The type of the underlying value

Constructor & Destructor Documentation

◆ SerialNumber() [1/2]

Zivid::CameraInfo::SerialNumber::SerialNumber ( )
default

Default constructor

◆ SerialNumber() [2/2]

Zivid::CameraInfo::SerialNumber::SerialNumber ( std::string  value)
inlineexplicit

Constructor

Member Function Documentation

◆ operator!=()

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

Comparison operator

◆ operator<()

bool Zivid::CameraInfo::SerialNumber::operator< ( const SerialNumber other) const
inline

Comparison operator

◆ operator==()

bool Zivid::CameraInfo::SerialNumber::operator== ( const SerialNumber other) const
inline

Comparison operator

◆ operator>()

bool Zivid::CameraInfo::SerialNumber::operator> ( const SerialNumber other) const
inline

Comparison operator

◆ toString()

std::string Zivid::CameraInfo::SerialNumber::toString ( ) const

Get the value as string

◆ validSize()

static constexpr Range<ValueType::size_type> Zivid::CameraInfo::SerialNumber::validSize ( )
inlinestaticconstexpr

The valid sizes for SerialNumber

◆ value()

const std::string& Zivid::CameraInfo::SerialNumber::value ( ) const

Get the value

Friends And Related Function Documentation

◆ DataModel::Detail::Befriend< SerialNumber >

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

◆ operator<<

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

Operator to serialize the value to a stream

Member Data Documentation

◆ description

constexpr const char* Zivid::CameraInfo::SerialNumber::description { R"description(The serial number of the camera)description" }
staticconstexpr

The description for this value

◆ name

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

The name of this value

◆ nodeType

constexpr DataModel::NodeType Zivid::CameraInfo::SerialNumber::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node

◆ path

constexpr const char* Zivid::CameraInfo::SerialNumber::path { "SerialNumber" }
staticconstexpr

The full path for this value


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