#include <address.h>
List of all members.
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.
|
Constructor & Destructor Documentation
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] |
Member Function Documentation
int Gnome::Vfs::Address::get_family_type |
( |
| ) |
const |
guint32 Gnome::Vfs::Address::get_ipv4 |
( |
| ) |
const |
const GnomeVFSAddress* Gnome::Vfs::Address::gobj |
( |
| ) |
const [inline] |
Provides access to the underlying C instance.
References gobject_.
GnomeVFSAddress* Gnome::Vfs::Address::gobj |
( |
| ) |
[inline] |
Provides access to the underlying C instance.
References gobject_.
GnomeVFSAddress** Gnome::Vfs::Address::gobj_addr |
( |
| ) |
[inline] |
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.
void Gnome::Vfs::Address::swap |
( |
Address & |
other | ) |
|
Glib::ustring Gnome::Vfs::Address::to_string |
( |
| ) |
const |
Friends And Related Function Documentation
- Parameters:
-
lhs | The left-hand side |
rhs | The right-hand side |
References swap().
A Glib::wrap() method for this object.
- Parameters:
-
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. |
- Returns:
- A C++ instance that wraps this C instance.
Member Data Documentation
The documentation for this class was generated from the following file: