SFML
Simple and Fast Multimedia Library
Loading...
Searching...
No Matches
IpAddress.hpp File Reference
#include <SFML/Network/Export.hpp>
#include <SFML/System/Time.hpp>
#include <iosfwd>
#include <optional>
#include <string>
#include <string_view>
#include <cstdint>
Include dependency graph for IpAddress.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sf::IpAddress
 Encapsulate an IPv4 network address. More...

Namespaces

namespace  sf

Functions

SFML_NETWORK_API bool sf::operator== (IpAddress left, IpAddress right)
 Overload of == operator to compare two IP addresses.
SFML_NETWORK_API bool sf::operator!= (IpAddress left, IpAddress right)
 Overload of != operator to compare two IP addresses.
SFML_NETWORK_API bool sf::operator< (IpAddress left, IpAddress right)
 Overload of < operator to compare two IP addresses.
SFML_NETWORK_API bool sf::operator> (IpAddress left, IpAddress right)
 Overload of > operator to compare two IP addresses.
SFML_NETWORK_API bool sf::operator<= (IpAddress left, IpAddress right)
 Overload of <= operator to compare two IP addresses.
SFML_NETWORK_API bool sf::operator>= (IpAddress left, IpAddress right)
 Overload of >= operator to compare two IP addresses.
SFML_NETWORK_API std::istream & sf::operator>> (std::istream &stream, std::optional< IpAddress > &address)
 Overload of >> operator to extract an IP address from an input stream.
SFML_NETWORK_API std::ostream & sf::operator<< (std::ostream &stream, IpAddress address)
 Overload of << operator to print an IP address to an output stream.