WSF
wsf::comm::router::rip::IPv4 Class Reference

#include <WsfCommProtocolRIPv2.hpp>

Public Member Functions

constexpr IPv4 () noexcept=default
constexpr IPv4 (std::uint8_t a, std::uint8_t b, std::uint8_t c, std::uint8_t d) noexcept
constexpr IPv4 (std::uint32_t aVal) noexcept
std::string to_string () const
constexpr std::uint32_t to_uint32 () const noexcept
bool operator== (const IPv4 &rhs) const noexcept
bool operator!= (const IPv4 &rhs) const noexcept
constexpr bool operator< (const IPv4 &rhs) const noexcept
constexpr bool operator> (const IPv4 &rhs) const noexcept

Constructor & Destructor Documentation

◆ IPv4() [1/3]

wsf::comm::router::rip::IPv4::IPv4 ( )
constexprdefaultnoexcept

◆ IPv4() [2/3]

wsf::comm::router::rip::IPv4::IPv4 ( std::uint8_t a,
std::uint8_t b,
std::uint8_t c,
std::uint8_t d )
inlineconstexprnoexcept

References IPv4().

◆ IPv4() [3/3]

wsf::comm::router::rip::IPv4::IPv4 ( std::uint32_t aVal)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ operator!=()

bool wsf::comm::router::rip::IPv4::operator!= ( const IPv4 & rhs) const
inlinenoexcept

References IPv4().

◆ operator<()

bool wsf::comm::router::rip::IPv4::operator< ( const IPv4 & rhs) const
inlineconstexprnoexcept

References IPv4(), and to_uint32().

◆ operator==()

bool wsf::comm::router::rip::IPv4::operator== ( const IPv4 & rhs) const
inlinenoexcept

References IPv4().

◆ operator>()

bool wsf::comm::router::rip::IPv4::operator> ( const IPv4 & rhs) const
inlineconstexprnoexcept

References IPv4(), and to_uint32().

◆ to_string()

std::string wsf::comm::router::rip::IPv4::to_string ( ) const
inline

◆ to_uint32()

std::uint32_t wsf::comm::router::rip::IPv4::to_uint32 ( ) const
inlineconstexprnoexcept

Referenced by operator<(), and operator>().


The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved