NetCpp  v0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Address Class Reference

Base class for all addresses. More...

#include <address.hpp>

Inheritance diagram for Address:
Inheritance graph

Public Member Functions

virtual std::string getAddress () const =0
 Get the address.

Detailed Description

Base class for all addresses.

This is the base virtual class for all addresses. Every protocol must define its own address by inheriting a class called "address" in its own namespace. The derived class must implement the getAddress() virtual method.

See Also
net::ip4::tcp::address

Definition at line 45 of file address.hpp.

Member Function Documentation

virtual std::string getAddress ( ) const
pure virtual

Get the address.

This method must be implemented by every concrete derived class.

Returns
a std::string containing the address

Implemented in address, and address.

Here is the caller graph for this function:


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