Zivid C++ API 2.13.1+18e79e79-1
|
The wrapper being used, if any. More...
#include <Zivid/Detail/EnvironmentInfo.h>
Public Types | |
enum class | ValueType { none , python , dotnet , genicam , ros1 , ros2 , studio } |
The type of the underlying value. More... | |
Public Member Functions | |
Wrapper ()=default | |
Default constructor. | |
constexpr | Wrapper (ValueType value) |
Constructor. | |
ValueType | value () const |
Get the value. | |
std::string | toString () const |
Get the value as string. | |
bool | operator== (const Wrapper &other) const |
Comparison operator. | |
bool | operator!= (const Wrapper &other) const |
Comparison operator. | |
Static Public Member Functions | |
static std::set< ValueType > | validValues () |
All valid values of Wrapper. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "Wrapper" } |
The full path for this value. | |
static constexpr const char * | name { "Wrapper" } |
The name of this value. | |
static constexpr const char * | description { R"description(The wrapper being used, if any)description" } |
The description for this value. | |
static const Wrapper | none |
none | |
static const Wrapper | python |
python | |
static const Wrapper | dotnet |
dotnet | |
static const Wrapper | genicam |
genicam | |
static const Wrapper | ros1 |
ros1 | |
static const Wrapper | ros2 |
ros2 | |
static const Wrapper | studio |
studio | |
Friends | |
struct | DataModel::Detail::Befriend< Wrapper > |
std::ostream & | operator<< (std::ostream &stream, const Wrapper::ValueType &value) |
Operator to serialize ValueType to a stream. | |
std::ostream & | operator<< (std::ostream &stream, const Wrapper &value) |
Operator to serialize the value to a stream. | |
The wrapper being used, if any.
|
strong |
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
std::string Zivid::Detail::EnvironmentInfo::Wrapper::toString | ( | ) | const |
Get the value as string.
|
inlinestatic |
All valid values of Wrapper.
ValueType Zivid::Detail::EnvironmentInfo::Wrapper::value | ( | ) | const |
Get the value.
|
friend |
|
friend |
Operator to serialize the value to a stream.
|
friend |
Operator to serialize ValueType to a stream.
|
staticconstexpr |
The description for this value.
|
static |
dotnet
|
static |
genicam
|
staticconstexpr |
The name of this value.
|
staticconstexpr |
The type of this node.
|
static |
none
|
staticconstexpr |
The full path for this value.
|
static |
python
|
static |
ros1
|
static |
ros2
|
static |
studio