XQuilla/docs/simple-api/classATDurationOrDerived.html
2020-02-17 22:14:54 +01:00

745 lines
39 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.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="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>ATDurationOrDerived Class Reference</h1><!-- doxytag: class="ATDurationOrDerived" --><!-- doxytag: inherits="AnyAtomicType" --><code>#include &lt;<a class="el" href="ATDurationOrDerived_8hpp-source.html">ATDurationOrDerived.hpp</a>&gt;</code>
<p>
Inheritance diagram for ATDurationOrDerived:<p><center><img src="classATDurationOrDerived__inherit__graph.png" border="0" usemap="#ATDurationOrDerived__inherit__map" alt="Inheritance graph"></center>
<map name="ATDurationOrDerived__inherit__map">
<area href="classAnyAtomicType.html" shape="rect" coords="26,156,154,180" alt="">
<area href="classItem.html" shape="rect" coords="64,81,115,105" alt="">
<area href="classReferenceCounted.html" shape="rect" coords="16,7,163,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classATDurationOrDerived-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt; const <br>
<a class="el" href="classATDurationOrDerived.html">ATDurationOrDerived</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#8b589d4f696bef645b4de901b87312a3">Ptr</a></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#7e6af364d5358050effe16dabb0af4a5">getPrimitiveTypeName</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#5b940a56202ee42af84dd7ad02738c7b">getTypeURI</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#caad37288ab4a06632f0cc04908823ae">getTypeName</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#def72761c931d0a8fe6caa4d9698d305">asString</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#46f58183269108140860b499c827c161">isDayTimeDuration</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#24bb6fc0d061797f2f2e36c7024a5cf0">isYearMonthDuration</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#8adff81b39a5256db13b5c47a8e47b9d">equals</a> (const <a class="el" href="classRefCountPointer.html">AnyAtomicType::Ptr</a> &amp;target, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#b33ff57d464de6a76e4d4e009719d0e7">compare</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;other, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns less than 0 if this is less that other, 0 if they are the same, and greater than 0 otherwise. <a href="#b33ff57d464de6a76e4d4e009719d0e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#b438b4dbdc577d01f421d2ed602d30a5">divide</a> (const <a class="el" href="classRefCountPointer.html">Numeric::Ptr</a> &amp;divisor, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Divide this duration by a number -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration. <a href="#b438b4dbdc577d01f421d2ed602d30a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#87053126745c07d82710f2316b83d3a6">divide</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;divisor, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Divide this duration by a duration -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration. <a href="#87053126745c07d82710f2316b83d3a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#0d1c7cb5b87550074364f21fdccd25a0">multiply</a> (const <a class="el" href="classRefCountPointer.html">Numeric::Ptr</a> &amp;divisor, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiply this duration by a number -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration. <a href="#0d1c7cb5b87550074364f21fdccd25a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#d945f46dfc9d172e09d367809f15aa22">add</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;other, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a duration to this duration -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration. <a href="#d945f46dfc9d172e09d367809f15aa22"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#fa605c1db2131dba1e01818f27c283d1">subtract</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;other, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Subtract a duration from this duration -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration. <a href="#fa605c1db2131dba1e01818f27c283d1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#5a424ef010f495cff5ca577914fb8e39">getYears</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the year portion of this duration. <a href="#5a424ef010f495cff5ca577914fb8e39"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#3ac6002f61ee5ec5b07067349c21e74e">getMonths</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the month portion of this duration. <a href="#3ac6002f61ee5ec5b07067349c21e74e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#bc5a114f4679587edfeaa48f1d61fe86">getDays</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the days portion of this duration. <a href="#bc5a114f4679587edfeaa48f1d61fe86"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#74c902632496313488c8639d8450c430">getHours</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the hours portion of this duration. <a href="#74c902632496313488c8639d8450c430"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#2df9a5a0282791d934a752c4e5422e6c">getMinutes</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the minutes portion of this duration. <a href="#2df9a5a0282791d934a752c4e5422e6c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#3a2f528208b6b41044ab7b1f5e05489e">getSeconds</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the seconds portion of this duration. <a href="#3a2f528208b6b41044ab7b1f5e05489e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#d4a2476f744b99b887ffcdd363342d91">asSeconds</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#0d54b94a566cbff8cb240cd069bc5ff1">asMonths</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#dd04814f7994ef3e954c6ec25146c570">isNegative</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if this Duration is negative, false otherwise. <a href="#dd04814f7994ef3e954c6ec25146c570"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classAnyAtomicType.html#289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#c1dfdc56ce7f6afef06b3f92c3a3bc2a">getPrimitiveTypeIndex</a> () const=0</td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const XMLCh&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#bd22257eb3b9eedd3f98c880cf03e2f4">fgDT_DAYTIMEDURATION</a> []</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const XMLCh&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#1b165234a99d4fa91464dbb83f9309d5">pattern_DT_DAYTIMEDURATION</a> []</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const XMLCh&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#f1467aa9cc1082a20cc260cc6a5dd7d4">fgDT_YEARMONTHDURATION</a> []</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const XMLCh&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classATDurationOrDerived.html#081d9acf5c50faf79689c968006e35ec">pattern_DT_YEARMONTHDURATION</a> []</td></tr>
</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="8b589d4f696bef645b4de901b87312a3"></a><!-- doxytag: member="ATDurationOrDerived::Ptr" ref="8b589d4f696bef645b4de901b87312a3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classRefCountPointer.html">RefCountPointer</a>&lt;const <a class="el" href="classATDurationOrDerived.html">ATDurationOrDerived</a>&gt; <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Reimplemented from <a class="el" href="classAnyAtomicType.html#424da7f612b763dfd17fffa2fa719136">AnyAtomicType</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7e6af364d5358050effe16dabb0af4a5"></a><!-- doxytag: member="ATDurationOrDerived::getPrimitiveTypeName" ref="7e6af364d5358050effe16dabb0af4a5" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* ATDurationOrDerived::getPrimitiveTypeName </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classAnyAtomicType.html#a482a57403c472e1c7a69df340dc6649">AnyAtomicType</a>.
</div>
</div><p>
<a class="anchor" name="5b940a56202ee42af84dd7ad02738c7b"></a><!-- doxytag: member="ATDurationOrDerived::getTypeURI" ref="5b940a56202ee42af84dd7ad02738c7b" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* ATDurationOrDerived::getTypeURI </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classAnyAtomicType.html#f6bf3eb4e7d56a982c82afebfda26b3b">AnyAtomicType</a>.
</div>
</div><p>
<a class="anchor" name="caad37288ab4a06632f0cc04908823ae"></a><!-- doxytag: member="ATDurationOrDerived::getTypeName" ref="caad37288ab4a06632f0cc04908823ae" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* ATDurationOrDerived::getTypeName </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classAnyAtomicType.html#063dd62c1853c339dc80f5ff48c1b6b4">AnyAtomicType</a>.
</div>
</div><p>
<a class="anchor" name="def72761c931d0a8fe6caa4d9698d305"></a><!-- doxytag: member="ATDurationOrDerived::asString" ref="def72761c931d0a8fe6caa4d9698d305" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* ATDurationOrDerived::asString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classAnyAtomicType.html#401defae210c75462304e84605a79244">AnyAtomicType</a>.
</div>
</div><p>
<a class="anchor" name="46f58183269108140860b499c827c161"></a><!-- doxytag: member="ATDurationOrDerived::isDayTimeDuration" ref="46f58183269108140860b499c827c161" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool ATDurationOrDerived::isDayTimeDuration </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="24bb6fc0d061797f2f2e36c7024a5cf0"></a><!-- doxytag: member="ATDurationOrDerived::isYearMonthDuration" ref="24bb6fc0d061797f2f2e36c7024a5cf0" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool ATDurationOrDerived::isYearMonthDuration </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="8adff81b39a5256db13b5c47a8e47b9d"></a><!-- doxytag: member="ATDurationOrDerived::equals" ref="8adff81b39a5256db13b5c47a8e47b9d" args="(const AnyAtomicType::Ptr &amp;target, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool ATDurationOrDerived::equals </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">AnyAtomicType::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>target</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b33ff57d464de6a76e4d4e009719d0e7"></a><!-- doxytag: member="ATDurationOrDerived::compare" ref="b33ff57d464de6a76e4d4e009719d0e7" args="(const ATDurationOrDerived::Ptr &amp;other, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int ATDurationOrDerived::compare </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>other</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns less than 0 if this is less that other, 0 if they are the same, and greater than 0 otherwise.
<p>
</div>
</div><p>
<a class="anchor" name="b438b4dbdc577d01f421d2ed602d30a5"></a><!-- doxytag: member="ATDurationOrDerived::divide" ref="b438b4dbdc577d01f421d2ed602d30a5" args="(const Numeric::Ptr &amp;divisor, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> ATDurationOrDerived::divide </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Numeric::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>divisor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Divide this duration by a number -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration.
<p>
</div>
</div><p>
<a class="anchor" name="87053126745c07d82710f2316b83d3a6"></a><!-- doxytag: member="ATDurationOrDerived::divide" ref="87053126745c07d82710f2316b83d3a6" args="(const ATDurationOrDerived::Ptr &amp;divisor, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::divide </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>divisor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Divide this duration by a duration -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration.
<p>
</div>
</div><p>
<a class="anchor" name="0d1c7cb5b87550074364f21fdccd25a0"></a><!-- doxytag: member="ATDurationOrDerived::multiply" ref="0d1c7cb5b87550074364f21fdccd25a0" args="(const Numeric::Ptr &amp;divisor, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> ATDurationOrDerived::multiply </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Numeric::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>divisor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Multiply this duration by a number -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration.
<p>
</div>
</div><p>
<a class="anchor" name="d945f46dfc9d172e09d367809f15aa22"></a><!-- doxytag: member="ATDurationOrDerived::add" ref="d945f46dfc9d172e09d367809f15aa22" args="(const ATDurationOrDerived::Ptr &amp;other, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> ATDurationOrDerived::add </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>other</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Add a duration to this duration -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration.
<p>
</div>
</div><p>
<a class="anchor" name="fa605c1db2131dba1e01818f27c283d1"></a><!-- doxytag: member="ATDurationOrDerived::subtract" ref="fa605c1db2131dba1e01818f27c283d1" args="(const ATDurationOrDerived::Ptr &amp;other, const DynamicContext *context) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> ATDurationOrDerived::subtract </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>other</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Subtract a duration from this duration -- only available for xdt:dayTimeDuration and xdt:yearMonthDuration.
<p>
</div>
</div><p>
<a class="anchor" name="5a424ef010f495cff5ca577914fb8e39"></a><!-- doxytag: member="ATDurationOrDerived::getYears" ref="5a424ef010f495cff5ca577914fb8e39" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::getYears </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the year portion of this duration.
<p>
</div>
</div><p>
<a class="anchor" name="3ac6002f61ee5ec5b07067349c21e74e"></a><!-- doxytag: member="ATDurationOrDerived::getMonths" ref="3ac6002f61ee5ec5b07067349c21e74e" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::getMonths </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the month portion of this duration.
<p>
</div>
</div><p>
<a class="anchor" name="bc5a114f4679587edfeaa48f1d61fe86"></a><!-- doxytag: member="ATDurationOrDerived::getDays" ref="bc5a114f4679587edfeaa48f1d61fe86" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::getDays </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the days portion of this duration.
<p>
</div>
</div><p>
<a class="anchor" name="74c902632496313488c8639d8450c430"></a><!-- doxytag: member="ATDurationOrDerived::getHours" ref="74c902632496313488c8639d8450c430" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::getHours </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the hours portion of this duration.
<p>
</div>
</div><p>
<a class="anchor" name="2df9a5a0282791d934a752c4e5422e6c"></a><!-- doxytag: member="ATDurationOrDerived::getMinutes" ref="2df9a5a0282791d934a752c4e5422e6c" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::getMinutes </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the minutes portion of this duration.
<p>
</div>
</div><p>
<a class="anchor" name="3a2f528208b6b41044ab7b1f5e05489e"></a><!-- doxytag: member="ATDurationOrDerived::getSeconds" ref="3a2f528208b6b41044ab7b1f5e05489e" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::getSeconds </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the seconds portion of this duration.
<p>
</div>
</div><p>
<a class="anchor" name="d4a2476f744b99b887ffcdd363342d91"></a><!-- doxytag: member="ATDurationOrDerived::asSeconds" ref="d4a2476f744b99b887ffcdd363342d91" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::asSeconds </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="0d54b94a566cbff8cb240cd069bc5ff1"></a><!-- doxytag: member="ATDurationOrDerived::asMonths" ref="0d54b94a566cbff8cb240cd069bc5ff1" args="(const DynamicContext *context) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDurationOrDerived::asMonths </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="dd04814f7994ef3e954c6ec25146c570"></a><!-- doxytag: member="ATDurationOrDerived::isNegative" ref="dd04814f7994ef3e954c6ec25146c570" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool ATDurationOrDerived::isNegative </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if this Duration is negative, false otherwise.
<p>
</div>
</div><p>
<a class="anchor" name="c1dfdc56ce7f6afef06b3f92c3a3bc2a"></a><!-- doxytag: member="ATDurationOrDerived::getPrimitiveTypeIndex" ref="c1dfdc56ce7f6afef06b3f92c3a3bc2a" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classAnyAtomicType.html#289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a> ATDurationOrDerived::getPrimitiveTypeIndex </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classAnyAtomicType.html#b1da6fa7575a7d33396ae706f3d1e8f5">AnyAtomicType</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="bd22257eb3b9eedd3f98c880cf03e2f4"></a><!-- doxytag: member="ATDurationOrDerived::fgDT_DAYTIMEDURATION" ref="bd22257eb3b9eedd3f98c880cf03e2f4" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XMLCh <a class="el" href="classATDurationOrDerived.html#bd22257eb3b9eedd3f98c880cf03e2f4">ATDurationOrDerived::fgDT_DAYTIMEDURATION</a>[]<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="1b165234a99d4fa91464dbb83f9309d5"></a><!-- doxytag: member="ATDurationOrDerived::pattern_DT_DAYTIMEDURATION" ref="1b165234a99d4fa91464dbb83f9309d5" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XMLCh <a class="el" href="classATDurationOrDerived.html#1b165234a99d4fa91464dbb83f9309d5">ATDurationOrDerived::pattern_DT_DAYTIMEDURATION</a>[]<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="f1467aa9cc1082a20cc260cc6a5dd7d4"></a><!-- doxytag: member="ATDurationOrDerived::fgDT_YEARMONTHDURATION" ref="f1467aa9cc1082a20cc260cc6a5dd7d4" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XMLCh <a class="el" href="classATDurationOrDerived.html#f1467aa9cc1082a20cc260cc6a5dd7d4">ATDurationOrDerived::fgDT_YEARMONTHDURATION</a>[]<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="081d9acf5c50faf79689c968006e35ec"></a><!-- doxytag: member="ATDurationOrDerived::pattern_DT_YEARMONTHDURATION" ref="081d9acf5c50faf79689c968006e35ec" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XMLCh <a class="el" href="classATDurationOrDerived.html#081d9acf5c50faf79689c968006e35ec">ATDurationOrDerived::pattern_DT_YEARMONTHDURATION</a>[]<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ATDurationOrDerived_8hpp-source.html">ATDurationOrDerived.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 28 16:41:06 2008 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>