NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
storage::ip_address Class Reference

#include </opt/mellanox/doca/applications/storage/storage_common/ip_address.hpp>

Public Member Functions

 ~ip_address ()=default
 
 ip_address ()=default
 
 ip_address (std::string address, uint16_t port)
 
 ip_address (ip_address const &)=default
 
 ip_address (ip_address &&) noexcept=default
 
ip_addressoperator= (ip_address const &)=default
 
ip_addressoperator= (ip_address &&) noexcept=default
 
std::string const & get_address () const noexcept
 
uint16_t get_port () const noexcept
 

Detailed Description

Definition at line 37 of file ip_address.hpp.

Constructor & Destructor Documentation

◆ ~ip_address()

storage::ip_address::~ip_address ( )
default

◆ ip_address() [1/4]

storage::ip_address::ip_address ( )
default

◆ ip_address() [2/4]

storage::ip_address::ip_address ( std::string  address,
uint16_t  port 
)

Definition at line 36 of file ip_address.cpp.

◆ ip_address() [3/4]

storage::ip_address::ip_address ( ip_address const &  )
default

◆ ip_address() [4/4]

storage::ip_address::ip_address ( ip_address &&  )
defaultnoexcept

Member Function Documentation

◆ get_address()

std::string const & storage::ip_address::get_address ( ) const
noexcept

Definition at line 40 of file ip_address.cpp.

◆ get_port()

uint16_t storage::ip_address::get_port ( ) const
noexcept

Definition at line 45 of file ip_address.cpp.

◆ operator=() [1/2]

ip_address& storage::ip_address::operator= ( ip_address &&  )
defaultnoexcept

◆ operator=() [2/2]

ip_address& storage::ip_address::operator= ( ip_address const &  )
default

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