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::FrameInfo::SystemInfo::ComputeDevice::Vendor Class Reference

Compute device vendor. More...

#include <Zivid/FrameInfo.h>

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
 
static constexpr const charpath { "SystemInfo/ComputeDevice/Vendor" }
 The full path for this value.
 
static constexpr const charname { "Vendor" }
 The name of this value.
 
static constexpr const chardescription { R"description(Compute device vendor)description" }
 The description for this value.
 

Friends

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

Detailed Description

Compute device vendor.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Vendor() [1/2]

Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::Vendor ( )
default

Default constructor.

◆ Vendor() [2/2]

Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::Vendor ( std::string  value)
inlineexplicit

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::operator!= ( const Vendor other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::operator< ( const Vendor other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::operator<= ( const Vendor other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::operator== ( const Vendor other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::operator> ( const Vendor other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::operator>= ( const Vendor other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::toString ( ) const

Get the value as string.

◆ validSize()

static constexpr Range< ValueType::size_type > Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::validSize ( )
inlinestaticconstexpr

The valid sizes for Vendor.

◆ value()

const std::string & Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::value ( ) const

Get the value.

Friends And Related Symbol Documentation

◆ DataModel::Detail::Befriend< Vendor >

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

◆ operator<<

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

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

constexpr const char* Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::description { R"description(Compute device vendor)description" }
staticconstexpr

The description for this value.

◆ name

constexpr const char* Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::name { "Vendor" }
staticconstexpr

The name of this value.

◆ nodeType

constexpr DataModel::NodeType Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

constexpr const char* Zivid::FrameInfo::SystemInfo::ComputeDevice::Vendor::path { "SystemInfo/ComputeDevice/Vendor" }
staticconstexpr

The full path for this value.


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