Gnome::Vfs::Address Class Reference

#include <address.h>

List of all members.

Public Member Functions

 Address ()
 Address (GnomeVFSAddress *gobject, bool make_a_copy=true)
 Address (const Address &other)
Addressoperator= (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)


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.

GnomeVFSAddress* Gnome::Vfs::Address::gobj (  )  [inline]

Provides access to the underlying C instance.

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.

Address& Gnome::Vfs::Address::operator= ( const Address other  ) 

void Gnome::Vfs::Address::swap ( Address other  ) 

Glib::ustring Gnome::Vfs::Address::to_string (  )  const


Friends And Related Function Documentation

void swap ( Address lhs,
Address rhs 
) [related]

Parameters:
lhs The left-hand side
rhs The right-hand side

Gnome::Vfs::Address wrap ( GnomeVFSAddress *  object,
bool  take_copy = false 
) [related]

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

GnomeVFSAddress* Gnome::Vfs::Address::gobject_ [protected]


The documentation for this class was generated from the following file:
Generated on Tue Aug 22 09:07:07 2006 for libgnomevfsmm by  doxygen 1.4.7