Zivid C++ API 2.12.0+6afd4961-1
|
The model of the camera. More...
#include <Zivid/CameraInfo.h>
Public Types | |
enum class | ValueType { zividOnePlusSmall , zividOnePlusMedium , zividOnePlusLarge , zividTwo , zividTwoL100 , zivid2PlusM130 , zivid2PlusM60 , zivid2PlusL110 } |
The type of the underlying value. More... | |
Public Member Functions | |
Model ()=default | |
Default constructor. | |
constexpr | Model (ValueType value) |
Constructor. | |
ValueType | value () const |
Get the value. | |
std::string | toString () const |
Get the value as string. | |
bool | operator== (const Model &other) const |
Comparison operator. | |
bool | operator!= (const Model &other) const |
Comparison operator. | |
Static Public Member Functions | |
static std::set< ValueType > | validValues () |
All valid values of Model. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "Model" } |
The full path for this value. | |
static constexpr const char * | name { "Model" } |
The name of this value. | |
static constexpr const char * | description { R"description(The model of the camera)description" } |
The description for this value. | |
static const Model | zividOnePlusSmall |
zividOnePlusSmall | |
static const Model | zividOnePlusMedium |
zividOnePlusMedium | |
static const Model | zividOnePlusLarge |
zividOnePlusLarge | |
static const Model | zividTwo |
zividTwo | |
static const Model | zividTwoL100 |
zividTwoL100 | |
static const Model | zivid2PlusM130 |
zivid2PlusM130 | |
static const Model | zivid2PlusM60 |
zivid2PlusM60 | |
static const Model | zivid2PlusL110 |
zivid2PlusL110 | |
Friends | |
struct | DataModel::Detail::Befriend< Model > |
std::ostream & | operator<< (std::ostream &stream, const Model::ValueType &value) |
Operator to serialize ValueType to a stream. | |
std::ostream & | operator<< (std::ostream &stream, const Model &value) |
Operator to serialize the value to a stream. | |
The model of the camera.
|
default |
Default constructor.
std::string Zivid::CameraInfo::Model::toString | ( | ) | const |
Get the value as string.
All valid values of Model.
ValueType Zivid::CameraInfo::Model::value | ( | ) | const |
Get the value.
Operator to serialize the value to a stream.
|
friend |
Operator to serialize ValueType to a stream.
|
staticconstexpr |
The description for this value.
The name of this value.
|
staticconstexpr |
The type of this node.
The full path for this value.