Zivid C++ API 2.13.1+18e79e79-1
Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version Class Reference

The version of the standard library implementation. More...

#include <Zivid/Detail/EnvironmentInfo.h>

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
 
static constexpr const char * path { "UserToolchain/StandardLibrary/Version" }
 The full path for this value.
 
static constexpr const char * name { "Version" }
 The name of this value.
 
static constexpr const char * description
 The description for this value.
 

Friends

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

Detailed Description

The version of the standard library implementation.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Version() [1/2]

Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::Version ( )
default

Default constructor.

◆ Version() [2/2]

Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::Version ( std::string value)
inlineexplicit

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::operator!= ( const Version & other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::operator< ( const Version & other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::operator<= ( const Version & other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::operator== ( const Version & other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::operator> ( const Version & other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::operator>= ( const Version & other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::toString ( ) const

Get the value as string.

◆ validSize()

static constexpr Range< ValueType::size_type > Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::validSize ( )
inlinestaticconstexpr

The valid sizes for Version.

◆ value()

const std::string & Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::value ( ) const

Get the value.

Friends And Related Symbol Documentation

◆ DataModel::Detail::Befriend< Version >

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

◆ operator<<

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

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

const char* Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::description
staticconstexpr
Initial value:
{
R"description(The version of the standard library implementation)description"
}

The description for this value.

◆ name

const char* Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::name { "Version" }
staticconstexpr

The name of this value.

◆ nodeType

DataModel::NodeType Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

const char* Zivid::Detail::EnvironmentInfo::UserToolchain::StandardLibrary::Version::path { "UserToolchain/StandardLibrary/Version" }
staticconstexpr

The full path for this value.


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