Zivid C++ API 2.19.0+b5c53d0f-1
Zivid::CameraState::Network::Hostname Class Reference

Current hostname of the camera. More...

#include <Zivid/CameraState.h>

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
static constexpr const char * path { "Network/Hostname" }
 The full path for this value.
static constexpr const char * name { "Hostname" }
 The name of this value.
static constexpr const char * description { R"description(Current hostname of the camera)description" }
 The description for this value.

Friends

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

Detailed Description

Current hostname of the camera.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Hostname() [1/2]

Zivid::CameraState::Network::Hostname::Hostname ( )
default

Default constructor.

◆ Hostname() [2/2]

Zivid::CameraState::Network::Hostname::Hostname ( std::string value)
inlineexplicit

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::CameraState::Network::Hostname::operator!= ( const Hostname & other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::CameraState::Network::Hostname::operator< ( const Hostname & other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::CameraState::Network::Hostname::operator<= ( const Hostname & other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::CameraState::Network::Hostname::operator== ( const Hostname & other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::CameraState::Network::Hostname::operator> ( const Hostname & other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::CameraState::Network::Hostname::operator>= ( const Hostname & other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::CameraState::Network::Hostname::toString ( ) const

Get the value as string.

◆ validSize()

constexpr Range< ValueType::size_type > Zivid::CameraState::Network::Hostname::validSize ( )
inlinestaticconstexpr

The valid sizes for Hostname.

◆ value()

const std::string & Zivid::CameraState::Network::Hostname::value ( ) const

Get the value.

◆ DataModel::Detail::Befriend< Hostname >

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

◆ operator<<

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

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

const char* Zivid::CameraState::Network::Hostname::description { R"description(Current hostname of the camera)description" }
staticconstexpr

The description for this value.

◆ name

const char* Zivid::CameraState::Network::Hostname::name { "Hostname" }
staticconstexpr

The name of this value.

◆ nodeType

DataModel::NodeType Zivid::CameraState::Network::Hostname::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

const char* Zivid::CameraState::Network::Hostname::path { "Network/Hostname" }
staticconstexpr

The full path for this value.


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