#include <address.h>
Public Member Functions | ||||
Address () | ||||
Address (GnomeVFSAddress *gobject, bool make_a_copy=true) | ||||
Address (const Address &other) | ||||
Address & | operator= (const Address &other) | |||
~Address () | ||||
void | swap (Address &other) | |||
GnomeVFSAddress * | gobj () | |||
Provides access to the underlying C instance. | ||||
const GnomeVFSAddress * | gobj () const | |||
Provides access to the underlying C instance. | ||||
GnomeVFSAddress * | gobj_copy () const | |||
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | ||||
Address (const Glib::ustring &address) | ||||
Address (guint32 ipv4_address) | ||||
Address (struct sockaddr *sa, int len) | ||||
int | get_family_type () const | |||
Glib::ustring | to_string () const | |||
guint32 | get_ipv4 () const | |||
GnomeVFSAddress ** | gobj_addr () | |||
Protected Attributes | ||||
GnomeVFSAddress * | gobject_ | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
void | swap (Address &lhs, Address &rhs) | |||
| ||||
Gnome::Vfs::Address | wrap (GnomeVFSAddress *object, bool take_copy=false) | |||
A Glib::wrap() method for this object. |
Gnome::Vfs::Address::Address | ( | ) |
Gnome::Vfs::Address::Address | ( | GnomeVFSAddress * | gobject, | |
bool | make_a_copy = true | |||
) | [explicit] |
Gnome::Vfs::Address::Address | ( | const Address & | other | ) |
Gnome::Vfs::Address::~Address | ( | ) |
Gnome::Vfs::Address::Address | ( | const Glib::ustring & | address | ) | [explicit] |
Gnome::Vfs::Address::Address | ( | guint32 | ipv4_address | ) | [explicit] |
Gnome::Vfs::Address::Address | ( | struct sockaddr * | sa, | |
int | len | |||
) | [explicit] |
void Gnome::Vfs::Address::swap | ( | Address & | other | ) |
GnomeVFSAddress* Gnome::Vfs::Address::gobj | ( | ) | [inline] |
Provides access to the underlying C instance.
const GnomeVFSAddress* Gnome::Vfs::Address::gobj | ( | ) | const [inline] |
Provides access to the underlying C instance.
GnomeVFSAddress* Gnome::Vfs::Address::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
int Gnome::Vfs::Address::get_family_type | ( | ) | const |
Glib::ustring Gnome::Vfs::Address::to_string | ( | ) | const |
guint32 Gnome::Vfs::Address::get_ipv4 | ( | ) | const |
GnomeVFSAddress** Gnome::Vfs::Address::gobj_addr | ( | ) | [inline] |
lhs | The left-hand side |
rhs | The right-hand side |
Gnome::Vfs::Address wrap | ( | GnomeVFSAddress * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
GnomeVFSAddress* Gnome::Vfs::Address::gobject_ [protected] |