libgnomevfsmm 2.26.0
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.
 
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 Symbols

(Note that these are not member symbols.)

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

◆ Address() [1/6]

Gnome::Vfs::Address::Address ( )

◆ Address() [2/6]

Gnome::Vfs::Address::Address ( GnomeVFSAddress * gobject,
bool make_a_copy = true )
explicit

◆ Address() [3/6]

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

◆ ~Address()

Gnome::Vfs::Address::~Address ( )

◆ Address() [4/6]

Gnome::Vfs::Address::Address ( const Glib::ustring & address)
explicit

◆ Address() [5/6]

Gnome::Vfs::Address::Address ( guint32 ipv4_address)
explicit

◆ Address() [6/6]

Gnome::Vfs::Address::Address ( struct sockaddr * sa,
int len )
explicit

Member Function Documentation

◆ get_family_type()

int Gnome::Vfs::Address::get_family_type ( ) const

◆ get_ipv4()

guint32 Gnome::Vfs::Address::get_ipv4 ( ) const

◆ gobj() [1/2]

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

Provides access to the underlying C instance.

References gobject_.

◆ gobj() [2/2]

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

Provides access to the underlying C instance.

References gobject_.

◆ gobj_addr()

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

References gobject_.

◆ gobj_copy()

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.

◆ operator=()

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

◆ swap()

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

Referenced by swap().

◆ to_string()

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

Friends And Related Symbol Documentation

◆ swap()

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

References swap().

◆ wrap()

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

◆ gobject_

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

Referenced by gobj(), gobj(), and gobj_addr().


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