#include <address_base.h>
Inheritance diagram for address_base:


Public Member Functions | |
| virtual | ~address_base () |
| virtual bool | same_host (const address_base &to_compare) const=0 |
| virtual bool | same_port (const address_base &to_compare) const=0 |
| virtual bool | shareable (const address_base &to_compare) const=0 |
| virtual istring | text_form () const=0 |
| Provides a text view of all the important info owned by this object. | |
| virtual int | packed_size () const=0 |
| Estimates the space needed for the packed structure. | |
| virtual istring | tokenize () const=0 |
| virtual bool | detokenize (const istring &info)=0 |
| virtual machine_uid | convert () const=0 |
| virtual address_base * | create_copy () const=0 |
Definition at line 30 of file address_base.h.
| address_base::~address_base | ( | ) | [virtual] |
Definition at line 20 of file address_base.cpp.
| virtual bool address_base::same_host | ( | const address_base & | to_compare | ) | const [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by internet_address::operator==(), and network_address::same_host().
| virtual bool address_base::same_port | ( | const address_base & | to_compare | ) | const [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by internet_address::operator==(), and network_address::same_port().
| virtual bool address_base::shareable | ( | const address_base & | to_compare | ) | const [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by network_address::shareable().
| virtual istring address_base::text_form | ( | ) | const [pure virtual] |
Provides a text view of all the important info owned by this object.
It is understood that there could be a large amount of information and that this function might take a relatively long time to complete. The information can be provided in multiple lines if desired (it is good to use log_base::platform_ending() for the line breaks to help to ensure that the text is formatted appropriately). the default is quite lame and should be overridden.
Reimplemented from object_base.
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by network_address::text_form().
| virtual int address_base::packed_size | ( | ) | const [pure virtual] |
Estimates the space needed for the packed structure.
Reimplemented from packable.
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by network_address::packed_size().
| virtual istring address_base::tokenize | ( | ) | const [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by network_address::tokenize().
| virtual bool address_base::detokenize | ( | const istring & | info | ) | [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
| virtual machine_uid address_base::convert | ( | ) | const [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by network_address::convert().
| virtual address_base* address_base::create_copy | ( | ) | const [pure virtual] |
Implemented in internet_address, serial_port_address, and ipc_address.
Referenced by network_address::operator=().
1.5.1