libgnomevfsmm  2.26.0
Public Member Functions | Protected Attributes | Related Functions | List of all members
Gnome::Vfs::Address Class Reference

#include <address.h>

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. More...
 
const GnomeVFSAddress * gobj () const
 Provides access to the underlying C instance. More...
 
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. More...
 
 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. More...
 

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
GnomeVFSAddress* Gnome::Vfs::Address::gobj ( )
inline

Provides access to the underlying C instance.

References gobject_.

const GnomeVFSAddress* Gnome::Vfs::Address::gobj ( ) const
inline

Provides access to the underlying C instance.

References gobj_copy(), and gobject_.

GnomeVFSAddress** Gnome::Vfs::Address::gobj_addr ( )
inline

References gobject_.

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.

Referenced by gobj().

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

Referenced by swap().

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

Friends And Related Function Documentation

void swap ( Address lhs,
Address rhs 
)
related
Parameters
lhsThe left-hand side
rhsThe right-hand side

References swap().

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

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse 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

Referenced by gobj(), and gobj_addr().


The documentation for this class was generated from the following file: