<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>pangomm: Pango::AttrFloat Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">pangomm <span id="projectnumber">2.28.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacePango.html">Pango</a> </li> <li class="navelem"><a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <div class="title">Pango::AttrFloat Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="Pango::AttrFloat" --><!-- doxytag: inherits="Pango::Attribute" --> <p>A <a class="el" href="classPango_1_1AttrFloat.html" title="A Pango::AttrFloat is used to represent an attribute with a float or double value.">Pango::AttrFloat</a> is used to represent an attribute with a float or double value. <a href="classPango_1_1AttrFloat.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for Pango::AttrFloat:</div> <div class="dyncontent"> <div class="center"><img src="classPango_1_1AttrFloat__inherit__graph.png" border="0" usemap="#Pango_1_1AttrFloat_inherit__map" alt="Inheritance graph"/></div> <map name="Pango_1_1AttrFloat_inherit__map" id="Pango_1_1AttrFloat_inherit__map"> <area shape="rect" id="node2" href="classPango_1_1Attribute.html" title="The Pango::Attribute structure represents the common portions of all attributes." alt="" coords="5,6,120,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Pango::AttrFloat:</div> <div class="dyncontent"> <div class="center"><img src="classPango_1_1AttrFloat__coll__graph.png" border="0" usemap="#Pango_1_1AttrFloat_coll__map" alt="Collaboration graph"/></div> <map name="Pango_1_1AttrFloat_coll__map" id="Pango_1_1AttrFloat_coll__map"> <area shape="rect" id="node2" href="classPango_1_1Attribute.html" title="The Pango::Attribute structure represents the common portions of all attributes." alt="" coords="5,105,120,135"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classPango_1_1AttrFloat-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#acc1a02a20e4875d4ab9188d6814bdb4f">AttrFloat</a> (const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#ac82cf882b4f291a091442a415ed2ac2f">AttrFloat</a> (PangoAttrFloat* castitem, bool take_copy=true)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#a37f442ebce44db31e1daebab9a377829">operator=</a> (const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#ae8e1c804bcc070d60fd77b7d5b2400ac">get_value</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the floating point value of the attribute. <a href="#ae8e1c804bcc070d60fd77b7d5b2400ac"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#a64dcd58ea79d83e59ed6ad9688656ca4">set_value</a> (const double&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01618.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the floating point value of the attribute. <a href="#a64dcd58ea79d83e59ed6ad9688656ca4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">PangoAttrFloat* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#a3eba8a4245d677b2a8885c1b2e269f2f">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a3eba8a4245d677b2a8885c1b2e269f2f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const PangoAttrFloat* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#a0faa13989cd4a43c1e71157d4c3bf785">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0faa13989cd4a43c1e71157d4c3bf785"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#aeadf75d34411dff3dcfd77968f40c1e3">AttrFloat</a> ()</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrFloat.html">Pango::AttrFloat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#acb15795539d788da02e8f7af45056f14">wrap</a> (PangoAttrFloat* object, bool take_copy=false)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A <a class="el" href="classPango_1_1AttrFloat.html" title="A Pango::AttrFloat is used to represent an attribute with a float or double value.">Pango::AttrFloat</a> is used to represent an attribute with a float or double value. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aeadf75d34411dff3dcfd77968f40c1e3"></a><!-- doxytag: member="Pango::AttrFloat::AttrFloat" ref="aeadf75d34411dff3dcfd77968f40c1e3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrFloat::AttrFloat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="acc1a02a20e4875d4ab9188d6814bdb4f"></a><!-- doxytag: member="Pango::AttrFloat::AttrFloat" ref="acc1a02a20e4875d4ab9188d6814bdb4f" args="(const AttrFloat &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrFloat::AttrFloat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>& </td> <td class="paramname"><em>src</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ac82cf882b4f291a091442a415ed2ac2f"></a><!-- doxytag: member="Pango::AttrFloat::AttrFloat" ref="ac82cf882b4f291a091442a415ed2ac2f" args="(PangoAttrFloat *castitem, bool take_copy=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrFloat::AttrFloat </td> <td>(</td> <td class="paramtype">PangoAttrFloat * </td> <td class="paramname"><em>castitem</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ae8e1c804bcc070d60fd77b7d5b2400ac"></a><!-- doxytag: member="Pango::AttrFloat::get_value" ref="ae8e1c804bcc070d60fd77b7d5b2400ac" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double Pango::AttrFloat::get_value </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the floating point value of the attribute. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The floating point value of the attribute. </dd></dl> </div> </div> <a class="anchor" id="a0faa13989cd4a43c1e71157d4c3bf785"></a><!-- doxytag: member="Pango::AttrFloat::gobj" ref="a0faa13989cd4a43c1e71157d4c3bf785" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const PangoAttrFloat* Pango::AttrFloat::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classPango_1_1Attribute.html#a0501725b34f5ab1239534180b4cd65be">Pango::Attribute</a>.</p> </div> </div> <a class="anchor" id="a3eba8a4245d677b2a8885c1b2e269f2f"></a><!-- doxytag: member="Pango::AttrFloat::gobj" ref="a3eba8a4245d677b2a8885c1b2e269f2f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">PangoAttrFloat* Pango::AttrFloat::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classPango_1_1Attribute.html#a51654a81e9171adde1403e58d06997a3">Pango::Attribute</a>.</p> </div> </div> <a class="anchor" id="a37f442ebce44db31e1daebab9a377829"></a><!-- doxytag: member="Pango::AttrFloat::operator=" ref="a37f442ebce44db31e1daebab9a377829" args="(const AttrFloat &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>& Pango::AttrFloat::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>& </td> <td class="paramname"><em>src</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a64dcd58ea79d83e59ed6ad9688656ca4"></a><!-- doxytag: member="Pango::AttrFloat::set_value" ref="a64dcd58ea79d83e59ed6ad9688656ca4" args="(const double &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Pango::AttrFloat::set_value </td> <td>(</td> <td class="paramtype">const double & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the floating point value of the attribute. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">value</td><td>The new floating point value for the attribute. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="acb15795539d788da02e8f7af45056f14"></a><!-- doxytag: member="Pango::AttrFloat::wrap" ref="acb15795539d788da02e8f7af45056f14" args="(PangoAttrFloat *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1AttrFloat.html">Pango::AttrFloat</a> wrap </td> <td>(</td> <td class="paramtype">PangoAttrFloat * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>pangomm/attributes.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Oct 26 2011 13:10:53 for pangomm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>