#include <Address.h>

Public Member Functions | |
| Address () | |
| Address (const Address &other) | |
| Address (const sk::util::String &spec) | |
| Address (uint32_t number) | |
| virtual | ~Address () |
| const sk::util::String | hostname () const |
| const sk::util::String | ip () const |
| uint32_t | number () const |
| const sk::util::Class | getClass () const |
| Returns the object's class. | |
| virtual Object & | self () |
| Returns a reference to itself. | |
| virtual const Object & | self () const |
| Object * | clone () const |
| Instantiates another object of the same class as a copy of itself. | |
| virtual uint64_t | getId () const |
| Returns a unique object id. | |
| virtual const String | toString () const |
| Returns a string representation of the object. By default, it returns the object's class and the objects's id. | |
| virtual const String | inspect () const |
| Returns a string containing human-readable representation of the object. | |
Static Public Member Functions | |
| static const Address | hostname (const sk::util::String &name) |
| static const Address | ip (const sk::util::String &number) |
| static const Address | number (uint32_t number) |
| static const Address | localhost () |
| sk::net::ip4::Address::Address | ( | ) |
| sk::net::ip4::Address::Address | ( | const Address & | other | ) |
| sk::net::ip4::Address::Address | ( | const sk::util::String & | spec | ) |
| sk::net::ip4::Address::Address | ( | uint32_t | number | ) |
| virtual sk::net::ip4::Address::~Address | ( | ) | [virtual] |
| Object* sk::util::Object::clone | ( | ) | const [inherited] |
Instantiates another object of the same class as a copy of itself.
Reimplemented in sk::rt::logger::Destination, and sk::util::String.
| const sk::util::Class sk::net::ip4::Address::getClass | ( | ) | const [virtual] |
| virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
| const sk::util::String sk::net::ip4::Address::hostname | ( | ) | const |
| static const Address sk::net::ip4::Address::hostname | ( | const sk::util::String & | name | ) | [static] |
| virtual const String sk::util::Object::inspect | ( | ) | const [virtual, inherited] |
Returns a string containing human-readable representation of the object.
Reimplemented in sk::rt::thread::AbstractLock, sk::rt::Thread, sk::util::Class, sk::util::Container, sk::util::slot::Pointer< T, Mixin >, sk::util::slot::Reference< T, Mixin >, sk::util::String, and sk::util::StringArray.
| const sk::util::String sk::net::ip4::Address::ip | ( | ) | const |
| static const Address sk::net::ip4::Address::ip | ( | const sk::util::String & | number | ) | [static] |
| static const Address sk::net::ip4::Address::localhost | ( | ) | [static] |
| uint32_t sk::net::ip4::Address::number | ( | ) | const |
| static const Address sk::net::ip4::Address::number | ( | uint32_t | number | ) | [static] |
| virtual const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
| virtual Object& sk::util::Object::self | ( | ) | [virtual, inherited] |
| virtual const String sk::util::Object::toString | ( | ) | const [virtual, inherited] |
Returns a string representation of the object. By default, it returns the object's class and the objects's id.
Reimplemented in sk::rt::logger::Level, sk::rt::thread::State, sk::util::Boolean, sk::util::Class, sk::util::Container, sk::util::Pathname, and sk::util::String.
1.5.8