NetworkIpAddr Class Reference

#include <network_ip_addr.h>

Inheritance diagram for NetworkIpAddr:

详细描述

Reference counted class of NetworkIpAddrInterface .

公共成员函数

  MAXON_DEFAULT_REFERENCE_CONSTRUCTORS ( NetworkIpAddr , Reference)
  NetworkIpAddr ( UChar a, UChar b, UChar c, UChar d)
  NetworkIpAddr ( UInt16 x1, UInt16 x2, UInt16 x3, UInt16 x4, UInt16 x5, UInt16 x6, UInt16 x7, UInt16 x8)
  NetworkIpAddr ( WILDCARD_IPV4_ADDRESS_TYPE )
  NetworkIpAddr ( WILDCARD_IPV6_ADDRESS_TYPE )
String   ToString (const FormatStatement *formatStatement=nullptr) const
const NetworkIpAddrPort   operator+ ( Int32 port) const

构造函数 & 析构函数文档编制

◆  NetworkIpAddr() [1/4]

NetworkIpAddr ( UChar   a ,
UChar   b ,
UChar   c ,
UChar   d  
)

◆  NetworkIpAddr() [2/4]

NetworkIpAddr ( UInt16   x1 ,
UInt16   x2 ,
UInt16   x3 ,
UInt16   x4 ,
UInt16   x5 ,
UInt16   x6 ,
UInt16   x7 ,
UInt16   x8  
)

◆  NetworkIpAddr() [3/4]

NetworkIpAddr ( WILDCARD_IPV4_ADDRESS_TYPE   )
explicit

◆  NetworkIpAddr() [4/4]

NetworkIpAddr ( WILDCARD_IPV6_ADDRESS_TYPE   )
explicit

成员函数文档编制

◆  MAXON_DEFAULT_REFERENCE_CONSTRUCTORS()

MAXON_DEFAULT_REFERENCE_CONSTRUCTORS ( NetworkIpAddr   ,
Reference   
)

◆  ToString()

String ToString ( const FormatStatement formatStatement = nullptr ) const

Returns a readable string of the content.

参数
[in] formatStatement Nullptr or additional formatting instruction. Currently no additional formatting instructions are supported.
返回
The converted result.

◆  operator+()

const NetworkIpAddrPort operator+ ( Int32   port ) const