Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > d2855e9970bf9a8259f08fe181d69f9d > files > 785

gnome-chemistry-utils-devel-0.14.2-1.mga3.x86_64.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>The Gnome Chemistry Utils: gcu Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">The Gnome Chemistry Utils
   &#160;<span id="projectnumber">0.14.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">gcu Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The Gnome Chemistry Utils C++ classes.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html">Application</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Atom.html">Atom</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1AtomPair.html">AtomPair</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1AtomMatchState.html">AtomMatchState</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Bond.html">Bond</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgcu_1_1ChainElt.html">ChainElt</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Chain.html">Chain</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Chem3dDoc.html">Chem3dDoc</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1CmdContext.html">CmdContext</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">error output channel.  <a href="classgcu_1_1CmdContext.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Cycle.html">Cycle</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Cylinder.html">Cylinder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This class represents and draws a cylinder.  <a href="classgcu_1_1Cylinder.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1DialogOwner.html">DialogOwner</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Dialog.html">Dialog</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Document.html">Document</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Element.html">Element</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chemical element.  <a href="classgcu_1_1Element.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1parse__error.html">parse_error</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1FormulaElt.html">FormulaElt</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1FormulaAtom.html">FormulaAtom</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1FormulaBlock.html">FormulaBlock</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1FormulaResidue.html">FormulaResidue</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classgcu_1_1Residue.html">Residue</a>.  <a href="classgcu_1_1FormulaResidue.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Formula.html">Formula</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1GLDocument.html">GLDocument</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1GLView.html">GLView</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Isotope.html">Isotope</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1IsotopicPattern.html">IsotopicPattern</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgcu_1_1LoaderStruct.html">LoaderStruct</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Loader.html">Loader</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">class used to implement serialization engines.  <a href="classgcu_1_1Loader.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Matrix.html">Matrix</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1GLMatrix.html">GLMatrix</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Matrix2D.html">Matrix2D</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Molecule.html">Molecule</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Object.html">Object</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgcu_1_1SymbolResidue.html">SymbolResidue</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Residue.html">Residue</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpaceGroup.html">SpaceGroup</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle crystallographic space group symmetry.  <a href="classgcu_1_1SpaceGroup.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Sphere.html">Sphere</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Transform3d.html">Transform3d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle 3D transformations, such as space group definitions.  <a href="classgcu_1_1Transform3d.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1UIManager.html">UIManager</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">base class for a user interface manager  <a href="classgcu_1_1UIManager.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Value.html">Value</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SimpleValue.html">SimpleValue</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1DimensionalValue.html">DimensionalValue</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1StringValue.html">StringValue</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1LocalizedStringValue.html">LocalizedStringValue</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Vector.html">Vector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">3D vector.  <a href="classgcu_1_1Vector.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Vector3f.html">Vector3f</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html">Window</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a4a6abffbefdd6abf047dca4e63b0bac5"><td class="memItemLeft" align="right" valign="top">typedef unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a></td></tr>
<tr class="memitem:aea85ee1e0ab66342f28448b2e7a9174d"><td class="memItemLeft" align="right" valign="top">typedef bool(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#aea85ee1e0ab66342f28448b2e7a9174d">BuildMenuCb</a> )(<a class="el" href="classgcu_1_1Object.html">Object</a> *target, <a class="el" href="classgcu_1_1UIManager.html">UIManager</a> *uim, <a class="el" href="classgcu_1_1Object.html">Object</a> *object, double x, double y)</td></tr>
<tr class="memitem:af13348b065987fa4ca74ca0fb1ffa48e"><td class="memItemLeft" align="right" valign="top">typedef unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#af13348b065987fa4ca74ca0fb1ffa48e">SignalId</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab34c38b967a01bf8a46680dad90eed43"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#ab34c38b967a01bf8a46680dad90eed43">Display3DMode</a> </td></tr>
<tr class="memitem:a8b2b5ab4008c10355f1ca636bb1a3efa"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a8b2b5ab4008c10355f1ca636bb1a3efa">Action</a> { <a class="el" href="namespacegcu.html#a8b2b5ab4008c10355f1ca636bb1a3efaabe52c733de0a7f087f84a8aa1894cfcb">ActionException</a>, 
<a class="el" href="namespacegcu.html#a8b2b5ab4008c10355f1ca636bb1a3efaa2a0d1e02b3c5a729590345fc61c8bd90">ActionDelete</a>, 
<a class="el" href="namespacegcu.html#a8b2b5ab4008c10355f1ca636bb1a3efaa373b3a199b04a854ef2c628fb13650f9">ActionIgnore</a>
 }</td></tr>
<tr class="memitem:a49392c345f0740efd3167eb30aca570e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a49392c345f0740efd3167eb30aca570e">FormulaParseMode</a> </td></tr>
<tr class="memitem:a61b2c1e88b71e939f229107e8bc5615a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a61b2c1e88b71e939f229107e8bc5615a">MatrixType</a> </td></tr>
<tr class="memitem:aabe8d7866fa1e64337f3cbddd74b970a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#aabe8d7866fa1e64337f3cbddd74b970a">GcuTypeId</a> </td></tr>
<tr class="memitem:a19c49d12e7c0a96ae2be6c6c33c44b47"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a19c49d12e7c0a96ae2be6c6c33c44b47">RuleId</a> </td></tr>
<tr class="memitem:a662cb06e31132a49034b70b48a5f2b8f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8f">ContentType</a> { <br/>
&#160;&#160;<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8faa0cf1e7f709c32ffe0bbe1e5c9a22dc5">ContentTypeUnknown</a>, 
<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8fa4684bb2abdb70d1ce573189f1419ca8e">ContentType3D</a>, 
<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8faa7a1cedb4ae5061001959a7eaa51bfee">ContentType2D</a>, 
<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8fa9271a61f1e8d310416f4f863ccddb8b8">ContentTypeCrystal</a>, 
<br/>
&#160;&#160;<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8fac4c16ce17d1782d6e8b3feaa4ecdb2a1">ContentTypeSpectrum</a>, 
<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8fabe4ee695081960c9e4507a4ce4302460">ContentTypeMisc</a>, 
<a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8fa44e99d60f53f8bd7233eb615e1aad43a">ContentTypeInvalid</a>
<br/>
 }</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4f8965f753b510967aab9e507abe06b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1Vector.html">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a4f8965f753b510967aab9e507abe06b8">operator*</a> (double f, <a class="el" href="classgcu_1_1Vector.html">Vector</a> const &amp;v)</td></tr>
<tr class="memitem:a0b1b7de023ccfa2a47ba211f5bd01383"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1Vector3f.html">Vector3f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a0b1b7de023ccfa2a47ba211f5bd01383">operator*</a> (float f, <a class="el" href="classgcu_1_1Vector3f.html">Vector3f</a> const &amp;v)</td></tr>
<tr class="memitem:a332d2f006ce0bcb058518999d55814c7"><td class="memItemLeft" align="right" valign="top">xmlNodePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a332d2f006ce0bcb058518999d55814c7">FindNodeByNameAndId</a> (xmlNodePtr node, const char *name, const char *id=NULL)</td></tr>
<tr class="memitem:ac9624958aac46da5a633173dbf877c27"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#ac9624958aac46da5a633173dbf877c27">ReadPosition</a> (xmlNodePtr node, const char *id, double *x, double *y, double *z=NULL)</td></tr>
<tr class="memitem:ae0499e2d0ce9365356354f54172a5460"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#ae0499e2d0ce9365356354f54172a5460">WritePosition</a> (xmlDocPtr xml, xmlNodePtr node, const char *id, double x, double y, double z=0.0)</td></tr>
<tr class="memitem:a692114f8348f1cdba439df52091cbb31"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a692114f8348f1cdba439df52091cbb31">ReadColor</a> (xmlNodePtr node, const char *id, float *red, float *green, float *blue, float *alpha=NULL)</td></tr>
<tr class="memitem:a0514d95957d7d9520856e9bfc24f6a56"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a0514d95957d7d9520856e9bfc24f6a56">WriteColor</a> (xmlDocPtr xml, xmlNodePtr node, const char *id, double red, double green, double blue, double alpha=1.0)</td></tr>
<tr class="memitem:a607888f2b1d22ae5dfc643f3795c63ed"><td class="memItemLeft" align="right" valign="top">GOColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a607888f2b1d22ae5dfc643f3795c63ed">ReadColor</a> (xmlNodePtr node)</td></tr>
<tr class="memitem:a7f71a58c815d34f8cd92357f2fcc8c9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a7f71a58c815d34f8cd92357f2fcc8c9f">WriteColor</a> (xmlNodePtr node, GOColor color)</td></tr>
<tr class="memitem:a51799b9feeb2085f1b151628b73886f1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a51799b9feeb2085f1b151628b73886f1">ReadRadius</a> (xmlNodePtr node, <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> &amp;radius)</td></tr>
<tr class="memitem:a23bf6c0bed9524d83a59c9ccce1b2a2f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a23bf6c0bed9524d83a59c9ccce1b2a2f">WriteRadius</a> (xmlDocPtr xml, xmlNodePtr node, const <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> &amp;radius)</td></tr>
<tr class="memitem:a3b3ce96e4140b46c029833ccc3c26250"><td class="memItemLeft" align="right" valign="top">char const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a3b3ce96e4140b46c029833ccc3c26250">GetStaticScale</a> (char *buf)</td></tr>
<tr class="memitem:a84f2025f5f29ceb00b8dcffbfb0f4892"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a84f2025f5f29ceb00b8dcffbfb0f4892">WriteFloat</a> (xmlNodePtr node, char const *name, double value)</td></tr>
<tr class="memitem:a1eff7a481ec2c3bd42c871653769d9ec"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a1eff7a481ec2c3bd42c871653769d9ec">ReadFloat</a> (xmlNodePtr node, char const *name, double &amp;value, double default_value=0.)</td></tr>
<tr class="memitem:a0097910aef5ff6747f8ddcd71e5892e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a0097910aef5ff6747f8ddcd71e5892e2">WriteInt</a> (xmlNodePtr node, char const *name, int value)</td></tr>
<tr class="memitem:a353a7a52253009057f2d91b71ea8aa67"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a353a7a52253009057f2d91b71ea8aa67">ReadInt</a> (xmlNodePtr node, char const *name, int &amp;value, int default_value=0)</td></tr>
<tr class="memitem:aba9cb7074c9ebb1ace3e1ac1e6aa8627"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#aba9cb7074c9ebb1ace3e1ac1e6aa8627">WriteDate</a> (xmlNodePtr node, char const *name, GDate const *date)</td></tr>
<tr class="memitem:a9b45a3d8cce3511c6416cc9efb7cab60"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegcu.html#a9b45a3d8cce3511c6416cc9efb7cab60">ReadDate</a> (xmlNodePtr node, char const *name, GDate *date)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The Gnome Chemistry Utils C++ classes. </p>
<p>The namespace used for all C++ classes provided by the Gnome Chemistry Utils base library. </p>
</div><h2>Typedef Documentation</h2>
<a class="anchor" id="aea85ee1e0ab66342f28448b2e7a9174d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef bool(* gcu::BuildMenuCb)(<a class="el" href="classgcu_1_1Object.html">Object</a> *target, <a class="el" href="classgcu_1_1UIManager.html">UIManager</a> *uim, <a class="el" href="classgcu_1_1Object.html">Object</a> *object, double x, double y)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The type of callbacks for adding new items to the contextual menu of an object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>the <a class="el" href="classgcu_1_1Object.html">Object</a> whose menu is being built. </td></tr>
    <tr><td class="paramname">uim</td><td>the <a class="el" href="classgcu_1_1UIManager.html" title="base class for a user interface manager">UIManager</a> to populate. </td></tr>
    <tr><td class="paramname">object</td><td>the <a class="el" href="classgcu_1_1Object.html">Object</a> on which occured the mouse click. </td></tr>
    <tr><td class="paramname">x</td><td>x coordinate of the mouse click. </td></tr>
    <tr><td class="paramname">y</td><td>y coordinate of the mouse click. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="object_8h_source.html#l00108">108</a> of file <a class="el" href="object_8h_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="af13348b065987fa4ca74ca0fb1ffa48e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned <a class="el" href="namespacegcu.html#af13348b065987fa4ca74ca0fb1ffa48e">gcu::SignalId</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The types of the signals used in <a class="el" href="classgcu_1_1Object.html#acf16b429a6875e5620fa8051446ef34c">Object::EmitSignal()</a> and <a class="el" href="classgcu_1_1Object.html#a1ad183ecf7e5b5c42db100da03221e46">Object::OnSignal()</a>. Each signal must type be retrieved from a call to <a class="el" href="classgcu_1_1Object.html#a380275771a250b94785e43286525c74e">Object::CreateNewSignalId()</a>. </p>

<p>Definition at line <a class="el" href="object_8h_source.html#l00151">151</a> of file <a class="el" href="object_8h_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4a6abffbefdd6abf047dca4e63b0bac5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned <a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">gcu::TypeId</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The type of an object instance. Either predefined types are defined in the enum above or dynamically defined types by calls to <a class="el" href="classgcu_1_1Object.html#aea6734ca6bde8ae3e0788db43928f42e">Object::AddType</a>. </p>

<p>Definition at line <a class="el" href="object_8h_source.html#l00095">95</a> of file <a class="el" href="object_8h_source.html">object.h</a>.</p>

</div>
</div>
<h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a8b2b5ab4008c10355f1ca636bb1a3efa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#a8b2b5ab4008c10355f1ca636bb1a3efa">gcu::Action</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="gcu_2document_8h.html">gcu/document.h</a> Represents what should be done when an error occurs on an object. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a8b2b5ab4008c10355f1ca636bb1a3efaabe52c733de0a7f087f84a8aa1894cfcb"></a>ActionException</em>&nbsp;</td><td>
<p>Throw an exception </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8b2b5ab4008c10355f1ca636bb1a3efaa2a0d1e02b3c5a729590345fc61c8bd90"></a>ActionDelete</em>&nbsp;</td><td>
<p>Delete the object </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8b2b5ab4008c10355f1ca636bb1a3efaa373b3a199b04a854ef2c628fb13650f9"></a>ActionIgnore</em>&nbsp;</td><td>
<p>Ignore the error </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="gcu_2document_8h_source.html#l00049">49</a> of file <a class="el" href="gcu_2document_8h_source.html">gcu/document.h</a>.</p>

</div>
</div>
<a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8f">gcu::ContentType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The list of supported data types. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8faa0cf1e7f709c32ffe0bbe1e5c9a22dc5"></a>ContentTypeUnknown</em>&nbsp;</td><td>
<p>Unknown content. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8fa4684bb2abdb70d1ce573189f1419ca8e"></a>ContentType3D</em>&nbsp;</td><td>
<p>3D molecular structure. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8faa7a1cedb4ae5061001959a7eaa51bfee"></a>ContentType2D</em>&nbsp;</td><td>
<p>2D molecular structure. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8fa9271a61f1e8d310416f4f863ccddb8b8"></a>ContentTypeCrystal</em>&nbsp;</td><td>
<p>Crystal structure. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8fac4c16ce17d1782d6e8b3feaa4ecdb2a1"></a>ContentTypeSpectrum</em>&nbsp;</td><td>
<p>Spectral data. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8fabe4ee695081960c9e4507a4ce4302460"></a>ContentTypeMisc</em>&nbsp;</td><td>
<p>Miscalleneous contents. Might include anything. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a662cb06e31132a49034b70b48a5f2b8fa44e99d60f53f8bd7233eb615e1aad43a"></a>ContentTypeInvalid</em>&nbsp;</td><td>
<p>Invalid data. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="gcu_2structs_8h_source.html#l00035">35</a> of file <a class="el" href="gcu_2structs_8h_source.html">gcu/structs.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab34c38b967a01bf8a46680dad90eed43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#ab34c38b967a01bf8a46680dad90eed43">gcu::Display3DMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>3D display mode. Possible values are:</p>
<ul>
<li>BALL_AND_STICK: use ball and stick representation; atoms are represented by spheres with a radius equal to 20% of their van der Waals radius and bonds are displayed as cylinders Multiple bonds are displayed as multiple cylinders.</li>
<li>SPACEFILL: use space filling representation; atoms are represented by spheres with a radius equal their van der Waals radius; bonds are not displayed.</li>
<li>CYLINDERS: only bonds are represented as cylinders, atoms just end the cylinders.</li>
<li>WIREFRAME: bonds are represented as narrow lines, atoms just end the lines. </li>
</ul>

<p>Definition at line <a class="el" href="chem3ddoc_8h_source.html#l00045">45</a> of file <a class="el" href="chem3ddoc_8h_source.html">chem3ddoc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a49392c345f0740efd3167eb30aca570e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#a49392c345f0740efd3167eb30aca570e">gcu::FormulaParseMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="formula_8h.html">gcu/formula.h</a> The way formula should be interpreted when they contain symbols that might represent both an atom or a group of atoms such as Ac and Pr. Possible values are:</p>
<ul>
<li>GCU_FORMULA_PARSE_GUESS: try to determine the most probable interpretation of the symbol,</li>
<li>GCU_FORMULA_PARSE_ATOM: always interpret as atoms,</li>
<li>GCU_FORMULA_PARSE_RESIDUE: always interpret as groups,</li>
<li>GCU_FORMULA_PARSE_ASK: ask the user for each encountered instance,</li>
<li>GCU_FORMULA_PARSE_NO_CASE: this one is unrelated and can ba combined with any of the previous values, just make the parsing stricktly case sensitive. </li>
</ul>

<p>Definition at line <a class="el" href="formula_8h_source.html#l00052">52</a> of file <a class="el" href="formula_8h_source.html">formula.h</a>.</p>

</div>
</div>
<a class="anchor" id="aabe8d7866fa1e64337f3cbddd74b970a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#aabe8d7866fa1e64337f3cbddd74b970a">gcu::GcuTypeId</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This enumeration is used to determine the type of an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. Possible values are:</p>
<ul>
<li>NoType invalid type</li>
<li>AtomType an atom</li>
<li>FragmentType several atoms linked and represented by a text such as COOH (only in GChemPaint).</li>
<li>BondType a bond between two (or more) atoms.</li>
<li>MoleculeType a molecule.</li>
<li>ChainType a chain of atoms.</li>
<li>CycleType a cycle.</li>
<li>ReactantType a molecule involved in a reaction (only in GChemPaint).</li>
<li>ReactionArrowType a reaction arrow (only in GChemPaint).</li>
<li>ReactionOperatorType a + sign in a reaction (only in GChemPaint).</li>
<li>ReactionType a reaction.</li>
<li>MesomeryType a mesomery representation (only in GChemPaint).</li>
<li>MesomeryArrowType a double headed arrow used to represent mesomery (only in GChemPaint).</li>
<li>DocumentType a document, generally the top node in the objects tree.</li>
<li>TextType some text (only in GChemPaint).</li>
<li>OtherType if the type of an object is at least equal to OtherType, then it is a dynamically created type returned by the static <a class="el" href="classgcu_1_1Object.html#aea6734ca6bde8ae3e0788db43928f42e">Object::AddType</a> method.</li>
</ul>
<p>Some types are not used in the Gnome Chemistry Utils, but only in GChemPaint and might disappear from this list in future versions and replaced by dynamically created types. </p>

<p>Definition at line <a class="el" href="object_8h_source.html#l00071">71</a> of file <a class="el" href="object_8h_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="a61b2c1e88b71e939f229107e8bc5615a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#a61b2c1e88b71e939f229107e8bc5615a">gcu::MatrixType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This enumeration is used to determine the type a <a class="el" href="classgcu_1_1Matrix.html">Matrix</a>. Possible values are:</p>
<ul>
<li>euler: matrix used to find absolute positions from the position inside the solid using Euler's angles.</li>
<li>antieuler: the inverse of euler.</li>
<li>rotation: matrix representing the rotation to apply to the solid.</li>
</ul>
<p>This enumeration is used in one of the constructors (Matrix(Psi, Theta, Phi, Type)) of class <a class="el" href="classgcu_1_1Matrix.html">Matrix</a>. </p>

<p>Definition at line <a class="el" href="matrix_8h_source.html#l00044">44</a> of file <a class="el" href="matrix_8h_source.html">matrix.h</a>.</p>

</div>
</div>
<a class="anchor" id="a19c49d12e7c0a96ae2be6c6c33c44b47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegcu.html#a19c49d12e7c0a96ae2be6c6c33c44b47">gcu::RuleId</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This enumeration is used to maintain a set of rules about the possible hierarchical of the document. They are used with two class names or ids. Possible values are:</p>
<ul>
<li>RuleMayContain an instance of the first class may contain an instance of the second. This implies that an instance of the second class may be in an instance of the first (see RuleMayBeIn);</li>
<li>RuleMustContain an instance of the first class may contain an instance of the second class (implies RuleMayContain); if no instance of the first class is present, the object is not valid.</li>
<li>RuleMayBeIn an instance of the first class may be the child of an instance of the second class (see also RuleMayContain);</li>
<li>RuleMustBeIn an instance of the first class must be the child of an instance of the second class, otherwise it is not valid. </li>
</ul>

<p>Definition at line <a class="el" href="object_8h_source.html#l00139">139</a> of file <a class="el" href="object_8h_source.html">object.h</a>.</p>

</div>
</div>
<h2>Function Documentation</h2>
<a class="anchor" id="a332d2f006ce0bcb058518999d55814c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlNodePtr gcu::FindNodeByNameAndId </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>ReadPosition </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node,:</td><td>a pointer to the current parsed XML Node. </td></tr>
    <tr><td class="paramname">name,:</td><td>the name of the searched node. </td></tr>
    <tr><td class="paramname">id,:</td><td>the id property of the node or NULL if not significant. This parameter might be omitted in the last case.</td></tr>
  </table>
  </dd>
</dl>
<p>Helper method used to search the xmlNode instance of name Name and with id property equal to id in the children of node. When id is NULL, the searched node does not have an id property. When id is not NULL, the searched node should be unique.</p>
<dl class="section return"><dt>Returns</dt><dd>the matching node or NULL. </dd></dl>

</div>
</div>
<a class="anchor" id="a3b3ce96e4140b46c029833ccc3c26250"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char const* gcu::GetStaticScale </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf,:</td><td>a string to convert to a static instance.</td></tr>
  </table>
  </dd>
</dl>
<p>This function is used to replace a dynamically allocated string by a static instance. It works managing a set of string instances. It is used for scale names (as for radii and electronegativity), hence its name.</p>
<dl class="section return"><dt>Returns</dt><dd>a static version of buf or NULL if a new static string could not be created. </dd></dl>

</div>
</div>
<a class="anchor" id="a4f8965f753b510967aab9e507abe06b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcu_1_1Vector.html">Vector</a> gcu::operator* </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>a multiplication factor </td></tr>
    <tr><td class="paramname">v</td><td>the vector to multiply</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the product of f and v. </dd></dl>

</div>
</div>
<a class="anchor" id="a0b1b7de023ccfa2a47ba211f5bd01383"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcu_1_1Vector3f.html">Vector3f</a> gcu::operator* </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector3f const &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>a multiplication factor </td></tr>
    <tr><td class="paramname">v</td><td>the vector to multiply</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the product of f and v. </dd></dl>

</div>
</div>
<a class="anchor" id="a692114f8348f1cdba439df52091cbb31"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::ReadColor </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>blue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>alpha</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode representing an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. </td></tr>
    <tr><td class="paramname">id,:</td><td>the value of the id property of the color. This is used for <a class="el" href="classgcu_1_1Object.html">Object</a> instances having at least two colors. </td></tr>
    <tr><td class="paramname">red,:</td><td>a pointer to the red component of the color. </td></tr>
    <tr><td class="paramname">green,:</td><td>a pointer to the green component of the color. </td></tr>
    <tr><td class="paramname">blue,:</td><td>a pointer to the blue component of the color. </td></tr>
    <tr><td class="paramname">alpha,:</td><td>a pointer to the alpha component of the color or NULL if tranparency is not managed.</td></tr>
  </table>
  </dd>
</dl>
<p>This method can be used to load a color in an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. It should be used in cunjunction with <a class="el" href="namespacegcu.html#a0514d95957d7d9520856e9bfc24f6a56">WriteColor()</a> which executes the inverse operation. If id is NULL, a color with no id property will be search and parsed.</p>
<dl class="section return"><dt>Returns</dt><dd>true on success and false on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="a607888f2b1d22ae5dfc643f3795c63ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GOColor gcu::ReadColor </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode from which the color must be retrieved. Builds a GOColor from the node properties.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the GOColor found or black (0xff). </dd></dl>

</div>
</div>
<a class="anchor" id="a9b45a3d8cce3511c6416cc9efb7cab60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::ReadDate </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GDate *&#160;</td>
          <td class="paramname"><em>date</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>a pointer to an XML node. </td></tr>
    <tr><td class="paramname">name</td><td>the property name. </td></tr>
    <tr><td class="paramname">date</td><td>where to store the result.</td></tr>
  </table>
  </dd>
</dl>
<p>Retrieves <em>date</em> from the <em>node</em> property with name <em>name</em>. On failure, <em>date</em> will be cleared using g_date_clear(). </p>
<dl class="section return"><dt>Returns</dt><dd>true if the date could be retrieved. This method is locale independent. The date must be stored in the format MM/DD/YYYY. </dd></dl>

</div>
</div>
<a class="anchor" id="a1eff7a481ec2c3bd42c871653769d9ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::ReadFloat </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>default_value</em> = <code>0.</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>a pointer to an XML node. </td></tr>
    <tr><td class="paramname">name</td><td>the property name. </td></tr>
    <tr><td class="paramname">value</td><td>where to store the result. </td></tr>
    <tr><td class="paramname">default_value</td><td>the default value for the property if the property can't be retrieved.</td></tr>
  </table>
  </dd>
</dl>
<p>Retrieves <em>value</em> from the <em>node</em> property with name <em>name</em>. Sets the default value if somthing goes wrong. This method is locale independent. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the value could be retrieved. </dd></dl>

</div>
</div>
<a class="anchor" id="a353a7a52253009057f2d91b71ea8aa67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::ReadInt </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>default_value</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>a pointer to an XML node. </td></tr>
    <tr><td class="paramname">name</td><td>the property name. </td></tr>
    <tr><td class="paramname">value</td><td>where to store the result. </td></tr>
    <tr><td class="paramname">default_value</td><td>the default value for the property if the property can't be retrieved.</td></tr>
  </table>
  </dd>
</dl>
<p>Retrieves <em>value</em> from the <em>node</em> property with name <em>name</em>. Sets the default value if somthing goes wrong. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the value could be retrieved. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9624958aac46da5a633173dbf877c27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::ReadPosition </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>z</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode representing an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. </td></tr>
    <tr><td class="paramname">id,:</td><td>the value of the id property of the position. This is used for example for arrows because both the head and the tail of the arrow are positions. </td></tr>
    <tr><td class="paramname">x,:</td><td>a pointer to the x coordinate of the position. </td></tr>
    <tr><td class="paramname">y,:</td><td>a pointer to the y coordinate of the position. </td></tr>
    <tr><td class="paramname">z,:</td><td>a pointer to the z coordinate of the position or NULL for 2D objects.</td></tr>
  </table>
  </dd>
</dl>
<p>This method can be used to load the coordinates of a point in an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. It should be used in cunjunction with <a class="el" href="namespacegcu.html#ae0499e2d0ce9365356354f54172a5460">WritePosition()</a> which executes the inverse operation. If id is NULL, a position with no id property will be search and parsed.</p>
<dl class="section return"><dt>Returns</dt><dd>true on success and false on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="a51799b9feeb2085f1b151628b73886f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::ReadRadius </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> &amp;&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode representing an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. </td></tr>
    <tr><td class="paramname">radius,:</td><td>a <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure.</td></tr>
  </table>
  </dd>
</dl>
<p>This function parses the XML node representing a radius (written using <a class="el" href="namespacegcu.html#a23bf6c0bed9524d83a59c9ccce1b2a2f">WriteRadius()</a>) and fills the fields in the <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure with the data parsed.</p>
<dl class="section return"><dt>Returns</dt><dd>true on success and false on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="a0514d95957d7d9520856e9bfc24f6a56"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::WriteColor </td>
          <td>(</td>
          <td class="paramtype">xmlDocPtr&#160;</td>
          <td class="paramname"><em>xml</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>blue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xml,:</td><td>a pointer to the xmlDoc used to serialize the document. </td></tr>
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode representing an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. </td></tr>
    <tr><td class="paramname">id,:</td><td>the value of the id property of the color. This is used for <a class="el" href="classgcu_1_1Object.html">Object</a> instances having at least two colors. of the arrow are positions. </td></tr>
    <tr><td class="paramname">red,:</td><td>the red component of the color. </td></tr>
    <tr><td class="paramname">green,:</td><td>the green component of the color. </td></tr>
    <tr><td class="paramname">blue,:</td><td>the blue component of the color. </td></tr>
    <tr><td class="paramname">alpha,:</td><td>the alpha component of the color.</td></tr>
  </table>
  </dd>
</dl>
<p>Save a color as an XML node added to the children of node. This color can then be parsed using <a class="el" href="namespacegcu.html#a692114f8348f1cdba439df52091cbb31">ReadColor()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>true on success and false on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="a7f71a58c815d34f8cd92357f2fcc8c9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::WriteColor </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GOColor&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode to which the color must be serialized. </td></tr>
    <tr><td class="paramname">color,:</td><td>a pointer to the xmlNode from which the color must be retrieved. Serializes <em>color</em> to <em>node</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aba9cb7074c9ebb1ace3e1ac1e6aa8627"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::WriteDate </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GDate const *&#160;</td>
          <td class="paramname"><em>date</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>a pointer to an XML node. </td></tr>
    <tr><td class="paramname">name</td><td>the property name. </td></tr>
    <tr><td class="paramname">date</td><td>the date to serialize.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds <em>date</em> as a property with name <em>name</em> to <em>node</em>. This method is locale independent. The date will be stored in the format MM/DD/YYYY. </p>

</div>
</div>
<a class="anchor" id="a84f2025f5f29ceb00b8dcffbfb0f4892"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::WriteFloat </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>a pointer to an XML node. </td></tr>
    <tr><td class="paramname">name</td><td>the property name. </td></tr>
    <tr><td class="paramname">value</td><td>the value for the property.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds <em>value</em> as a property with name <em>name</em> to <em>node</em>. This method is locale independent. </p>

</div>
</div>
<a class="anchor" id="a0097910aef5ff6747f8ddcd71e5892e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::WriteInt </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>a pointer to an XML node. </td></tr>
    <tr><td class="paramname">name</td><td>the property name. </td></tr>
    <tr><td class="paramname">value</td><td>the value for the property.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds <em>value</em> as a property with name <em>name</em> to <em>node</em>. </p>

</div>
</div>
<a class="anchor" id="ae0499e2d0ce9365356354f54172a5460"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::WritePosition </td>
          <td>(</td>
          <td class="paramtype">xmlDocPtr&#160;</td>
          <td class="paramname"><em>xml</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>WritePosition </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xml,:</td><td>a pointer to the xmlDoc used to serialize the document. </td></tr>
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode representing an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. </td></tr>
    <tr><td class="paramname">id,:</td><td>the value of the id property of the position. This is used for example for arrows because both the head and the tail of the arrow are positions. </td></tr>
    <tr><td class="paramname">x,:</td><td>the x coordinate of the position. </td></tr>
    <tr><td class="paramname">y,:</td><td>the y coordinate of the position. </td></tr>
    <tr><td class="paramname">z,:</td><td>the z coordinate of the position.</td></tr>
  </table>
  </dd>
</dl>
<p>Save a position as an XML node added to the children of node. This position can then be parsed using <a class="el" href="namespacegcu.html#ac9624958aac46da5a633173dbf877c27">ReadPosition()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>true on success and false on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="a23bf6c0bed9524d83a59c9ccce1b2a2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcu::WriteRadius </td>
          <td>(</td>
          <td class="paramtype">xmlDocPtr&#160;</td>
          <td class="paramname"><em>xml</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> &amp;&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xml,:</td><td>a pointer to the xmlDoc used to serialize the document. </td></tr>
    <tr><td class="paramname">node,:</td><td>a pointer to the xmlNode representing an <a class="el" href="classgcu_1_1Object.html">Object</a> instance. </td></tr>
    <tr><td class="paramname">radius,:</td><td>a <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure.</td></tr>
  </table>
  </dd>
</dl>
<p>Save a radius as an XML node added to the children of node. This radius can then be parsed using <a class="el" href="namespacegcu.html#a51799b9feeb2085f1b151628b73886f1">ReadRadius()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>true on success and false on failure. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 14 2013 17:34:31 for The Gnome Chemistry Utils by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>