<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MPQC: MPQC::Physics_Units_impl 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.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><b>MPQC</b>::<a class="el" href="classMPQC_1_1Physics__Units__impl.html">Physics_Units_impl</a> </div> </div> <div class="contents"> <h1>MPQC::Physics_Units_impl Class Reference</h1><!-- doxytag: class="MPQC::Physics_Units_impl" -->Symbol "MPQC.Physics_Units" (version 0.2). <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="MPQC__Physics__Units__Impl_8hh_source.html">MPQC_Physics_Units_Impl.hh</a>></code> <p> <p> <a href="classMPQC_1_1Physics__Units__impl-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 Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d396f89ff69f7ce58bb0f5414637def6"></a><!-- doxytag: member="MPQC::Physics_Units_impl::set_units" ref="d396f89ff69f7ce58bb0f5414637def6" args="(const sc::Ref< sc::Units > &)" --> void </td><td class="memItemRight" valign="bottom"><b>set_units</b> (const <a class="el" href="classsc_1_1Ref.html">sc::Ref</a>< <a class="el" href="classsc_1_1Units.html">sc::Units</a> > &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8da7eb8ee228dc562c1a676cd4dc2609"></a><!-- doxytag: member="MPQC::Physics_Units_impl::Physics_Units_impl" ref="8da7eb8ee228dc562c1a676cd4dc2609" args="(struct MPQC_Physics_Units__object *s)" --> </td><td class="memItemRight" valign="bottom"><b>Physics_Units_impl</b> (struct MPQC_Physics_Units__object *s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="25ea1043a0ce198d0c52c05adac92346"></a><!-- doxytag: member="MPQC::Physics_Units_impl::_ctor" ref="25ea1043a0ce198d0c52c05adac92346" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>_ctor</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ba05316c1eaf26f4bff76b0c1230e25"></a><!-- doxytag: member="MPQC::Physics_Units_impl::_dtor" ref="7ba05316c1eaf26f4bff76b0c1230e25" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>_dtor</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a37c77bfde79abda6ce91453c6bf0f31"></a><!-- doxytag: member="MPQC::Physics_Units_impl::initialize" ref="a37c77bfde79abda6ce91453c6bf0f31" args="(const ::std::string &unitname)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPQC_1_1Physics__Units__impl.html#a37c77bfde79abda6ce91453c6bf0f31">initialize</a> (const ::std::string &unitname) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes the units as a human readable string options are "angstroms" or "bohr". <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71dc1bcdda656186bf4732ff330661c5"></a><!-- doxytag: member="MPQC::Physics_Units_impl::get_unit_name" ref="71dc1bcdda656186bf4732ff330661c5" args="()" --> ::std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPQC_1_1Physics__Units__impl.html#71dc1bcdda656186bf4732ff330661c5">get_unit_name</a> () throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the units as a human readable string. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90f00638065c42c00d2d8508d0968655"></a><!-- doxytag: member="MPQC::Physics_Units_impl::convert_to" ref="90f00638065c42c00d2d8508d0968655" args="(const ::std::string &unitname)" --> double </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPQC_1_1Physics__Units__impl.html#90f00638065c42c00d2d8508d0968655">convert_to</a> (const ::std::string &unitname) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts from self's units to the given unit name. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dcf4e1a457714fd3dffdbbbb91ca6920"></a><!-- doxytag: member="MPQC::Physics_Units_impl::convert_from" ref="dcf4e1a457714fd3dffdbbbb91ca6920" args="(const ::std::string &unitname)" --> double </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPQC_1_1Physics__Units__impl.html#dcf4e1a457714fd3dffdbbbb91ca6920">convert_from</a> (const ::std::string &unitname) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts to self's units from the given unit name. <br></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cb849a22fc786d1c4090d15b3187adf7"></a><!-- doxytag: member="MPQC::Physics_Units_impl::_load" ref="cb849a22fc786d1c4090d15b3187adf7" args="()" --> static void </td><td class="memItemRight" valign="bottom"><b>_load</b> ()</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Symbol "MPQC.Physics_Units" (version 0.2). <p> <a class="el" href="classMPQC_1_1Physics__Units__impl.html" title="Symbol "MPQC.Physics_Units" (version 0.2).">Physics_Units_impl</a> implements a class interface for units.<p> This is an implementation of a SIDL interface. The stub code is generated by the Babel tool. Do not make modifications outside of splicer blocks, as these will be lost. This is a server implementation for a Babel class, the Babel client code is provided by the cca-chem-generic package. <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="MPQC__Physics__Units__Impl_8hh_source.html">MPQC_Physics_Units_Impl.hh</a></ul> </div> <hr> <address> <small> Generated at Wed Oct 14 14:12:12 2009 for <a href="http://www.mpqc.org">MPQC</a> 2.3.1 using the documentation package <a href="http://www.doxygen.org">Doxygen</a> 1.5.9. </small> </address> </body> </html>