xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <ip_host_entry.h>
Inherits xtd::object.
Public Member Functions | |
ip_host_entry ()=default | |
Initializes a new instance of the xtd::net::ip_host_entry. More... | |
const std::vector< xtd::net::ip_address > & | address_list () const noexcept |
Get List of IP addresses that are associated with a host. More... | |
std::vector< xtd::net::ip_address > & | address_list () noexcept |
Get List of IP addresses that are associated with a host. More... | |
ip_host_entry & | address_list (const std::vector< xtd::net::ip_address > &address_list) noexcept |
Set List of IP addresses that are associated with a host. More... | |
const std::vector< xtd::ustring > & | aliases () const noexcept |
Get List of aliases that are associated with a host. More... | |
std::vector< xtd::ustring > & | aliases () noexcept |
Get List of aliases that are associated with a host. More... | |
ip_host_entry & | aliases (const std::vector< xtd::ustring > &aliases) noexcept |
Set List of aliases that are associated with a host. More... | |
const xtd::ustring & | host_name () const noexcept |
Get the DNS name of the host. More... | |
ip_host_entry & | host_name (const xtd::ustring &host_name) noexcept |
Set the DNS name of the host. More... | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. More... | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. More... | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from xtd::object | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. More... | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. More... | |
|
default |
Initializes a new instance of the xtd::net::ip_host_entry.
|
noexcept |
Get List of IP addresses that are associated with a host.
|
noexcept |
Get List of IP addresses that are associated with a host.
|
noexcept |
Set List of IP addresses that are associated with a host.
address_list | An xtd::net::ip_address array of IP addresses that are associated with a host. |
|
noexcept |
Get List of aliases that are associated with a host.
|
noexcept |
Get List of aliases that are associated with a host.
|
noexcept |
Set List of aliases that are associated with a host.
aliases | A string array of aliases that are associated with a host. |
|
noexcept |
Get the DNS name of the host.
|
noexcept |
Set the DNS name of the host.
hist_name | A string represent the DNS name of the host. |