194 lines
38 KiB
HTML
194 lines
38 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&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.8.5 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_e3266bbc227f825a287bdb912a8a79c0.html">include</a></li><li class="navelem"><a class="el" href="dir_a1bc92396ffc8a3dc7aa16f9f9aed8c7.html">xqilla</a></li><li class="navelem"><a class="el" href="dir_78395f82a4cb2f249a968d7b21478d82.html">items</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">ATDecimalOrDerived.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="ATDecimalOrDerived_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2001, 2008,</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * DecisionSoft Limited. All rights reserved.</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * </span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * you may not use this file except in compliance with the License.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * You may obtain a copy of the License at</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * limitations under the License.</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef _ATDECIMALORDERIVED_HPP</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor">#define _ATDECIMALORDERIVED_HPP</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <xqilla/framework/XQillaExport.hpp></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="Numeric_8hpp.html">xqilla/items/Numeric.hpp</a>></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="classDynamicContext.html">DynamicContext</a>;</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span>MAPM;</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classATDecimalOrDerived.html"> 29</a></span> <span class="keyword">class </span>XQILLA_API <a class="code" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a> : <span class="keyword">public</span> <a class="code" href="classNumeric.html">Numeric</a></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classATDecimalOrDerived.html#a0b1555bfa58cd651b103a6af6420c848"> 32</a></span>  <span class="keyword">typedef</span> <a class="code" href="classRefCountPointer.html">RefCountPointer<const ATDecimalOrDerived></a> <a class="code" href="classATDecimalOrDerived.html#a0b1555bfa58cd651b103a6af6420c848">Ptr</a>;</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">/* Get the name of the primitive type (basic type) of this type</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> * (ie "decimal" for xs:decimal) */</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classNumeric.html#ac784b50261f2cd09d374177ce97750f0">getPrimitiveTypeName</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">/* Get the namespace URI for this type */</span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classNumeric.html#a4fb71c7560efbfd74e056005fadd55d4">getTypeURI</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">/* Get the name of this type (ie "integer" for xs:integer) */</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classNumeric.html#a1a7b8676b76553d4202d7239ebd97cea">getTypeName</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">/* returns the XMLCh* (canonical) representation of this type */</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* <a class="code" href="classNumeric.html#a7fa981d6a16a19f44fac96cbfe04435a">asString</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">/* Promote this to the given type, if possible */</span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a6249bd37b1f057ca3000a28f56770201">promoteTypeIfApplicable</a>(<a class="code" href="classAnyAtomicType.html#a289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a> typeIndex,</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ab1462f1dc6b665c950715a7b520a8132">add</a>(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> &other, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a8e7acbf3e78e54ab8c7cceb684c7acee">subtract</a>(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> &other, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ae4fa9f61ddd156a476f84502556b8d1e">multiply</a>(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> &other, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a1fbd618bf4b0651f6d928d6467a3dc7c">divide</a>(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> &other, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ac790694e40584df141c6e47b415ec9d3">mod</a>(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> &other, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ae2c1fc61e202609f03d5f1ba31117514">floor</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a6008e738cad1b7bef5bfab6a5e502d90">ceiling</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a19a6c416cdbbe09188350650dcc270f4">round</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a7b9cdc8c8fde1b076e467054444a9639">roundHalfToEven</a>(<span class="keyword">const</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> &precision, <span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a4cadcee0d61d7f42520d7a75981756cc">invert</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ae985b72033cd05fa363504d8d526573d">abs</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a2b717aab642eeb88240ba1481a4d2e3f">sqrt</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ae93db6935939a58089bdbc16391ecb6f">sin</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a8cec590f495cea55a6a7be3bdb7d4453">cos</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a6545cabe8ecb876e4b0e35504c34c91d">tan</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a26d4a72e417019b15e3cce47c6de3bb8">asin</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a6b0100c13de01e2e35937698eaaec8fa">acos</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#ad83d41e0d95076e37860b81693856fde">atan</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#aa56afddb69e8ee7bfb564f03546b329b">log</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">virtual</span> <a class="code" href="classRefCountPointer.html">Numeric::Ptr</a> <a class="code" href="classNumeric.html#a8486aada31ff17541741e3bf4ab67b6e">exp</a>(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classNumeric.html#a2b1e0881d6c31a9ab6b33b5474aae817">isZero</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classNumeric.html#a6b0787ad3ff85fc99a3672732b495ae6">isNegative</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classNumeric.html#acdfbdc8ac9856ba2bd83e3d01f615687">isPositive</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">/* Is this floating point value not a number? */</span></div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classATDecimalOrDerived.html#a1eb758c0207d8cbd931a231a03189e6d"> 122</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classATDecimalOrDerived.html#a1eb758c0207d8cbd931a231a03189e6d">isNaN</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">/* Is this floating point value infinite? */</span></div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classATDecimalOrDerived.html#a81468b5cde5e99a2223bde0a9a6ddea4"> 125</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classATDecimalOrDerived.html#a81468b5cde5e99a2223bde0a9a6ddea4">isInfinite</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">virtual</span> XMLInt32 treatAsCodepoint(<span class="keyword">const</span> <a class="code" href="classDynamicContext.html">DynamicContext</a>* context) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keyword">virtual</span> <a class="code" href="classAnyAtomicType.html#a289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a> <a class="code" href="classNumeric.html#a78efaf1b585a5fc539ebe95fd363bd31">getPrimitiveTypeIndex</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> MAPM &<a class="code" href="classNumeric.html#a794b6a4ac06ae6e55a2c3fedacf0afab">asMAPM</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">virtual</span> State <a class="code" href="classNumeric.html#aeffd423c8d7c721ea69d1fa8d1713e21">getState</a>() <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> };</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor">#endif // _ATDECIMALORDERIVED_HPP</span></div>
|
|
<div class="ttc" id="classNumeric_html_a4cadcee0d61d7f42520d7a75981756cc"><div class="ttname"><a href="classNumeric.html#a4cadcee0d61d7f42520d7a75981756cc">Numeric::invert</a></div><div class="ttdeci">virtual Numeric::Ptr invert(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the Additive inverse of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a1a7b8676b76553d4202d7239ebd97cea"><div class="ttname"><a href="classNumeric.html#a1a7b8676b76553d4202d7239ebd97cea">Numeric::getTypeName</a></div><div class="ttdeci">virtual const XMLCh * getTypeName() const =0</div></div>
|
|
<div class="ttc" id="classNumeric_html_a8cec590f495cea55a6a7be3bdb7d4453"><div class="ttname"><a href="classNumeric.html#a8cec590f495cea55a6a7be3bdb7d4453">Numeric::cos</a></div><div class="ttdeci">virtual Numeric::Ptr cos(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the cos root of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_aeffd423c8d7c721ea69d1fa8d1713e21"><div class="ttname"><a href="classNumeric.html#aeffd423c8d7c721ea69d1fa8d1713e21">Numeric::getState</a></div><div class="ttdeci">virtual State getState() const =0</div></div>
|
|
<div class="ttc" id="classNumeric_html_a6008e738cad1b7bef5bfab6a5e502d90"><div class="ttname"><a href="classNumeric.html#a6008e738cad1b7bef5bfab6a5e502d90">Numeric::ceiling</a></div><div class="ttdeci">virtual Numeric::Ptr ceiling(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the ceiling of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_ab1462f1dc6b665c950715a7b520a8132"><div class="ttname"><a href="classNumeric.html#ab1462f1dc6b665c950715a7b520a8132">Numeric::add</a></div><div class="ttdeci">virtual Numeric::Ptr add(const Numeric::Ptr &other, const DynamicContext *context) const =0</div><div class="ttdoc">Returns a Numeric object which is the sum of this and other. </div></div>
|
|
<div class="ttc" id="classRefCountPointer_html"><div class="ttname"><a href="classRefCountPointer.html">RefCountPointer</a></div><div class="ttdoc">Super class of all the reference counted wrappers for Items. </div><div class="ttdef"><b>Definition:</b> ReferenceCounted.hpp:61</div></div>
|
|
<div class="ttc" id="classNumeric_html_acdfbdc8ac9856ba2bd83e3d01f615687"><div class="ttname"><a href="classNumeric.html#acdfbdc8ac9856ba2bd83e3d01f615687">Numeric::isPositive</a></div><div class="ttdeci">virtual bool isPositive() const =0</div><div class="ttdoc">Is this Numeric positive? </div></div>
|
|
<div class="ttc" id="classATDecimalOrDerived_html_a81468b5cde5e99a2223bde0a9a6ddea4"><div class="ttname"><a href="classATDecimalOrDerived.html#a81468b5cde5e99a2223bde0a9a6ddea4">ATDecimalOrDerived::isInfinite</a></div><div class="ttdeci">virtual bool isInfinite() const </div><div class="ttdef"><b>Definition:</b> ATDecimalOrDerived.hpp:125</div></div>
|
|
<div class="ttc" id="classNumeric_html"><div class="ttname"><a href="classNumeric.html">Numeric</a></div><div class="ttdef"><b>Definition:</b> Numeric.hpp:31</div></div>
|
|
<div class="ttc" id="classNumeric_html_a19a6c416cdbbe09188350650dcc270f4"><div class="ttname"><a href="classNumeric.html#a19a6c416cdbbe09188350650dcc270f4">Numeric::round</a></div><div class="ttdeci">virtual Numeric::Ptr round(const DynamicContext *context) const =0</div><div class="ttdoc">Rounds this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a6545cabe8ecb876e4b0e35504c34c91d"><div class="ttname"><a href="classNumeric.html#a6545cabe8ecb876e4b0e35504c34c91d">Numeric::tan</a></div><div class="ttdeci">virtual Numeric::Ptr tan(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the tan of this Numeric. </div></div>
|
|
<div class="ttc" id="classAnyAtomicType_html_a289c5db5e82b40c2f3e53af7d472f14c"><div class="ttname"><a href="classAnyAtomicType.html#a289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a></div><div class="ttdeci">AtomicObjectType</div><div class="ttdef"><b>Definition:</b> AnyAtomicType.hpp:34</div></div>
|
|
<div class="ttc" id="classNumeric_html_a1fbd618bf4b0651f6d928d6467a3dc7c"><div class="ttname"><a href="classNumeric.html#a1fbd618bf4b0651f6d928d6467a3dc7c">Numeric::divide</a></div><div class="ttdeci">virtual Numeric::Ptr divide(const Numeric::Ptr &other, const DynamicContext *context) const =0</div><div class="ttdoc">Returns a Numeric object which is the quotient of this and other. </div></div>
|
|
<div class="ttc" id="classNumeric_html_aa56afddb69e8ee7bfb564f03546b329b"><div class="ttname"><a href="classNumeric.html#aa56afddb69e8ee7bfb564f03546b329b">Numeric::log</a></div><div class="ttdeci">virtual Numeric::Ptr log(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the ln of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_ad83d41e0d95076e37860b81693856fde"><div class="ttname"><a href="classNumeric.html#ad83d41e0d95076e37860b81693856fde">Numeric::atan</a></div><div class="ttdeci">virtual Numeric::Ptr atan(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the atan of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a78efaf1b585a5fc539ebe95fd363bd31"><div class="ttname"><a href="classNumeric.html#a78efaf1b585a5fc539ebe95fd363bd31">Numeric::getPrimitiveTypeIndex</a></div><div class="ttdeci">virtual AnyAtomicType::AtomicObjectType getPrimitiveTypeIndex() const =0</div></div>
|
|
<div class="ttc" id="classNumeric_html_a2b1e0881d6c31a9ab6b33b5474aae817"><div class="ttname"><a href="classNumeric.html#a2b1e0881d6c31a9ab6b33b5474aae817">Numeric::isZero</a></div><div class="ttdeci">virtual bool isZero() const =0</div><div class="ttdoc">Does this Numeric have value 0? </div></div>
|
|
<div class="ttc" id="classNumeric_html_a8e7acbf3e78e54ab8c7cceb684c7acee"><div class="ttname"><a href="classNumeric.html#a8e7acbf3e78e54ab8c7cceb684c7acee">Numeric::subtract</a></div><div class="ttdeci">virtual Numeric::Ptr subtract(const Numeric::Ptr &other, const DynamicContext *context) const =0</div><div class="ttdoc">Returns a Numeric object which is the difference of this and other. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a7fa981d6a16a19f44fac96cbfe04435a"><div class="ttname"><a href="classNumeric.html#a7fa981d6a16a19f44fac96cbfe04435a">Numeric::asString</a></div><div class="ttdeci">virtual const XMLCh * asString(const DynamicContext *context) const =0</div></div>
|
|
<div class="ttc" id="classNumeric_html_ac784b50261f2cd09d374177ce97750f0"><div class="ttname"><a href="classNumeric.html#ac784b50261f2cd09d374177ce97750f0">Numeric::getPrimitiveTypeName</a></div><div class="ttdeci">virtual const XMLCh * getPrimitiveTypeName() const =0</div></div>
|
|
<div class="ttc" id="classNumeric_html_a4fb71c7560efbfd74e056005fadd55d4"><div class="ttname"><a href="classNumeric.html#a4fb71c7560efbfd74e056005fadd55d4">Numeric::getTypeURI</a></div><div class="ttdeci">virtual const XMLCh * getTypeURI() const =0</div></div>
|
|
<div class="ttc" id="Numeric_8hpp_html"><div class="ttname"><a href="Numeric_8hpp.html">Numeric.hpp</a></div></div>
|
|
<div class="ttc" id="classDynamicContext_html"><div class="ttname"><a href="classDynamicContext.html">DynamicContext</a></div><div class="ttdoc">The execution time dynamic context interface. </div><div class="ttdef"><b>Definition:</b> DynamicContext.hpp:38</div></div>
|
|
<div class="ttc" id="classNumeric_html_a8486aada31ff17541741e3bf4ab67b6e"><div class="ttname"><a href="classNumeric.html#a8486aada31ff17541741e3bf4ab67b6e">Numeric::exp</a></div><div class="ttdeci">virtual Numeric::Ptr exp(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the exp of this Numeric. </div></div>
|
|
<div class="ttc" id="classATDecimalOrDerived_html_a0b1555bfa58cd651b103a6af6420c848"><div class="ttname"><a href="classATDecimalOrDerived.html#a0b1555bfa58cd651b103a6af6420c848">ATDecimalOrDerived::Ptr</a></div><div class="ttdeci">RefCountPointer< const ATDecimalOrDerived > Ptr</div><div class="ttdef"><b>Definition:</b> ATDecimalOrDerived.hpp:32</div></div>
|
|
<div class="ttc" id="classNumeric_html_ac790694e40584df141c6e47b415ec9d3"><div class="ttname"><a href="classNumeric.html#ac790694e40584df141c6e47b415ec9d3">Numeric::mod</a></div><div class="ttdeci">virtual Numeric::Ptr mod(const Numeric::Ptr &other, const DynamicContext *context) const =0</div><div class="ttdoc">Returns the arithmetic product of its operands as a Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a6b0787ad3ff85fc99a3672732b495ae6"><div class="ttname"><a href="classNumeric.html#a6b0787ad3ff85fc99a3672732b495ae6">Numeric::isNegative</a></div><div class="ttdeci">virtual bool isNegative() const =0</div><div class="ttdoc">Is this Numeric negative? </div></div>
|
|
<div class="ttc" id="classNumeric_html_a2b717aab642eeb88240ba1481a4d2e3f"><div class="ttname"><a href="classNumeric.html#a2b717aab642eeb88240ba1481a4d2e3f">Numeric::sqrt</a></div><div class="ttdeci">virtual Numeric::Ptr sqrt(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the squart root of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a6b0100c13de01e2e35937698eaaec8fa"><div class="ttname"><a href="classNumeric.html#a6b0100c13de01e2e35937698eaaec8fa">Numeric::acos</a></div><div class="ttdeci">virtual Numeric::Ptr acos(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the acos of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a7b9cdc8c8fde1b076e467054444a9639"><div class="ttname"><a href="classNumeric.html#a7b9cdc8c8fde1b076e467054444a9639">Numeric::roundHalfToEven</a></div><div class="ttdeci">virtual Numeric::Ptr roundHalfToEven(const Numeric::Ptr &precision, const DynamicContext *context) const =0</div><div class="ttdoc">Rounds this Numeric to the given precision, and rounds a half to even. </div></div>
|
|
<div class="ttc" id="classNumeric_html_ae93db6935939a58089bdbc16391ecb6f"><div class="ttname"><a href="classNumeric.html#ae93db6935939a58089bdbc16391ecb6f">Numeric::sin</a></div><div class="ttdeci">virtual Numeric::Ptr sin(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the sin of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_ae2c1fc61e202609f03d5f1ba31117514"><div class="ttname"><a href="classNumeric.html#ae2c1fc61e202609f03d5f1ba31117514">Numeric::floor</a></div><div class="ttdeci">virtual Numeric::Ptr floor(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the floor of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a26d4a72e417019b15e3cce47c6de3bb8"><div class="ttname"><a href="classNumeric.html#a26d4a72e417019b15e3cce47c6de3bb8">Numeric::asin</a></div><div class="ttdeci">virtual Numeric::Ptr asin(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the asin of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a6249bd37b1f057ca3000a28f56770201"><div class="ttname"><a href="classNumeric.html#a6249bd37b1f057ca3000a28f56770201">Numeric::promoteTypeIfApplicable</a></div><div class="ttdeci">virtual Numeric::Ptr promoteTypeIfApplicable(AnyAtomicType::AtomicObjectType typeIndex, const DynamicContext *context) const =0</div></div>
|
|
<div class="ttc" id="classATDecimalOrDerived_html_a1eb758c0207d8cbd931a231a03189e6d"><div class="ttname"><a href="classATDecimalOrDerived.html#a1eb758c0207d8cbd931a231a03189e6d">ATDecimalOrDerived::isNaN</a></div><div class="ttdeci">virtual bool isNaN() const </div><div class="ttdef"><b>Definition:</b> ATDecimalOrDerived.hpp:122</div></div>
|
|
<div class="ttc" id="classATDecimalOrDerived_html"><div class="ttname"><a href="classATDecimalOrDerived.html">ATDecimalOrDerived</a></div><div class="ttdef"><b>Definition:</b> ATDecimalOrDerived.hpp:29</div></div>
|
|
<div class="ttc" id="classNumeric_html_ae4fa9f61ddd156a476f84502556b8d1e"><div class="ttname"><a href="classNumeric.html#ae4fa9f61ddd156a476f84502556b8d1e">Numeric::multiply</a></div><div class="ttdeci">virtual Numeric::Ptr multiply(const Numeric::Ptr &other, const DynamicContext *context) const =0</div><div class="ttdoc">Returns a Numeric object which is the product of this and other. </div></div>
|
|
<div class="ttc" id="classNumeric_html_ae985b72033cd05fa363504d8d526573d"><div class="ttname"><a href="classNumeric.html#ae985b72033cd05fa363504d8d526573d">Numeric::abs</a></div><div class="ttdeci">virtual Numeric::Ptr abs(const DynamicContext *context) const =0</div><div class="ttdoc">Returns the absolute value of this Numeric. </div></div>
|
|
<div class="ttc" id="classNumeric_html_a794b6a4ac06ae6e55a2c3fedacf0afab"><div class="ttname"><a href="classNumeric.html#a794b6a4ac06ae6e55a2c3fedacf0afab">Numeric::asMAPM</a></div><div class="ttdeci">virtual const MAPM & asMAPM() const =0</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|