Myra Canyon  v0.0.1-768
network control
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Myra::Addr6Port Class Referencefinal

Similar to AddrPort, but uses IPv6 addresses. More...

#include "AddrPort.hpp"

Public Member Functions

 ~Addr6Port (void)
 Destructor. More...
 
 Addr6Port (void)
 Constructor. More...
 
 Addr6Port (const IPv6_ADDR &a, const PORT p)
 Constructor. More...
 
Addr6Portclear (void)
 Clear protocol, address, and port. More...
 
bool empty (void) const
 Check to see if any values have been set. More...
 
void swap (Addr6Port &rhs)
 Swap two Addr6Port objects. More...
 
std::string to_string (void) const
 Format the object as a text string (for debug purposes). More...
 

Public Attributes

IPv6_ADDR addr
 128-bit address More...
 
PORT port
 16-bit port More...
 

Detailed Description

Similar to AddrPort, but uses IPv6 addresses.

Constructor & Destructor Documentation

Myra::Addr6Port::~Addr6Port ( void  )
inline

Destructor.

Myra::Addr6Port::Addr6Port ( void  )
inline

Constructor.

Myra::Addr6Port::Addr6Port ( const IPv6_ADDR a,
const PORT  p 
)
inline

Constructor.

Member Function Documentation

Addr6Port& Myra::Addr6Port::clear ( void  )
inline

Clear protocol, address, and port.

bool Myra::Addr6Port::empty ( void  ) const
inline

Check to see if any values have been set.

void Myra::Addr6Port::swap ( Addr6Port rhs)
inline

Swap two Addr6Port objects.

std::string Myra::Addr6Port::to_string ( void  ) const
inline

Format the object as a text string (for debug purposes).

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

IPv6_ADDR Myra::Addr6Port::addr

128-bit address

PORT Myra::Addr6Port::port

16-bit port


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