Class IpAddressV4

Class Documentation

class IpAddressV4

Class for evaluation and storing an IPv4 address.

Param ip_address_:

The IP address as std::string.

Throws std::invalid_argument:

exception.

Public Functions

ECAL_API IpAddressV4(const std::string &ip_address_)
ECAL_API IpAddressV4(const char *ip_address_)
ECAL_API const std::string & Get () const
ECAL_API IpAddressV4 & operator= (const std::string &ip_string_)
ECAL_API IpAddressV4 & operator= (const char *ip_string_)
ECAL_API operator const std::string&() const
ECAL_API bool operator== (const eCAL::Types::IpAddressV4 &rhs) const

Friends

friend ECAL_API friend bool operator== (eCAL::Types::IpAddressV4 lhs, const char *ip_string_)
friend ECAL_API friend bool operator== (const char *ip_string_, eCAL::Types::IpAddressV4 rhs)
friend ECAL_API friend bool operator== (eCAL::Types::IpAddressV4 lhs, const std::string &ip_string_)
friend ECAL_API friend bool operator== (const std::string &ip_string_, eCAL::Types::IpAddressV4 rhs)