Zivid C++ API 2.12.0+6afd4961-1
|
The model name of the camera. This is a user-friendly display name that may contain spaces and special characters. We recommend to use Model
instead if you want to programmatically check for camera model.
More...
#include <Zivid/CameraInfo.h>
Public Types | |
using | ValueType = std::string |
The type of the underlying value. | |
Public Member Functions | |
ModelName ()=default | |
Default constructor. | |
ModelName (std::string value) | |
Constructor. | |
const std::string & | value () const |
Get the value. | |
std::string | toString () const |
Get the value as string. | |
bool | operator== (const ModelName &other) const |
Comparison operator. | |
bool | operator!= (const ModelName &other) const |
Comparison operator. | |
bool | operator< (const ModelName &other) const |
Comparison operator. | |
bool | operator> (const ModelName &other) const |
Comparison operator. | |
bool | operator<= (const ModelName &other) const |
Comparison operator. | |
bool | operator>= (const ModelName &other) const |
Comparison operator. | |
Static Public Member Functions | |
static constexpr Range< ValueType::size_type > | validSize () |
The valid sizes for ModelName. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "ModelName" } |
The full path for this value. | |
static constexpr const char * | name { "ModelName" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
Friends | |
struct | DataModel::Detail::Befriend< ModelName > |
std::ostream & | operator<< (std::ostream &stream, const ModelName &value) |
Operator to serialize the value to a stream. | |
The model name of the camera. This is a user-friendly display name that may contain spaces and special characters. We recommend to use Model
instead if you want to programmatically check for camera model.
using Zivid::CameraInfo::ModelName::ValueType = std::string |
The type of the underlying value.
|
default |
Default constructor.
|
inlineexplicit |
Constructor.
Comparison operator.
Comparison operator.
Comparison operator.
Comparison operator.
Comparison operator.
Comparison operator.
std::string Zivid::CameraInfo::ModelName::toString | ( | ) | const |
Get the value as string.
|
inlinestaticconstexpr |
The valid sizes for ModelName.
const std::string & Zivid::CameraInfo::ModelName::value | ( | ) | const |
Get the value.
Operator to serialize the value to a stream.
The description for this value.
The name of this value.
|
staticconstexpr |
The type of this node.
The full path for this value.