CommonLibSSE (powerof3)
REL::Version Class Reference

#include <Version.h>

Public Types

using value_type = std::uint16_t
 
using reference = value_type &
 
using const_reference = const value_type &
 

Public Member Functions

constexpr Version () noexcept=default
 
constexpr Version (std::array< value_type, 4 > a_version) noexcept
 
constexpr Version (value_type a_v1, value_type a_v2=0, value_type a_v3=0, value_type a_v4=0) noexcept
 
constexpr reference operator[] (std::size_t a_idx) noexcept
 
constexpr const_reference operator[] (std::size_t a_idx) const noexcept
 
constexpr decltype(auto) begin () const noexcept
 
constexpr decltype(auto) cbegin () const noexcept
 
constexpr decltype(auto) end () const noexcept
 
constexpr decltype(auto) cend () const noexcept
 
constexpr std::strong_ordering compare (const Version &a_rhs) const noexcept
 
constexpr std::uint32_t pack () const noexcept
 
std::string string () const
 
std::wstring wstring () const
 

Static Public Member Functions

static constexpr Version unpack (std::uint32_t a_packedVersion) noexcept
 

Member Typedef Documentation

◆ const_reference

◆ reference

◆ value_type

using REL::Version::value_type = std::uint16_t

Constructor & Destructor Documentation

◆ Version() [1/3]

constexpr REL::Version::Version ( )
constexprdefaultnoexcept

◆ Version() [2/3]

constexpr REL::Version::Version ( std::array< value_type, 4 >  a_version)
inlineexplicitconstexprnoexcept

◆ Version() [3/3]

constexpr REL::Version::Version ( value_type  a_v1,
value_type  a_v2 = 0,
value_type  a_v3 = 0,
value_type  a_v4 = 0 
)
inlineconstexprnoexcept

Member Function Documentation

◆ begin()

constexpr decltype(auto) REL::Version::begin ( ) const
inlineconstexprnoexcept

◆ cbegin()

constexpr decltype(auto) REL::Version::cbegin ( ) const
inlineconstexprnoexcept

◆ cend()

constexpr decltype(auto) REL::Version::cend ( ) const
inlineconstexprnoexcept

◆ compare()

constexpr std::strong_ordering REL::Version::compare ( const Version a_rhs) const
inlineconstexprnoexcept

◆ end()

constexpr decltype(auto) REL::Version::end ( ) const
inlineconstexprnoexcept

◆ operator[]() [1/2]

constexpr const_reference REL::Version::operator[] ( std::size_t  a_idx) const
inlineconstexprnoexcept

◆ operator[]() [2/2]

constexpr reference REL::Version::operator[] ( std::size_t  a_idx)
inlineconstexprnoexcept

◆ pack()

constexpr std::uint32_t REL::Version::pack ( ) const
inlineconstexprnoexcept

◆ string()

std::string REL::Version::string ( ) const
inline

◆ unpack()

static constexpr Version REL::Version::unpack ( std::uint32_t  a_packedVersion)
inlinestaticconstexprnoexcept

◆ wstring()

std::wstring REL::Version::wstring ( ) const
inline

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