Gnome::ModuleInfo Class Reference

#include <moduleinfo.h>

List of all members.

Public Member Functions

 ModuleInfo (GnomeModuleInfo *gobject, bool make_a_copy=true)
 ModuleInfo (const ModuleInfo &other)
ModuleInfooperator= (const ModuleInfo &other)
 ~ModuleInfo ()
void swap (ModuleInfo &other)
GnomeModuleInfo * gobj ()
 Provides access to the underlying C instance.
const GnomeModuleInfo * gobj () const
 Provides access to the underlying C instance.
GnomeModuleInfo * gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
 ModuleInfo ()
 ModuleInfo (const gchar *name, const gchar *version, const gchar *description)
 The strings must be statically allocated - i.e. string literals.
Glib::ustring get_name () const
Glib::ustring get_version () const
Glib::ustring get_description () const
void set_requirements (GnomeModuleRequirement *requirements)
void set_post_args_parse (GnomeModuleHook function)

Protected Attributes

GnomeModuleInfo * gobject_

Related Functions

(Note that these are not member functions.)



void swap (ModuleInfo &lhs, ModuleInfo &rhs)
Gnome::ModuleInfo wrap (GnomeModuleInfo *object, bool take_copy=false)
 A Glib::wrap() method for this object.

Constructor & Destructor Documentation

Gnome::ModuleInfo::ModuleInfo ( GnomeModuleInfo *  gobject,
bool  make_a_copy = true 
) [explicit]
Gnome::ModuleInfo::ModuleInfo ( const ModuleInfo other  ) 
Gnome::ModuleInfo::~ModuleInfo (  ) 
Gnome::ModuleInfo::ModuleInfo (  ) 
Gnome::ModuleInfo::ModuleInfo ( const gchar *  name,
const gchar *  version,
const gchar *  description 
)

The strings must be statically allocated - i.e. string literals.


Member Function Documentation

Glib::ustring Gnome::ModuleInfo::get_description (  )  const
Glib::ustring Gnome::ModuleInfo::get_name (  )  const
Glib::ustring Gnome::ModuleInfo::get_version (  )  const
const GnomeModuleInfo* Gnome::ModuleInfo::gobj (  )  const [inline]

Provides access to the underlying C instance.

References gobject_.

GnomeModuleInfo* Gnome::ModuleInfo::gobj (  )  [inline]

Provides access to the underlying C instance.

References gobject_.

GnomeModuleInfo* Gnome::ModuleInfo::gobj_copy (  )  const

Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.

ModuleInfo& Gnome::ModuleInfo::operator= ( const ModuleInfo other  ) 
void Gnome::ModuleInfo::set_post_args_parse ( GnomeModuleHook  function  ) 
void Gnome::ModuleInfo::set_requirements ( GnomeModuleRequirement *  requirements  ) 
void Gnome::ModuleInfo::swap ( ModuleInfo other  ) 

Referenced by swap().


Friends And Related Function Documentation

void swap ( ModuleInfo lhs,
ModuleInfo rhs 
) [related]
Parameters:
lhs The left-hand side
rhs The right-hand side

References swap().

Gnome::ModuleInfo wrap ( GnomeModuleInfo *  object,
bool  take_copy = false 
) [related]

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

GnomeModuleInfo* Gnome::ModuleInfo::gobject_ [protected]

Referenced by gobj().


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

Generated on Mon Sep 21 13:16:46 2009 for libgnomemm by  doxygen 1.6.1