<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Glib::ValueBase class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Glib::ValueBase Class Reference<br> <small> [<a class="el" href="group__glibmmValue.html">Generic Values</a>]</small> </h1>Inheritance diagram for Glib::ValueBase:<p><center><img src="classGlib_1_1ValueBase__inherit__graph.png" border="0" usemap="#Glib_1_1ValueBase__inherit__map" alt="Inheritance graph"></center> <map name="Glib_1_1ValueBase__inherit__map"> <area href="classGlib_1_1Value_3_01bool_01_4.html" shape="rect" coords="213,5,336,24" alt=""> <area href="classGlib_1_1Value_3_01char_01_4.html" shape="rect" coords="212,48,337,66" alt=""> <area href="classGlib_1_1Value_3_01double_01_4.html" shape="rect" coords="207,90,343,109" alt=""> <area href="classGlib_1_1Value_3_01float_01_4.html" shape="rect" coords="213,133,336,152" alt=""> <area href="classGlib_1_1Value_3_01int_01_4.html" shape="rect" coords="219,176,331,194" alt=""> <area href="classGlib_1_1Value_3_01long_01_4.html" shape="rect" coords="213,218,336,237" alt=""> <area href="classGlib_1_1Value_3_01long_01long_01_4.html" shape="rect" coords="200,261,349,280" alt=""> <area href="classGlib_1_1Value_3_01unsigned_01char_01_4.html" shape="rect" coords="184,304,365,322" alt=""> <area href="classGlib_1_1Value_3_01unsigned_01int_01_4.html" shape="rect" coords="191,346,359,365" alt=""> <area href="classGlib_1_1Value_3_01unsigned_01long_01_4.html" shape="rect" coords="187,389,363,408" alt=""> <area href="classGlib_1_1Value_3_01unsigned_01long_01long_01_4.html" shape="rect" coords="172,432,377,450" alt=""> <area href="classGlib_1_1Value_3_01void_01_5_01_4.html" shape="rect" coords="208,474,341,493" alt=""> <area href="classGlib_1_1ValueBase__Boxed.html" shape="rect" coords="200,517,349,536" alt=""> <area href="classGlib_1_1ValueBase__Enum.html" shape="rect" coords="203,560,347,578" alt=""> <area href="classGlib_1_1ValueBase__Flags.html" shape="rect" coords="203,602,347,621" alt=""> <area href="classGlib_1_1ValueBase__Object.html" shape="rect" coords="199,645,351,664" alt=""> <area href="classGlib_1_1ValueBase__String.html" shape="rect" coords="201,688,348,706" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGlib_1_1ValueBase-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a0">ValueBase</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Initializes the GValue, but without a type.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a1">ValueBase</a> (const ValueBase& other)</td></tr> <tr><td nowrap align=right valign=top>ValueBase& </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a2">operator=</a> (const ValueBase& other)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a3">~ValueBase</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a4">init</a> (GType type)</td></tr> <tr><td> </td><td><font size=-1><em>Setup the GValue for storing the specified <em>type.</em> </em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a5">reset</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Reset contents to the default value of its type.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>GValue* </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a6">gobj</a> ()</td></tr> <tr><td nowrap align=right valign=top>const GValue* </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#a7">gobj</a> () const</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>GValue </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html#n0">gobject_</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Glib::ValueBase::ValueBase"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ValueBase::ValueBase </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Initializes the GValue, but without a type. <p> You have to call <a class="el" href="classGlib_1_1ValueBase.html#a4">init()</a> before using the set(), get(), or <a class="el" href="classGlib_1_1ValueBase.html#a5">reset()</a> methods. </td> </tr> </table> <a name="a1" doxytag="Glib::ValueBase::ValueBase"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ValueBase::ValueBase </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const ValueBase& </td> <td class="mdname1" valign="top" nowrap> <em>other</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a3" doxytag="Glib::ValueBase::~ValueBase"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::ValueBase::~ValueBase </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a7" doxytag="Glib::ValueBase::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const GValue* Glib::ValueBase::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a6" doxytag="Glib::ValueBase::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GValue* Glib::ValueBase::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a4" doxytag="Glib::ValueBase::init"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Glib::ValueBase::init </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">GType </td> <td class="mdname1" valign="top" nowrap> <em>type</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Setup the GValue for storing the specified <em>type.</em> <p> The contents will be initialized to the default value for this type. Note that <a class="el" href="classGlib_1_1ValueBase.html#a4">init()</a> should never be called twice. <p> <a class="el" href="classGlib_1_1ValueBase.html#a4">init()</a> is not implemented as constructor, to avoid the necessity to implement a forward constructor in each derived class. </td> </tr> </table> <a name="a2" doxytag="Glib::ValueBase::operator="></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> ValueBase& Glib::ValueBase::operator= </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const ValueBase& </td> <td class="mdname1" valign="top" nowrap> <em>other</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a5" doxytag="Glib::ValueBase::reset"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Glib::ValueBase::reset </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Reset contents to the default value of its type. <p> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="n0" doxytag="Glib::ValueBase::gobject_"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GValue Glib::ValueBase::gobject_<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="glib_2glibmm_2value_8h.html">glib/glibmm/value.h</a></ul> <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>