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::CameraState::Network::IPV4::Address Class Reference

Current IPv4 address. More...

#include <Zivid/CameraState.h>

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
 
static constexpr const charpath { "Network/IPV4/Address" }
 The full path for this value.
 
static constexpr const charname { "Address" }
 The name of this value.
 
static constexpr const chardescription { R"description(Current IPv4 address)description" }
 The description for this value.
 

Friends

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

Detailed Description

Current IPv4 address.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Address() [1/2]

Zivid::CameraState::Network::IPV4::Address::Address ( )
default

Default constructor.

◆ Address() [2/2]

Zivid::CameraState::Network::IPV4::Address::Address ( std::string  value)
inlineexplicit

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::CameraState::Network::IPV4::Address::operator!= ( const Address other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::CameraState::Network::IPV4::Address::operator< ( const Address other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::CameraState::Network::IPV4::Address::operator<= ( const Address other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::CameraState::Network::IPV4::Address::operator== ( const Address other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::CameraState::Network::IPV4::Address::operator> ( const Address other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::CameraState::Network::IPV4::Address::operator>= ( const Address other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::CameraState::Network::IPV4::Address::toString ( ) const

Get the value as string.

◆ validSize()

static constexpr Range< ValueType::size_type > Zivid::CameraState::Network::IPV4::Address::validSize ( )
inlinestaticconstexpr

The valid sizes for Address.

◆ value()

const std::string & Zivid::CameraState::Network::IPV4::Address::value ( ) const

Get the value.

Friends And Related Symbol Documentation

◆ DataModel::Detail::Befriend< Address >

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

◆ operator<<

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

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

constexpr const char* Zivid::CameraState::Network::IPV4::Address::description { R"description(Current IPv4 address)description" }
staticconstexpr

The description for this value.

◆ name

constexpr const char* Zivid::CameraState::Network::IPV4::Address::name { "Address" }
staticconstexpr

The name of this value.

◆ nodeType

constexpr DataModel::NodeType Zivid::CameraState::Network::IPV4::Address::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

constexpr const char* Zivid::CameraState::Network::IPV4::Address::path { "Network/IPV4/Address" }
staticconstexpr

The full path for this value.


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