| <HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
|
| <BODY>
|
| <h2 align="center">Xalan-C++ API Documentation</h2>
|
| <h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
|
| </BODY> |
| <!-- Generated by Doxygen 1.2.8.1 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> |
| <hr><h1>DOMStringHelper.hpp</h1><a href="DOMStringHelper_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font> |
| 00002 <font class="comment"> * Copyright 1999-2004 The Apache Software Foundation.</font> |
| 00003 <font class="comment"> *</font> |
| 00004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font> |
| 00005 <font class="comment"> * you may not use this file except in compliance with the License.</font> |
| 00006 <font class="comment"> * You may obtain a copy of the License at</font> |
| 00007 <font class="comment"> *</font> |
| 00008 <font class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</font> |
| 00009 <font class="comment"> *</font> |
| 00010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font> |
| 00011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font> |
| 00012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font> |
| 00013 <font class="comment"> * See the License for the specific language governing permissions and</font> |
| 00014 <font class="comment"> * limitations under the License.</font> |
| 00015 <font class="comment"> */</font> |
| 00016 <font class="preprocessor">#if !defined(DOMSTRINGHELPER_HEADER_GUARD_1357924680)</font> |
| <a name="l00017"></a><a class="code" href="DOMStringHelper_8hpp.html#a0">00017</a> <font class="preprocessor"></font><font class="preprocessor">#define DOMSTRINGHELPER_HEADER_GUARD_1357924680</font> |
| 00018 <font class="preprocessor"></font> |
| 00019 |
| 00020 |
| 00021 <font class="comment">// Base include file. Must be first.</font> |
| 00022 <font class="preprocessor">#include <<a class="code" href="PlatformSupportDefinitions_8hpp.html">xalanc/PlatformSupport/PlatformSupportDefinitions.hpp</a>></font> |
| 00023 |
| 00024 |
| 00025 |
| 00026 <font class="preprocessor">#include <algorithm></font> |
| 00027 <font class="preprocessor">#include <cassert></font> |
| 00028 <font class="preprocessor">#include <functional></font> |
| 00029 <font class="preprocessor">#if defined(XALAN_CLASSIC_IOSTREAMS)</font> |
| 00030 <font class="preprocessor"></font><font class="keyword">class </font>ostream; |
| 00031 <font class="preprocessor">#else</font> |
| 00032 <font class="preprocessor"></font><font class="preprocessor">#include <iosfwd></font> |
| 00033 <font class="preprocessor">#endif</font> |
| 00034 <font class="preprocessor"></font> |
| 00035 |
| 00036 |
| 00037 <font class="preprocessor">#include <<a class="code" href="XalanVector_8hpp.html">xalanc/Include/XalanVector.hpp</a>></font> |
| 00038 <font class="preprocessor">#include <<a class="code" href="XalanMap_8hpp.html">xalanc/Include/XalanMap.hpp</a>></font> |
| 00039 <font class="preprocessor">#include <<a class="code" href="XalanMemoryManagement_8hpp.html">xalanc/Include/XalanMemoryManagement.hpp</a>></font> |
| 00040 <font class="preprocessor">#include <<a class="code" href="STLHelper_8hpp.html">xalanc/Include/STLHelper.hpp</a>></font> |
| 00041 |
| 00042 |
| 00043 |
| 00044 <font class="preprocessor">#include <<a class="code" href="XalanDOMString_8hpp.html">xalanc/XalanDOM/XalanDOMString.hpp</a>></font> |
| 00045 |
| 00046 |
| 00047 |
| 00048 <font class="preprocessor">#include <<a class="code" href="FormatterListener_8hpp.html">xalanc/PlatformSupport/FormatterListener.hpp</a>></font> |
| 00049 <font class="preprocessor">#include <<a class="code" href="XalanUnicode_8hpp.html">xalanc/PlatformSupport/XalanUnicode.hpp</a>></font> |
| 00050 <font class="preprocessor">#include <<a class="code" href="XalanXMLChar_8hpp.html">xalanc/PlatformSupport/XalanXMLChar.hpp</a>></font> |
| 00051 |
| 00052 |
| 00053 |
| 00054 XALAN_CPP_NAMESPACE_BEGIN |
| 00055 |
| 00056 |
| 00057 |
| 00058 <a class="code" href="XSLTInputSource_8hpp.html#a3">XALAN_USING_XERCES</a>(MemoryManager) |
| 00059 |
| 00060 |
| 00061 |
| 00062 <font class="keyword">class </font><a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>; |
| 00063 |
| 00064 |
| 00065 |
| 00066 <font class="comment">// This macro has been defined to deal with certain C++ compilers which</font> |
| 00067 <font class="comment">// do not create Unicode strings when the "L" string constant prefix is</font> |
| 00068 <font class="comment">// used. It is meant _only_ for use with static strings.</font> |
| 00069 <font class="preprocessor">#if defined(XALAN_LSTRSUPPORT) && !defined(XALAN_XALANDOMCHAR_USHORT_MISMATCH)</font> |
| 00070 <font class="preprocessor"></font> |
| 00071 <font class="preprocessor">#define XALAN_STATIC_UCODE_STRING(str) L##str</font> |
| 00072 <font class="preprocessor"></font> |
| 00073 <font class="preprocessor">#else</font> |
| 00074 <font class="preprocessor"></font> |
| <a name="l00075"></a><a class="code" href="DOMStringHelper_8hpp.html#a1">00075</a> <font class="preprocessor">#define XALAN_STATIC_UCODE_STRING(str) str</font> |
| 00076 <font class="preprocessor"></font> |
| 00077 <font class="preprocessor">#endif</font> |
| 00078 <font class="preprocessor"></font> |
| 00079 |
| 00080 |
| 00081 <font class="preprocessor">#if defined(XALAN_NO_ALGORITHMS_WITH_BUILTINS)</font> |
| 00082 <font class="preprocessor"></font> |
| 00083 template<class InputIteratorType, class OutputIteratorType> |
| 00084 <font class="keyword">inline</font> OutputIteratorType |
| 00085 <a class="code" href="DOMStringHelper_8hpp.html#a3">XalanCopy</a>( |
| 00086 InputIteratorType begin, |
| 00087 InputIteratorType end, |
| 00088 OutputIteratorType iterator)<font class="keyword"></font> |
| 00089 <font class="keyword"></font>{ |
| 00090 <font class="keywordflow">for</font>(; begin != end; ++iterator, ++begin) |
| 00091 { |
| 00092 *iterator = *begin; |
| 00093 } |
| 00094 |
| 00095 <font class="keywordflow">return</font> iterator; |
| 00096 } |
| 00097 |
| 00098 |
| 00099 |
| 00100 template<class InputIteratorType, class OutputIteratorType, class UnaryFunction> |
| 00101 <font class="keyword">inline</font> OutputIteratorType |
| 00102 <a class="code" href="DOMStringHelper_8hpp.html#a4">XalanTransform</a>( |
| 00103 InputIteratorType begin, |
| 00104 InputIteratorType end, |
| 00105 OutputIteratorType iterator, |
| 00106 UnaryFunction function)<font class="keyword"></font> |
| 00107 <font class="keyword"></font>{ |
| 00108 <font class="keywordflow">for</font>(; begin != end; ++iterator, ++begin) |
| 00109 { |
| 00110 *iterator = function(*begin); |
| 00111 } |
| 00112 |
| 00113 <font class="keywordflow">return</font> iterator; |
| 00114 } |
| 00115 |
| 00116 <font class="preprocessor">#else</font> |
| 00117 <font class="preprocessor"></font> |
| 00118 template<class InputIteratorType, class OutputIteratorType> |
| 00119 <font class="keyword">inline</font> OutputIteratorType |
| <a name="l00120"></a><a class="code" href="DOMStringHelper_8hpp.html#a3">00120</a> <a class="code" href="DOMStringHelper_8hpp.html#a3">XalanCopy</a>( |
| 00121 InputIteratorType begin, |
| 00122 InputIteratorType end, |
| 00123 OutputIteratorType iterator)<font class="keyword"></font> |
| 00124 <font class="keyword"></font>{ |
| 00125 <font class="keywordflow">return</font> XALAN_STD_QUALIFIER copy(begin, end, iterator); |
| 00126 } |
| 00127 |
| 00128 |
| 00129 |
| 00130 template<class InputIteratorType, class OutputIteratorType, class UnaryFunction> |
| 00131 <font class="keyword">inline</font> OutputIteratorType |
| <a name="l00132"></a><a class="code" href="DOMStringHelper_8hpp.html#a4">00132</a> <a class="code" href="DOMStringHelper_8hpp.html#a4">XalanTransform</a>( |
| 00133 InputIteratorType begin, |
| 00134 InputIteratorType end, |
| 00135 OutputIteratorType iterator, |
| 00136 UnaryFunction function)<font class="keyword"></font> |
| 00137 <font class="keyword"></font>{ |
| 00138 <font class="keywordflow">return</font> XALAN_STD_QUALIFIER transform(begin, end, iterator); |
| 00139 } |
| 00140 |
| 00141 <font class="preprocessor">#endif</font> |
| 00142 <font class="preprocessor"></font> |
| 00143 |
| 00144 |
| 00152 <font class="keyword">inline</font> <font class="keyword">const</font> XalanDOMChar* |
| <a name="l00153"></a><a class="code" href="DOMStringHelper_8hpp.html#a5">00153</a> <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00154 <font class="keyword"></font>{ |
| 00155 <font class="keywordflow">return</font> theString.<a class="code" href="classXalanDOMString.html#a33">c_str</a>(); |
| 00156 } |
| 00157 |
| 00158 |
| 00159 |
| 00167 <font class="keyword">inline</font> <font class="keyword">const</font> <font class="keywordtype">char</font>* |
| <a name="l00168"></a><a class="code" href="DOMStringHelper_8hpp.html#a6">00168</a> <a class="code" href="DOMStringHelper_8hpp.html#a6">c_str</a>(<font class="keyword">const</font> CharVectorType& theString)<font class="keyword"></font> |
| 00169 <font class="keyword"></font>{ |
| 00170 <font class="keywordflow">if</font> (theString.empty() == <font class="keyword">true</font>) |
| 00171 { |
| 00172 <font class="keywordflow">return</font> 0; |
| 00173 } |
| 00174 <font class="keywordflow">else</font> |
| 00175 { |
| 00176 <font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> ptr = &theString[0]; |
| 00177 |
| 00178 assert(ptr[theString.size() - 1] == <font class="charliteral">'\0'</font>); |
| 00179 |
| 00180 <font class="keywordflow">return</font> ptr; |
| 00181 } |
| 00182 } |
| 00183 |
| 00184 |
| 00185 |
| 00201 <font class="keyword">inline</font> <font class="keyword">const</font> XalanDOMChar* |
| <a name="l00202"></a><a class="code" href="DOMStringHelper_8hpp.html#a7">00202</a> <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(<font class="keyword">const</font> XalanDOMChar* theString)<font class="keyword"></font> |
| 00203 <font class="keyword"></font>{ |
| 00204 <font class="keywordflow">return</font> theString; |
| 00205 } |
| 00206 |
| 00207 |
| 00208 |
| 00216 <font class="keyword">inline</font> <font class="keyword">const</font> XalanDOMChar* |
| <a name="l00217"></a><a class="code" href="DOMStringHelper_8hpp.html#a8">00217</a> <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00218 <font class="keyword"></font>{ |
| 00219 <font class="keywordflow">return</font> theString.<a class="code" href="classXalanDOMString.html#a33">c_str</a>(); |
| 00220 } |
| 00221 |
| 00222 |
| 00223 |
| 00230 <font class="keyword">inline</font> <font class="keyword">const</font> XalanDOMChar* |
| <a name="l00231"></a><a class="code" href="DOMStringHelper_8hpp.html#a9">00231</a> <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(<font class="keyword">const</font> XalanDOMChar* theString)<font class="keyword"></font> |
| 00232 <font class="keyword"></font>{ |
| 00233 <font class="keywordflow">return</font> theString; |
| 00234 } |
| 00235 |
| 00236 |
| 00237 |
| 00245 <font class="keyword">inline</font> <font class="keyword">const</font> <font class="keywordtype">char</font>* |
| <a name="l00246"></a><a class="code" href="DOMStringHelper_8hpp.html#a10">00246</a> <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(<font class="keyword">const</font> CharVectorType& theString)<font class="keyword"></font> |
| 00247 <font class="keyword"></font>{ |
| 00248 <font class="keywordflow">return</font> theString.empty() == <font class="keyword">true</font> ? 0 : &theString[0]; |
| 00249 } |
| 00250 |
| 00251 |
| 00252 |
| 00260 <font class="keyword">inline</font> <font class="keywordtype">void</font> |
| <a name="l00261"></a><a class="code" href="DOMStringHelper_8hpp.html#a11">00261</a> <a class="code" href="DOMStringHelper_8hpp.html#a11">reserve</a>( |
| 00262 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00263 XalanDOMString::size_type theCount)<font class="keyword"></font> |
| 00264 <font class="keyword"></font>{ |
| 00265 theString.<a class="code" href="classXalanDOMString.html#a25">reserve</a>(theCount); |
| 00266 } |
| 00267 |
| 00268 |
| 00269 |
| 00276 <font class="keyword">inline</font> XalanDOMString::size_type |
| <a name="l00277"></a><a class="code" href="DOMStringHelper_8hpp.html#a12">00277</a> <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00278 <font class="keyword"></font>{ |
| 00279 <font class="keywordflow">return</font> theString.<a class="code" href="classXalanDOMString.html#a20">length</a>(); |
| 00280 } |
| 00281 |
| 00282 |
| 00283 |
| 00291 <font class="keyword">inline</font> XalanDOMString::size_type |
| <a name="l00292"></a><a class="code" href="DOMStringHelper_8hpp.html#a13">00292</a> <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(<font class="keyword">const</font> XalanDOMChar* theString)<font class="keyword"></font> |
| 00293 <font class="keyword"></font>{ |
| 00294 assert(theString != 0); |
| 00295 |
| 00296 <font class="keyword">const</font> XalanDOMChar* theBufferPointer = theString; |
| 00297 |
| 00298 <font class="keywordflow">while</font>(*theBufferPointer != 0) |
| 00299 { |
| 00300 theBufferPointer++; |
| 00301 } |
| 00302 |
| 00303 <font class="keywordflow">return</font> <a class="code" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a>(theBufferPointer - theString); |
| 00304 } |
| 00305 |
| 00306 |
| 00307 |
| 00314 <font class="keyword">inline</font> XalanDOMString::size_type |
| <a name="l00315"></a><a class="code" href="DOMStringHelper_8hpp.html#a14">00315</a> <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(<font class="keyword">const</font> <font class="keywordtype">char</font>* theString)<font class="keyword"></font> |
| 00316 <font class="keyword"></font>{ |
| 00317 assert(theString != 0); |
| 00318 |
| 00319 <font class="keywordflow">return</font> <a class="code" href="classXalanDOMString.html#a20">XalanDOMString::length</a>(theString); |
| 00320 } |
| 00321 |
| 00322 |
| 00323 |
| 00330 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l00331"></a><a class="code" href="DOMStringHelper_8hpp.html#a15">00331</a> <a class="code" href="DOMStringHelper_8hpp.html#a15">isEmpty</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& str)<font class="keyword"></font> |
| 00332 <font class="keyword"></font>{ |
| 00333 <font class="keywordflow">return</font> str.<a class="code" href="classXalanDOMString.html#a28">empty</a>(); |
| 00334 } |
| 00335 |
| 00336 |
| 00337 |
| 00347 <font class="keyword">inline</font> XalanDOMString::size_type |
| <a name="l00348"></a><a class="code" href="DOMStringHelper_8hpp.html#a16">00348</a> <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>( |
| 00349 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00350 XalanDOMChar theChar)<font class="keyword"></font> |
| 00351 <font class="keyword"></font>{ |
| 00352 assert(theString != 0); |
| 00353 |
| 00354 <font class="keyword">const</font> XalanDOMChar* thePointer = theString; |
| 00355 |
| 00356 <font class="keywordflow">while</font>(*thePointer != theChar && *thePointer != 0) |
| 00357 { |
| 00358 ++thePointer; |
| 00359 } |
| 00360 |
| 00361 <font class="keywordflow">return</font> <a class="code" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a>(thePointer - theString); |
| 00362 } |
| 00363 |
| 00364 |
| 00365 |
| 00376 <font class="keyword">inline</font> XalanDOMString::size_type |
| <a name="l00377"></a><a class="code" href="DOMStringHelper_8hpp.html#a17">00377</a> <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>( |
| 00378 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00379 XalanDOMString::size_type theStringLength, |
| 00380 XalanDOMChar theChar)<font class="keyword"></font> |
| 00381 <font class="keyword"></font>{ |
| 00382 assert(theString != 0); |
| 00383 |
| 00384 <font class="keyword">const</font> XalanDOMChar* thePointer = theString; |
| 00385 <font class="keyword">const</font> XalanDOMChar* <font class="keyword">const</font> theEndPointer = theString + theStringLength; |
| 00386 |
| 00387 <font class="keywordflow">while</font>(*thePointer != theChar && thePointer != theEndPointer) |
| 00388 { |
| 00389 ++thePointer; |
| 00390 } |
| 00391 |
| 00392 <font class="keywordflow">return</font> <a class="code" href="classXalanDOMString.html#s6">XalanDOMString::size_type</a>(thePointer - theString); |
| 00393 } |
| 00394 |
| 00395 |
| 00396 |
| 00406 <font class="keyword">inline</font> XalanDOMString::size_type |
| <a name="l00407"></a><a class="code" href="DOMStringHelper_8hpp.html#a18">00407</a> <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>( |
| 00408 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00409 XalanDOMChar theChar)<font class="keyword"></font> |
| 00410 <font class="keyword"></font>{ |
| 00411 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString) == 0 ? 0 : <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), theChar); |
| 00412 } |
| 00413 |
| 00414 |
| 00415 |
| <a name="l00427"></a><a class="code" href="DOMStringHelper_8hpp.html#a19">00427</a> <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(XalanDOMString::size_type) |
| 00428 <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>( |
| 00429 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00430 XalanDOMString::size_type theStringLength, |
| 00431 <font class="keyword">const</font> XalanDOMChar* theSubstring, |
| 00432 XalanDOMString::size_type theSubstringLength); |
| 00433 |
| 00434 |
| 00435 |
| 00445 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(XalanDOMString::size_type) |
| 00446 <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>( |
| 00447 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00448 <font class="keyword">const</font> XalanDOMChar* theSubstring); |
| 00449 |
| 00450 |
| 00451 |
| 00461 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(XalanDOMString::size_type) |
| 00462 <a class="code" href="DOMStringHelper_8hpp.html#a18">indexOf</a>( |
| 00463 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00464 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theSubstring); |
| 00465 |
| 00466 |
| 00467 |
| 00477 |
| 00478 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(XalanDOMString::size_type) |
| 00479 lastIndexOf( |
| 00480 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00481 XalanDOMChar theChar); |
| 00482 |
| 00483 |
| 00484 |
| 00494 <font class="keyword">inline</font> XalanDOMString::size_type |
| 00495 lastIndexOf( |
| 00496 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00497 XalanDOMChar theChar)<font class="keyword"></font> |
| 00498 <font class="keyword"></font>{ |
| 00499 <font class="keywordflow">return</font> lastIndexOf(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), theChar); |
| 00500 } |
| 00501 |
| 00502 |
| 00503 |
| <a name="l00513"></a><a class="code" href="DOMStringHelper_8hpp.html#a20">00513</a> <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">bool</font>) |
| 00514 <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>( |
| 00515 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00516 XalanDOMString::size_type theStringLength, |
| 00517 <font class="keyword">const</font> XalanDOMChar* theSubstring, |
| 00518 XalanDOMString::size_type theSubstringLength); |
| 00519 |
| 00520 |
| 00521 |
| 00529 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| 00530 <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>( |
| 00531 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00532 <font class="keyword">const</font> XalanDOMChar* theSubstring)<font class="keyword"></font> |
| 00533 <font class="keyword"></font>{ |
| 00534 assert(theString != 0 && theSubstring != 0); |
| 00535 |
| 00536 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>(theString, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), theSubstring, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theSubstring)); |
| 00537 } |
| 00538 |
| 00539 |
| 00540 |
| 00548 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l00549"></a><a class="code" href="DOMStringHelper_8hpp.html#a21">00549</a> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>( |
| 00550 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00551 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theSubstring)<font class="keyword"></font> |
| 00552 <font class="keyword"></font>{ |
| 00553 assert(theString != 0); |
| 00554 |
| 00555 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>(theString, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theSubstring), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theSubstring)); |
| 00556 } |
| 00557 |
| 00558 |
| 00559 |
| 00567 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l00568"></a><a class="code" href="DOMStringHelper_8hpp.html#a22">00568</a> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>( |
| 00569 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00570 <font class="keyword">const</font> XalanDOMChar* theSubstring)<font class="keyword"></font> |
| 00571 <font class="keyword"></font>{ |
| 00572 assert(theSubstring != 0); |
| 00573 |
| 00574 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), theSubstring, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theSubstring)); |
| 00575 } |
| 00576 |
| 00577 |
| 00578 |
| 00587 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l00588"></a><a class="code" href="DOMStringHelper_8hpp.html#a23">00588</a> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>( |
| 00589 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00590 <font class="keyword">const</font> XalanDOMChar* theSubstring, |
| 00591 XalanDOMString::size_type theSubstringLength)<font class="keyword"></font> |
| 00592 <font class="keyword"></font>{ |
| 00593 assert(theSubstring != 0); |
| 00594 |
| 00595 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), theSubstring, theSubstringLength); |
| 00596 } |
| 00597 |
| 00598 |
| 00599 |
| 00607 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l00608"></a><a class="code" href="DOMStringHelper_8hpp.html#a24">00608</a> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>( |
| 00609 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00610 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theSubstring)<font class="keyword"></font> |
| 00611 <font class="keyword"></font>{ |
| 00612 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a24">startsWith</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theSubstring), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theSubstring)); |
| 00613 } |
| 00614 |
| 00615 |
| 00616 |
| 00617 |
| 00618 |
| 00619 |
| 00620 |
| 00628 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">bool</font>) |
| 00629 <a class="code" href="DOMStringHelper_8hpp.html#a25">endsWith</a>( |
| 00630 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00631 XalanDOMString::size_type theStringLength, |
| 00632 <font class="keyword">const</font> XalanDOMChar* theSubstring, |
| 00633 XalanDOMString::size_type theSubstringLength); |
| 00634 |
| 00635 |
| 00636 |
| 00644 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| 00645 <a class="code" href="DOMStringHelper_8hpp.html#a25">endsWith</a>( |
| 00646 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00647 <font class="keyword">const</font> XalanDOMChar* theSubstring)<font class="keyword"></font> |
| 00648 <font class="keyword"></font>{ |
| 00649 assert(theString != 0 && theSubstring != 0); |
| 00650 |
| 00651 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a25">endsWith</a>(theString, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), theSubstring, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theSubstring)); |
| 00652 } |
| 00653 |
| 00654 |
| 00655 |
| 00663 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l00664"></a><a class="code" href="DOMStringHelper_8hpp.html#a25">00664</a> <a class="code" href="DOMStringHelper_8hpp.html#a25">endsWith</a>( |
| 00665 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00666 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theSubstring)<font class="keyword"></font> |
| 00667 <font class="keyword"></font>{ |
| 00668 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a25">endsWith</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString), <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theSubstring), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theSubstring)); |
| 00669 } |
| 00670 |
| 00671 |
| 00672 |
| 00680 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 00681 PointerToDOMString( |
| 00682 <font class="keyword">const</font> <font class="keywordtype">void</font>* theValue, |
| 00683 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 00684 |
| 00685 |
| 00686 |
| 00687 |
| 00688 |
| 00696 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 00697 DoubleToDOMString( |
| 00698 <font class="keywordtype">double</font> theValue, |
| 00699 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 00700 |
| 00701 |
| 00702 |
| 00703 |
| <a name="l00704"></a><a class="code" href="classDOMStringHelper.html">00704</a> <font class="keyword">class </font>XALAN_PLATFORMSUPPORT_EXPORT <a class="code" href="classDOMStringHelper.html">DOMStringHelper</a> |
| 00705 { |
| 00706 <font class="keyword">public</font>: |
| 00707 |
| 00708 <font class="keyword">typedef</font> void (FormatterListener::*MemberFunctionPtr)(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font>, <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>); |
| 00709 |
| 00710 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 00711 <a class="code" href="classDOMStringHelper.html#d0">DoubleToCharacters</a>( |
| 00712 <font class="keywordtype">double</font> theDouble, |
| 00713 <a class="code" href="classFormatterListener.html">FormatterListener</a>& formatterListener, |
| 00714 MemberFunctionPtr function); |
| 00715 |
| 00716 <font class="keyword">static</font> <font class="keywordtype">void</font> |
| 00717 <a class="code" href="classDOMStringHelper.html#d1">LongToCharacters</a>( |
| 00718 <font class="keywordtype">long</font> theLong, |
| 00719 <a class="code" href="classFormatterListener.html">FormatterListener</a>& formatterListener, |
| 00720 MemberFunctionPtr function); |
| 00721 }; |
| 00722 |
| 00723 |
| 00724 |
| 00733 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 00734 LongToHexDOMString( |
| 00735 <font class="keywordtype">long</font> theValue, |
| 00736 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 00737 |
| 00738 |
| 00739 |
| 00740 |
| 00741 |
| 00742 |
| 00751 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 00752 UnsignedLongToHexDOMString( |
| 00753 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> theValue, |
| 00754 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 00755 |
| 00756 |
| 00757 |
| 00765 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 00766 LongToDOMString( |
| 00767 <font class="keywordtype">long</font> theValue, |
| 00768 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 00769 |
| 00770 |
| 00771 |
| 00772 |
| 00781 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 00782 UnsignedLongToDOMString( |
| 00783 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> theValue, |
| 00784 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 00785 |
| 00786 |
| 00787 |
| 00788 |
| 00789 |
| 00796 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">int</font>) |
| 00797 WideStringToInt(<font class="keyword">const</font> XalanDOMChar* theString); |
| 00798 |
| 00799 |
| 00800 |
| 00807 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">long</font>) |
| 00808 WideStringToLong(<font class="keyword">const</font> XalanDOMChar* theString); |
| 00809 |
| 00810 |
| 00811 |
| 00818 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">long</font>) |
| 00819 WideStringToUnsignedLong(<font class="keyword">const</font> XalanDOMChar* theString); |
| 00820 |
| 00821 |
| 00822 |
| 00830 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">double</font>) |
| 00831 WideStringToDouble( |
| 00832 <font class="keyword">const</font> XalanDOMChar* theString, |
| 00833 MemoryManager& theMemoryManager); |
| 00834 |
| 00835 |
| 00836 |
| 00843 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l00844"></a><a class="code" href="DOMStringHelper_8hpp.html#a32">00844</a> <a class="code" href="DOMStringHelper_8hpp.html#a32">DOMStringToInt</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00845 <font class="keyword"></font>{ |
| 00846 <font class="keywordflow">return</font> WideStringToInt(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString)); |
| 00847 } |
| 00848 |
| 00849 |
| 00850 |
| 00857 <font class="keyword">inline</font> <font class="keywordtype">long</font> |
| <a name="l00858"></a><a class="code" href="DOMStringHelper_8hpp.html#a33">00858</a> <a class="code" href="DOMStringHelper_8hpp.html#a33">DOMStringToLong</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00859 <font class="keyword"></font>{ |
| 00860 <font class="keywordflow">return</font> WideStringToLong(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString)); |
| 00861 } |
| 00862 |
| 00863 |
| 00864 |
| 00871 <font class="keyword">inline</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> |
| <a name="l00872"></a><a class="code" href="DOMStringHelper_8hpp.html#a34">00872</a> <a class="code" href="DOMStringHelper_8hpp.html#a34">DOMStringToUnsignedLong</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00873 <font class="keyword"></font>{ |
| 00874 <font class="keywordflow">return</font> WideStringToUnsignedLong(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString)); |
| 00875 } |
| 00876 |
| 00877 |
| 00878 |
| 00886 <font class="keyword">inline</font> <font class="keywordtype">double</font> |
| <a name="l00887"></a><a class="code" href="DOMStringHelper_8hpp.html#a35">00887</a> <a class="code" href="DOMStringHelper_8hpp.html#a35">DOMStringToDouble</a>( |
| 00888 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 00889 MemoryManager& theMemoryManager)<font class="keyword"></font> |
| 00890 <font class="keyword"></font>{ |
| 00891 <font class="keywordflow">return</font> WideStringToDouble( |
| 00892 <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), |
| 00893 theMemoryManager); |
| 00894 } |
| 00895 |
| 00896 |
| 00897 |
| 00905 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 00906 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00907 <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& theStream, |
| 00908 <font class="keyword">const</font> CharVectorType& theString); |
| 00909 |
| 00910 |
| 00911 |
| <a name="l00919"></a><a class="code" href="DOMStringHelper_8hpp.html#a37">00919</a> <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 00920 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00921 #<font class="keywordflow">if</font> defined(XALAN_NO_STD_NAMESPACE) |
| 00922 ostream& theStream, |
| 00923 <font class="preprocessor">#else</font> |
| 00924 <font class="preprocessor"></font> std::ostream& theStream, |
| 00925 <font class="preprocessor">#endif</font> |
| 00926 <font class="preprocessor"></font> <font class="keyword">const</font> CharVectorType& theString); |
| 00927 |
| 00928 |
| 00929 |
| 00937 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 00938 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00939 <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& theStream, |
| 00940 <font class="keyword">const</font> XalanDOMChar* theString); |
| 00941 |
| 00942 |
| 00943 |
| 00951 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 00952 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00953 #<font class="keywordflow">if</font> defined(XALAN_NO_STD_NAMESPACE) |
| 00954 ostream& theStream, |
| 00955 <font class="preprocessor">#else</font> |
| 00956 <font class="preprocessor"></font> std::ostream& theStream, |
| 00957 <font class="preprocessor">#endif</font> |
| 00958 <font class="preprocessor"></font> <font class="keyword">const</font> XalanDOMChar* theString, |
| 00959 MemoryManager& theMemoryManager); |
| 00960 |
| 00961 |
| 00962 |
| 00970 <font class="keyword">inline</font> <font class="keywordtype">void</font> |
| 00971 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00972 <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& theStream, |
| 00973 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 00974 <font class="keyword"></font>{ |
| 00975 <font class="keywordflow">if</font> (<a class="code" href="DOMStringHelper_8hpp.html#a15">isEmpty</a>(theString) == <font class="keyword">false</font>) |
| 00976 { |
| 00977 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00978 theStream, |
| 00979 <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString)); |
| 00980 } |
| 00981 } |
| 00982 |
| 00983 |
| 00984 |
| 00993 <font class="keyword">inline</font> <font class="keywordtype">void</font> |
| <a name="l00994"></a><a class="code" href="DOMStringHelper_8hpp.html#a38">00994</a> <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 00995 #<font class="keywordflow">if</font> defined(XALAN_NO_STD_NAMESPACE) |
| 00996 ostream& theStream, |
| 00997 <font class="preprocessor">#else</font> |
| 00998 <font class="preprocessor"></font> std::ostream& theStream, |
| 00999 <font class="preprocessor">#endif</font> |
| 01000 <font class="preprocessor"></font> <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01001 MemoryManager& theMemoryManager) |
| 01002 { |
| 01003 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01004 theStream, |
| 01005 <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString), |
| 01006 theMemoryManager); |
| 01007 } |
| 01008 |
| 01009 |
| 01010 |
| 01018 <font class="keyword">inline</font> <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& |
| <a name="l01019"></a><a class="code" href="DOMStringHelper_8hpp.html#a39">01019</a> <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01020 <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& theStream, |
| 01021 <font class="keyword">const</font> CharVectorType& theString)<font class="keyword"></font> |
| 01022 <font class="keyword"></font>{ |
| 01023 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01024 theStream, |
| 01025 theString); |
| 01026 |
| 01027 <font class="keywordflow">return</font> theStream; |
| 01028 } |
| 01029 |
| 01030 |
| 01031 |
| 01039 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 01040 <font class="preprocessor"></font><font class="keyword">inline</font> ostream& |
| 01041 <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01042 ostream& theStream, |
| 01043 #<font class="keywordflow">else</font> |
| 01044 <font class="keyword">inline</font> std::ostream& |
| <a name="l01045"></a><a class="code" href="DOMStringHelper_8hpp.html#a40">01045</a> <font class="keyword">operator</font><<( |
| 01046 std::ostream& theStream, |
| 01047 #endif |
| 01048 <font class="keyword">const</font> CharVectorType& theString)<font class="keyword"></font> |
| 01049 <font class="keyword"></font>{ |
| 01050 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01051 theStream, |
| 01052 theString); |
| 01053 |
| 01054 <font class="keywordflow">return</font> theStream; |
| 01055 } |
| 01056 |
| 01057 |
| 01058 |
| 01066 <font class="keyword">inline</font> <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& |
| <a name="l01067"></a><a class="code" href="DOMStringHelper_8hpp.html#a41">01067</a> <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01068 <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& theStream, |
| 01069 <font class="keyword">const</font> XalanDOMChar* theString)<font class="keyword"></font> |
| 01070 <font class="keyword"></font>{ |
| 01071 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01072 theStream, |
| 01073 theString); |
| 01074 |
| 01075 <font class="keywordflow">return</font> theStream; |
| 01076 } |
| 01077 |
| 01078 |
| 01079 |
| 01087 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 01088 <font class="preprocessor"></font><font class="keyword">inline</font> ostream& |
| 01089 <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01090 ostream& theStream, |
| 01091 #<font class="keywordflow">else</font> |
| 01092 <font class="keyword">inline</font> std::ostream& |
| <a name="l01093"></a><a class="code" href="DOMStringHelper_8hpp.html#a42">01093</a> <font class="keyword">operator</font><<( |
| 01094 std::ostream& theStream, |
| 01095 #endif |
| 01096 <font class="keyword">const</font> XalanDOMChar* theString)<font class="keyword"></font> |
| 01097 <font class="keyword"></font>{ |
| 01098 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01099 theStream, |
| 01100 theString, |
| 01101 XalanMemMgrs::getDefault()); |
| 01102 |
| 01103 <font class="keywordflow">return</font> theStream; |
| 01104 } |
| 01105 |
| 01106 |
| 01107 |
| 01115 <font class="keyword">inline</font> <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& |
| <a name="l01116"></a><a class="code" href="DOMStringHelper_8hpp.html#a43">01116</a> <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01117 <a class="code" href="classXalanOutputStream.html">XalanOutputStream</a>& theStream, |
| 01118 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 01119 <font class="keyword"></font>{ |
| 01120 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>(theStream, |
| 01121 theString); |
| 01122 |
| 01123 <font class="keywordflow">return</font> theStream; |
| 01124 } |
| 01125 |
| 01126 |
| 01127 |
| 01135 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 01136 <font class="preprocessor"></font><font class="keyword">inline</font> ostream& |
| 01137 <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01138 ostream& theStream, |
| 01139 #<font class="keywordflow">else</font> |
| 01140 <font class="keyword">inline</font> std::ostream& |
| <a name="l01141"></a><a class="code" href="DOMStringHelper_8hpp.html#a44">01141</a> <font class="keyword">operator</font><<( |
| 01142 std::ostream& theStream, |
| 01143 #endif |
| 01144 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 01145 <font class="keyword"></font>{ |
| 01146 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01147 theStream, |
| 01148 theString, |
| 01149 XalanMemMgrs::getDefault()); |
| 01150 |
| 01151 <font class="keywordflow">return</font> theStream; |
| 01152 } |
| 01153 |
| 01154 |
| 01155 |
| 01163 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 01164 <font class="preprocessor"></font><font class="keyword">inline</font> ostream& |
| 01165 <a class="code" href="DOMStringHelper_8hpp.html#a45">operator<<</a>( |
| 01166 ostream& theStream, |
| 01167 #<font class="keywordflow">else</font> |
| 01168 <font class="keyword">inline</font> std::ostream& |
| <a name="l01169"></a><a class="code" href="DOMStringHelper_8hpp.html#a45">01169</a> <font class="keyword">operator</font><<( |
| 01170 std::ostream& theStream, |
| 01171 #endif |
| 01172 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 01173 <font class="keyword"></font>{ |
| 01174 <a class="code" href="DOMStringHelper_8hpp.html#a38">OutputString</a>( |
| 01175 theStream, |
| 01176 theString, |
| 01177 theString.getMemoryManager()); |
| 01178 |
| 01179 <font class="keywordflow">return</font> theStream; |
| 01180 } |
| 01181 |
| 01182 |
| 01183 |
| 01191 <font class="keyword">inline</font> XalanDOMChar |
| <a name="l01192"></a><a class="code" href="DOMStringHelper_8hpp.html#a46">01192</a> <a class="code" href="DOMStringHelper_8hpp.html#a46">charAt</a>( |
| 01193 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01194 XalanDOMString::size_type theIndex)<font class="keyword"></font> |
| 01195 <font class="keyword"></font>{ |
| 01196 <font class="keywordflow">return</font> theString[theIndex]; |
| 01197 } |
| 01198 |
| 01199 |
| 01200 |
| 01207 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01208"></a><a class="code" href="DOMStringHelper_8hpp.html#a47">01208</a> <a class="code" href="DOMStringHelper_8hpp.html#a47">isXMLWhitespace</a>(XalanDOMChar theChar)<font class="keyword"></font> |
| 01209 <font class="keyword"></font>{ |
| 01210 <font class="keywordflow">return</font> <a class="code" href="structXalanXMLChar.html#d5">XalanXMLChar::isWhitespace</a>(theChar); |
| 01211 } |
| 01212 |
| 01213 |
| 01214 |
| 01221 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01222"></a><a class="code" href="DOMStringHelper_8hpp.html#a48">01222</a> <a class="code" href="DOMStringHelper_8hpp.html#a48">isXMLDigit</a>(XalanDOMChar theChar)<font class="keyword"></font> |
| 01223 <font class="keyword"></font>{ |
| 01224 <font class="keywordflow">return</font> <a class="code" href="structXalanXMLChar.html#d3">XalanXMLChar::isDigit</a>(theChar); |
| 01225 } |
| 01226 |
| 01227 |
| 01228 |
| 01235 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01236"></a><a class="code" href="DOMStringHelper_8hpp.html#a49">01236</a> <a class="code" href="DOMStringHelper_8hpp.html#a49">isXMLLetterOrDigit</a>(XalanDOMChar theChar)<font class="keyword"></font> |
| 01237 <font class="keyword"></font>{ |
| 01238 <font class="keywordflow">return</font> <a class="code" href="structXalanXMLChar.html#d3">XalanXMLChar::isDigit</a>(theChar) || |
| 01239 <a class="code" href="structXalanXMLChar.html#d6">XalanXMLChar::isLetter</a>(theChar); |
| 01240 } |
| 01241 |
| 01242 |
| 01243 |
| 01244 |
| 01245 |
| 01246 |
| <a name="l01259"></a><a class="code" href="DOMStringHelper_8hpp.html#a26">01259</a> <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01260 substring( |
| 01261 <font class="keyword">const</font> XalanDOMChar* theString, |
| 01262 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theSubstring, |
| 01263 XalanDOMString::size_type theStartIndex, |
| 01264 XalanDOMString::size_type theEndIndex = XalanDOMString::npos); |
| 01265 |
| 01266 |
| 01267 |
| 01279 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 01280 substring( |
| 01281 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01282 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theSubstring, |
| 01283 XalanDOMString::size_type theStartIndex, |
| 01284 XalanDOMString::size_type theEndIndex = XalanDOMString::npos); |
| 01285 |
| 01286 |
| 01287 |
| 01299 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01300 substring( |
| 01301 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01302 XalanDOMString::size_type theStartIndex, |
| 01303 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult, |
| 01304 XalanDOMString::size_type theEndIndex = XalanDOMString::npos); |
| 01305 |
| 01306 |
| 01307 |
| 01316 <font class="keyword">inline</font> XalanDOMChar |
| 01317 toLowerASCII(XalanDOMChar theChar)<font class="keyword"></font> |
| 01318 <font class="keyword"></font>{ |
| 01319 <font class="keywordflow">if</font> (theChar >= XalanUnicode::charLetter_A && theChar <= XalanUnicode::charLetter_Z) |
| 01320 { |
| 01321 <font class="keywordflow">return</font> XalanDOMChar(theChar - (XalanUnicode::charLetter_A - XalanUnicode::charLetter_a)); |
| 01322 } |
| 01323 <font class="keywordflow">else</font> |
| 01324 { |
| 01325 <font class="keywordflow">return</font> theChar; |
| 01326 } |
| 01327 } |
| 01328 |
| 01329 |
| 01330 |
| 01339 <font class="keyword">inline</font> XalanDOMChar |
| <a name="l01340"></a><a class="code" href="DOMStringHelper_8hpp.html#a50">01340</a> <a class="code" href="DOMStringHelper_8hpp.html#a50">toUpperASCII</a>(XalanDOMChar theChar)<font class="keyword"></font> |
| 01341 <font class="keyword"></font>{ |
| 01342 <font class="keywordflow">if</font> (theChar >= XalanUnicode::charLetter_a && theChar <= XalanUnicode::charLetter_z) |
| 01343 { |
| 01344 <font class="keywordflow">return</font> XalanDOMChar(theChar + (XalanUnicode::charLetter_A - XalanUnicode::charLetter_a)); |
| 01345 } |
| 01346 <font class="keywordflow">else</font> |
| 01347 { |
| 01348 <font class="keywordflow">return</font> theChar; |
| 01349 } |
| 01350 } |
| 01351 |
| 01352 |
| 01353 |
| 01363 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01364 toLowerCaseASCII( |
| 01365 <font class="keyword">const</font> XalanDOMChar* theString, |
| 01366 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 01367 |
| 01368 |
| 01369 |
| 01379 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01380 toLowerCaseASCII( |
| 01381 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01382 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 01383 |
| 01384 |
| 01385 |
| 01394 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01395 toLowerCaseASCII(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString); |
| 01396 |
| 01397 |
| 01398 |
| 01408 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01409 toUpperCaseASCII( |
| 01410 <font class="keyword">const</font> XalanDOMChar* theString, |
| 01411 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 01412 |
| 01413 |
| 01414 |
| 01424 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01425 toUpperCaseASCII( |
| 01426 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 01427 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 01428 |
| 01429 |
| 01430 |
| 01439 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 01440 toUpperCaseASCII(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString); |
| 01441 |
| 01442 |
| 01443 |
| 01456 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">int</font>) |
| 01457 <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>( |
| 01458 <font class="keyword">const</font> CharVectorType& theLHS, |
| 01459 <font class="keyword">const</font> CharVectorType& theRHS); |
| 01460 |
| 01461 |
| 01462 |
| <a name="l01476"></a><a class="code" href="DOMStringHelper_8hpp.html#a28">01476</a> <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">int</font>) |
| 01477 <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>( |
| 01478 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01479 XalanDOMString::size_type theLHSLength, |
| 01480 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01481 XalanDOMString::size_type theRHSLength); |
| 01482 |
| 01483 |
| 01484 |
| 01496 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| 01497 <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>( |
| 01498 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01499 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01500 <font class="keyword"></font>{ |
| 01501 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), theRHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01502 } |
| 01503 |
| 01504 |
| 01505 |
| 01519 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01520"></a><a class="code" href="DOMStringHelper_8hpp.html#a51">01520</a> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>( |
| 01521 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01522 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01523 <font class="keyword"></font>{ |
| 01524 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01525 } |
| 01526 |
| 01527 |
| 01528 |
| 01540 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01541"></a><a class="code" href="DOMStringHelper_8hpp.html#a52">01541</a> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>( |
| 01542 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01543 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01544 <font class="keyword"></font>{ |
| 01545 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01546 } |
| 01547 |
| 01548 |
| 01549 |
| 01561 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01562"></a><a class="code" href="DOMStringHelper_8hpp.html#a53">01562</a> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>( |
| 01563 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01564 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01565 <font class="keyword"></font>{ |
| 01566 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), theRHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01567 } |
| 01568 |
| 01569 |
| 01570 |
| 01586 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">int</font>) |
| 01587 <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>( |
| 01588 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01589 XalanDOMString::size_type theLHSLength, |
| 01590 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01591 XalanDOMString::size_type theRHSLength); |
| 01592 |
| 01593 |
| 01594 |
| 01608 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| 01609 <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>( |
| 01610 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01611 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01612 <font class="keyword"></font>{ |
| 01613 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), theRHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01614 } |
| 01615 |
| 01616 |
| 01617 |
| 01633 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01634"></a><a class="code" href="DOMStringHelper_8hpp.html#a54">01634</a> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>( |
| 01635 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01636 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01637 <font class="keyword"></font>{ |
| 01638 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01639 } |
| 01640 |
| 01641 |
| 01642 |
| 01656 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01657"></a><a class="code" href="DOMStringHelper_8hpp.html#a55">01657</a> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>( |
| 01658 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01659 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01660 <font class="keyword"></font>{ |
| 01661 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), theRHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01662 } |
| 01663 |
| 01664 |
| 01665 |
| 01679 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01680"></a><a class="code" href="DOMStringHelper_8hpp.html#a56">01680</a> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>( |
| 01681 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01682 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01683 <font class="keyword"></font>{ |
| 01684 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01685 } |
| 01686 |
| 01687 |
| 01688 |
| 01699 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">int</font>) |
| 01700 <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>( |
| 01701 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01702 XalanDOMString::size_type theLHSLength, |
| 01703 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01704 XalanDOMString::size_type theRHSLength); |
| 01705 |
| 01706 |
| 01707 |
| 01718 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| 01719 <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>( |
| 01720 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01721 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01722 <font class="keyword"></font>{ |
| 01723 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), theRHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01724 } |
| 01725 |
| 01726 |
| 01727 |
| 01738 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01739"></a><a class="code" href="DOMStringHelper_8hpp.html#a57">01739</a> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>( |
| 01740 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01741 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01742 <font class="keyword"></font>{ |
| 01743 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01744 } |
| 01745 |
| 01746 |
| 01747 |
| 01756 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01757"></a><a class="code" href="DOMStringHelper_8hpp.html#a58">01757</a> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>( |
| 01758 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01759 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01760 <font class="keyword"></font>{ |
| 01761 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01762 } |
| 01763 |
| 01764 |
| 01765 |
| 01774 <font class="keyword">inline</font> <font class="keywordtype">int</font> |
| <a name="l01775"></a><a class="code" href="DOMStringHelper_8hpp.html#a59">01775</a> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>( |
| 01776 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01777 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01778 <font class="keyword"></font>{ |
| 01779 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a59">collationCompare</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS), theRHS, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS)); |
| 01780 } |
| 01781 |
| 01782 |
| 01783 |
| 01792 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">bool</font>) |
| 01793 <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>( |
| 01794 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01795 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01796 XalanDOMString::size_type theLength); |
| 01797 |
| 01798 |
| 01799 |
| 01809 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| 01810 <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>( |
| 01811 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01812 XalanDOMString::size_type theLHSLength, |
| 01813 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01814 XalanDOMString::size_type theRHSLength)<font class="keyword"></font> |
| 01815 <font class="keyword"></font>{ |
| 01816 <font class="keywordflow">return</font> theLHSLength != theRHSLength ? <font class="keyword">false</font> : <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(theLHS, theRHS, theLHSLength); |
| 01817 } |
| 01818 |
| 01819 |
| 01820 |
| 01828 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01829"></a><a class="code" href="DOMStringHelper_8hpp.html#a60">01829</a> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>( |
| 01830 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01831 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01832 <font class="keyword"></font>{ |
| 01833 <font class="keyword">const</font> XalanDOMString::size_type theLHSLength = <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS); |
| 01834 |
| 01835 <font class="keywordflow">return</font> theLHSLength != <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS) ? <font class="keyword">false</font> : <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(theLHS, theRHS, theLHSLength); |
| 01836 } |
| 01837 |
| 01838 |
| 01839 |
| 01847 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01848"></a><a class="code" href="DOMStringHelper_8hpp.html#a61">01848</a> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>( |
| 01849 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01850 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01851 <font class="keyword"></font>{ |
| 01852 <font class="keywordflow">return</font> theLHS == theRHS; |
| 01853 } |
| 01854 |
| 01855 |
| 01856 |
| 01864 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01865"></a><a class="code" href="DOMStringHelper_8hpp.html#a62">01865</a> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>( |
| 01866 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01867 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01868 <font class="keyword"></font>{ |
| 01869 assert(theLHS != 0); |
| 01870 |
| 01871 <font class="comment">// Swap them...</font> |
| 01872 <font class="keywordflow">return</font> theRHS == theLHS; |
| 01873 } |
| 01874 |
| 01875 |
| 01876 |
| 01884 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01885"></a><a class="code" href="DOMStringHelper_8hpp.html#a63">01885</a> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01886 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01887 <font class="keyword"></font>{ |
| 01888 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(theRHS, theLHS); |
| 01889 } |
| 01890 |
| 01891 |
| 01892 |
| 01901 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01902"></a><a class="code" href="DOMStringHelper_8hpp.html#a64">01902</a> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>( |
| 01903 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01904 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01905 XalanDOMString::size_type theRHSLength)<font class="keyword"></font> |
| 01906 <font class="keyword"></font>{ |
| 01907 <font class="keywordflow">return</font> theRHSLength != <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS) ? <font class="keyword">false</font> : <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theLHS), theRHSLength, theRHS, theRHSLength); |
| 01908 } |
| 01909 |
| 01910 |
| 01911 |
| 01912 |
| 01921 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">bool</font>) |
| 01922 <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>( |
| 01923 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01924 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01925 XalanDOMString::size_type theLength); |
| 01926 |
| 01927 |
| 01928 |
| 01939 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| 01940 <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>( |
| 01941 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01942 XalanDOMString::size_type theLHSLength, |
| 01943 <font class="keyword">const</font> XalanDOMChar* theRHS, |
| 01944 XalanDOMString::size_type theRHSLength)<font class="keyword"></font> |
| 01945 <font class="keyword"></font>{ |
| 01946 <font class="keywordflow">return</font> theLHSLength != theRHSLength ? <font class="keyword">false</font> : |
| 01947 <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>(theLHS, theRHS, theLHSLength); |
| 01948 } |
| 01949 |
| 01950 |
| 01951 |
| 01960 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01961"></a><a class="code" href="DOMStringHelper_8hpp.html#a65">01961</a> <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>( |
| 01962 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 01963 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 01964 <font class="keyword"></font>{ |
| 01965 <font class="keyword">const</font> XalanDOMString::size_type theLength = <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS); |
| 01966 |
| 01967 <font class="keywordflow">return</font> theLength != <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS) ? <font class="keyword">false</font> : |
| 01968 <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>(theLHS, theRHS, theLength); |
| 01969 } |
| 01970 |
| 01971 |
| 01972 |
| 01981 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l01982"></a><a class="code" href="DOMStringHelper_8hpp.html#a66">01982</a> <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>( |
| 01983 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 01984 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 01985 <font class="keyword"></font>{ |
| 01986 <font class="keyword">const</font> XalanDOMString::size_type theLength = <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS); |
| 01987 |
| 01988 <font class="keywordflow">return</font> theLength != <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS) ? <font class="keyword">false</font> : |
| 01989 <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>(<a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theLHS), <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), theLength); |
| 01990 } |
| 01991 |
| 01992 |
| 01993 |
| 02002 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l02003"></a><a class="code" href="DOMStringHelper_8hpp.html#a67">02003</a> <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>( |
| 02004 <font class="keyword">const</font> XalanDOMChar* theLHS, |
| 02005 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 02006 <font class="keyword"></font>{ |
| 02007 <font class="keyword">const</font> XalanDOMString::size_type theRHSLength = <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theRHS); |
| 02008 |
| 02009 <font class="keywordflow">return</font> theRHSLength != <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theLHS) ? <font class="keyword">false</font> : |
| 02010 <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>(theLHS, <a class="code" href="DOMStringHelper_8hpp.html#a10">toCharArray</a>(theRHS), theRHSLength); |
| 02011 } |
| 02012 |
| 02013 |
| 02014 |
| 02023 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l02024"></a><a class="code" href="DOMStringHelper_8hpp.html#a68">02024</a> <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>( |
| 02025 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 02026 <font class="keyword">const</font> XalanDOMChar* theRHS)<font class="keyword"></font> |
| 02027 <font class="keyword"></font>{ |
| 02028 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a68">equalsIgnoreCaseASCII</a>(theRHS, theLHS); |
| 02029 } |
| 02030 |
| 02031 |
| 02032 |
| 02042 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l02043"></a><a class="code" href="DOMStringHelper_8hpp.html#a69">02043</a> <a class="code" href="ElemAttributeSet_8hpp.html#a2">operator<</a>( |
| 02044 <font class="keyword">const</font> CharVectorType& theLHS, |
| 02045 <font class="keyword">const</font> CharVectorType& theRHS)<font class="keyword"></font> |
| 02046 <font class="keyword"></font>{ |
| 02047 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02048 } |
| 02049 |
| 02050 |
| 02051 |
| 02061 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| <a name="l02062"></a><a class="code" href="DOMStringHelper_8hpp.html#a70">02062</a> <a class="code" href="ElemAttributeSet_8hpp.html#a2">operator<</a>( |
| 02063 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theLHS, |
| 02064 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theRHS)<font class="keyword"></font> |
| 02065 <font class="keyword"></font>{ |
| 02066 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02067 } |
| 02068 |
| 02069 |
| 02070 |
| 02079 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02080"></a><a class="code" href="DOMStringHelper_8hpp.html#a71">02080</a> <a class="code" href="DOMStringHelper_8hpp.html#a72">assign</a>( |
| 02081 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02082 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theStringToAssign)<font class="keyword"></font> |
| 02083 <font class="keyword"></font>{ |
| 02084 theString = theStringToAssign; |
| 02085 |
| 02086 <font class="keywordflow">return</font> theString; |
| 02087 } |
| 02088 |
| 02089 |
| 02090 |
| 02099 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02100"></a><a class="code" href="DOMStringHelper_8hpp.html#a72">02100</a> <a class="code" href="DOMStringHelper_8hpp.html#a72">assign</a>( |
| 02101 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02102 <font class="keyword">const</font> XalanDOMChar* theStringToAssign, |
| 02103 XalanDOMString::size_type theStringToAssignLength = XalanDOMString::npos)<font class="keyword"></font> |
| 02104 <font class="keyword"></font>{ |
| 02105 <font class="keywordflow">if</font> (theStringToAssignLength == XalanDOMString::npos) |
| 02106 { |
| 02107 theString.<a class="code" href="classXalanDOMString.html#a39">assign</a>(theStringToAssign); |
| 02108 } |
| 02109 <font class="keywordflow">else</font> |
| 02110 { |
| 02111 theString.<a class="code" href="classXalanDOMString.html#a39">assign</a>(theStringToAssign, theStringToAssignLength); |
| 02112 } |
| 02113 |
| 02114 <font class="keywordflow">return</font> theString; |
| 02115 } |
| 02116 |
| 02117 |
| 02118 |
| 02126 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02127"></a><a class="code" href="DOMStringHelper_8hpp.html#a73">02127</a> <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>( |
| 02128 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02129 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theStringToAppend)<font class="keyword"></font> |
| 02130 <font class="keyword"></font>{ |
| 02131 theString.<a class="code" href="classXalanDOMString.html#a47">append</a>(theStringToAppend); |
| 02132 |
| 02133 <font class="keywordflow">return</font> theString; |
| 02134 } |
| 02135 |
| 02136 |
| 02137 |
| 02146 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02147"></a><a class="code" href="DOMStringHelper_8hpp.html#a74">02147</a> <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>( |
| 02148 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02149 <font class="keyword">const</font> XalanDOMChar* theStringToAppend, |
| 02150 XalanDOMString::size_type theStringToAppendLength = XalanDOMString::npos)<font class="keyword"></font> |
| 02151 <font class="keyword"></font>{ |
| 02152 assert(theStringToAppend != 0); |
| 02153 |
| 02154 <font class="keywordflow">if</font> (theStringToAppendLength == XalanDOMString::npos) |
| 02155 { |
| 02156 theString.<a class="code" href="classXalanDOMString.html#a47">append</a>(theStringToAppend); |
| 02157 } |
| 02158 <font class="keywordflow">else</font> |
| 02159 { |
| 02160 theString.<a class="code" href="classXalanDOMString.html#a47">append</a>(theStringToAppend, theStringToAppendLength); |
| 02161 } |
| 02162 |
| 02163 <font class="keywordflow">return</font> theString; |
| 02164 } |
| 02165 |
| 02166 |
| 02167 |
| 02176 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02177"></a><a class="code" href="DOMStringHelper_8hpp.html#a75">02177</a> <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>( |
| 02178 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02179 <font class="keyword">const</font> <font class="keywordtype">char</font>* theStringToAppend, |
| 02180 XalanDOMString::size_type theStringToAppendLength = XalanDOMString::npos)<font class="keyword"></font> |
| 02181 <font class="keyword"></font>{ |
| 02182 <a class="code" href="classXalanDOMString.html">XalanDOMString</a> tmp(theString.<a class="code" href="classXalanDOMString.html#a72">getMemoryManager</a>()); |
| 02183 |
| 02184 <a class="code" href="XalanDOMString_8hpp.html#a20">TranscodeFromLocalCodePage</a>(theStringToAppend, tmp, theStringToAppendLength); |
| 02185 |
| 02186 theString.<a class="code" href="classXalanDOMString.html#a47">append</a>(tmp); |
| 02187 |
| 02188 <font class="keywordflow">return</font> theString; |
| 02189 } |
| 02190 |
| 02191 |
| 02192 |
| 02200 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02201"></a><a class="code" href="DOMStringHelper_8hpp.html#a76">02201</a> <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>( |
| 02202 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02203 <font class="keyword">const</font> XalanDOMChar theCharToAppend)<font class="keyword"></font> |
| 02204 <font class="keyword"></font>{ |
| 02205 theString.<a class="code" href="classXalanDOMString.html#a47">append</a>(1, theCharToAppend); |
| 02206 |
| 02207 <font class="keywordflow">return</font> theString; |
| 02208 } |
| 02209 |
| 02210 |
| 02211 |
| 02219 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02220"></a><a class="code" href="DOMStringHelper_8hpp.html#a77">02220</a> <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>( |
| 02221 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02222 <font class="keywordtype">char</font> theCharToAppend)<font class="keyword"></font> |
| 02223 <font class="keyword"></font>{ |
| 02224 <font class="comment">// We have to transcode before appending...</font> |
| 02225 <font class="keywordtype">char</font> theTempBuffer[] = { theCharToAppend, <font class="charliteral">'\0'</font> }; |
| 02226 |
| 02227 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a77">append</a>(theString, theTempBuffer); |
| 02228 } |
| 02229 |
| 02230 |
| 02231 |
| 02240 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02241"></a><a class="code" href="DOMStringHelper_8hpp.html#a78">02241</a> <a class="code" href="DOMStringHelper_8hpp.html#a79">insert</a>( |
| 02242 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02243 XalanDOMString::size_type thePosition, |
| 02244 <font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theStringToInsert)<font class="keyword"></font> |
| 02245 <font class="keyword"></font>{ |
| 02246 theString.<a class="code" href="classXalanDOMString.html#a55">insert</a>(thePosition, theStringToInsert); |
| 02247 |
| 02248 <font class="keywordflow">return</font> theString; |
| 02249 } |
| 02250 |
| 02251 |
| 02252 |
| 02261 <font class="keyword">inline</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& |
| <a name="l02262"></a><a class="code" href="DOMStringHelper_8hpp.html#a79">02262</a> <a class="code" href="DOMStringHelper_8hpp.html#a79">insert</a>( |
| 02263 <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, |
| 02264 XalanDOMString::size_type thePosition, |
| 02265 <font class="keyword">const</font> XalanDOMChar* theStringToInsert)<font class="keyword"></font> |
| 02266 <font class="keyword"></font>{ |
| 02267 theString.<a class="code" href="classXalanDOMString.html#a55">insert</a>(thePosition, theStringToInsert); |
| 02268 |
| 02269 <font class="keywordflow">return</font> theString; |
| 02270 } |
| 02271 |
| 02272 |
| 02273 |
| 02280 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>&) |
| 02281 trim(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString, <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theResult); |
| 02282 |
| 02283 |
| 02284 |
| 02290 <font class="keyword">inline</font> <font class="keywordtype">void</font> |
| <a name="l02291"></a><a class="code" href="DOMStringHelper_8hpp.html#a80">02291</a> <a class="code" href="DOMStringHelper_8hpp.html#a80">clear</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 02292 <font class="keyword"></font>{ |
| 02293 theString.<a class="code" href="classXalanDOMString.html#a26">clear</a>(); |
| 02294 } |
| 02295 |
| 02296 |
| 02297 |
| 02303 <font class="keyword">inline</font> <font class="keywordtype">void</font> |
| <a name="l02304"></a><a class="code" href="DOMStringHelper_8hpp.html#a81">02304</a> <a class="code" href="DOMStringHelper_8hpp.html#a81">erase</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString)<font class="keyword"></font> |
| 02305 <font class="keyword"></font>{ |
| 02306 theString.<a class="code" href="classXalanDOMString.html#a27">erase</a>(); |
| 02307 } |
| 02308 |
| 02309 |
| 02310 |
| 02317 <font class="keyword">inline</font> <font class="keywordtype">void</font> |
| <a name="l02318"></a><a class="code" href="DOMStringHelper_8hpp.html#a82">02318</a> <a class="code" href="DOMStringHelper_8hpp.html#a82">releaseMemory</a>(<a class="code" href="classXalanDOMString.html">XalanDOMString</a>& theString,MemoryManagerType& theManager)<font class="keyword"></font> |
| 02319 <font class="keyword"></font>{ |
| 02320 <a class="code" href="AVTPart_8hpp.html#a1">XalanDOMString</a>(theManager).swap(theString); |
| 02321 } |
| 02322 |
| 02323 |
| 02324 |
| 02325 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 02326 CopyWideStringToVector( |
| 02327 <font class="keyword">const</font> XalanDOMChar* theString, |
| 02328 CharVectorType& theVector); |
| 02329 |
| 02330 |
| 02331 |
| 02332 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">void</font>) |
| 02333 CopyStringToVector( |
| 02334 <font class="keyword">const</font> <font class="keywordtype">char</font>* theString, |
| 02335 CharVectorType& theVector); |
| 02336 |
| 02337 |
| 02338 |
| 02347 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(XalanDOMCharVectorType&) |
| 02348 <a class="code" href="DOMStringHelper_8hpp.html#a84">MakeXalanDOMCharVector</a>( |
| 02349 <font class="keyword">const</font> <font class="keywordtype">char</font>* data, |
| 02350 XalanDOMCharVectorType& result, |
| 02351 <font class="keywordtype">bool</font> fTranscode = <font class="keyword">true</font>); |
| 02352 |
| 02353 |
| 02354 |
| 02362 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(XalanDOMCharVectorType&) |
| 02363 <a class="code" href="DOMStringHelper_8hpp.html#a84">MakeXalanDOMCharVector</a>(<font class="keyword">const</font> XalanDOMChar* data, |
| 02364 XalanDOMCharVectorType& result); |
| 02365 |
| 02366 |
| 02367 |
| 02375 <font class="keyword">inline</font> XalanDOMCharVectorType& |
| <a name="l02376"></a><a class="code" href="DOMStringHelper_8hpp.html#a84">02376</a> <a class="code" href="DOMStringHelper_8hpp.html#a84">MakeXalanDOMCharVector</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& data, |
| 02377 XalanDOMCharVectorType& result)<font class="keyword"></font> |
| 02378 <font class="keyword"></font>{ |
| 02379 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a84">MakeXalanDOMCharVector</a>(<a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(data),result); |
| 02380 } |
| 02381 |
| 02382 |
| 02383 |
| 02384 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02385 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structc__wstr__functor.html">c_wstr_functor</a> : <font class="keyword">public</font> unary_function<XalanDOMString, const XalanDOMChar*> |
| 02386 #else |
| <a name="l02387"></a><a class="code" href="structc__wstr__functor.html">02387</a> struct <a class="code" href="structc__wstr__functor.html">c_wstr_functor</a> : <font class="keyword">public</font> std::unary_function<XalanDOMString, const XalanDOMChar*> |
| 02388 #endif |
| 02389 { |
| 02390 result_type |
| <a name="l02391"></a><a class="code" href="structc__wstr__functor.html#a0">02391</a> <a class="code" href="structc__wstr__functor.html#a0">operator() </a>(<font class="keyword">const</font> argument_type& theString)<font class="keyword"> const</font> |
| 02392 <font class="keyword"> </font>{ |
| 02393 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theString); |
| 02394 } |
| 02395 }; |
| 02396 |
| 02397 |
| 02398 |
| <a name="l02405"></a><a class="code" href="structDOMStringHashFunction.html">02405</a> <font class="keyword">struct </font><a class="code" href="structDOMStringHashFunction.html">DOMStringHashFunction</a> : <font class="keyword">public</font> XALAN_STD_QUALIFIER unary_function<const XalanDOMString&, size_t> |
| 02406 { |
| 02407 result_type |
| <a name="l02408"></a><a class="code" href="structDOMStringHashFunction.html#a0">02408</a> <a class="code" href="structc__wstr__functor.html#a0">operator() </a>(argument_type theKey)<font class="keyword"> const</font> |
| 02409 <font class="keyword"> </font>{ |
| 02410 <font class="keyword">const</font> XalanDOMChar* theRawBuffer = <a class="code" href="DOMStringHelper_8hpp.html#a7">c_wstr</a>(theKey); |
| 02411 |
| 02412 <a class="code" href="structhash__null__terminated__arrays.html">hash_null_terminated_arrays<XalanDOMChar></a> hasher; |
| 02413 |
| 02414 <font class="keywordflow">return</font> hasher(theRawBuffer); |
| 02415 } |
| 02416 }; |
| 02417 |
| 02418 |
| 02419 |
| 02420 template<> |
| <a name="l02421"></a><a class="code" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html">02421</a> <font class="keyword">struct </font><a class="code" href="structXalanMapKeyTraits.html">XalanMapKeyTraits</a><<a class="code" href="classXalanDOMString.html">XalanDOMString</a>> |
| 02422 { |
| <a name="l02423"></a><a class="code" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html#s0">02423</a> <font class="keyword">typedef</font> <a class="code" href="structDOMStringHashFunction.html">DOMStringHashFunction</a> <a class="code" href="structhash__null__terminated__arrays.html">Hasher</a>; |
| <a name="l02424"></a><a class="code" href="structXalanMapKeyTraits_3_01XalanDOMString_01_4.html#s1">02424</a> <font class="keyword">typedef</font> XALAN_STD_QUALIFIER equal_to<XalanDOMString> <a class="code" href="structequal__null__terminated__arrays.html">Comparator</a>; |
| 02425 }; |
| 02426 |
| 02427 |
| 02428 |
| <a name="l02435"></a><a class="code" href="structDOMStringPointerHashFunction.html">02435</a> <font class="keyword">struct </font><a class="code" href="structDOMStringPointerHashFunction.html">DOMStringPointerHashFunction</a> : <font class="keyword">public</font> XALAN_STD_QUALIFIER unary_function<const XalanDOMString*, size_t> |
| 02436 { |
| 02437 result_type |
| <a name="l02438"></a><a class="code" href="structDOMStringPointerHashFunction.html#a0">02438</a> <a class="code" href="structc__wstr__functor.html#a0">operator() </a>(argument_type theKey)<font class="keyword"> const</font> |
| 02439 <font class="keyword"> </font>{ |
| 02440 assert (theKey != 0); |
| 02441 <font class="keywordflow">return</font> DOMStringHashFunction()(*theKey); |
| 02442 } |
| 02443 }; |
| 02444 |
| 02445 |
| 02446 |
| 02447 template<> |
| <a name="l02448"></a><a class="code" href="structXalanMapKeyTraits_3_01XalanDOMString_01_5_4.html">02448</a> <font class="keyword">struct </font><a class="code" href="structXalanMapKeyTraits.html">XalanMapKeyTraits</a><<a class="code" href="classXalanDOMString.html">XalanDOMString</a>*> |
| 02449 { |
| <a name="l02450"></a><a class="code" href="structXalanMapKeyTraits_3_01XalanDOMString_01_5_4.html#s0">02450</a> <font class="keyword">typedef</font> <a class="code" href="structDOMStringPointerHashFunction.html">DOMStringPointerHashFunction</a> <a class="code" href="structhash__null__terminated__arrays.html">Hasher</a>; |
| <a name="l02451"></a><a class="code" href="structXalanMapKeyTraits_3_01XalanDOMString_01_5_4.html#s1">02451</a> <font class="keyword">typedef</font> <a class="code" href="structpointer__equal.html">pointer_equal<XalanDOMString></a> <a class="code" href="structequal__null__terminated__arrays.html">Comparator</a>; |
| 02452 }; |
| 02453 |
| 02454 template<> |
| <a name="l02455"></a><a class="code" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_4.html">02455</a> <font class="keyword">struct </font><a class="code" href="structXalanMapKeyTraits.html">XalanMapKeyTraits</a><const <a class="code" href="classXalanDOMString.html">XalanDOMString</a>*> |
| 02456 { |
| <a name="l02457"></a><a class="code" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_4.html#s0">02457</a> <font class="keyword">typedef</font> <a class="code" href="structDOMStringPointerHashFunction.html">DOMStringPointerHashFunction</a> <a class="code" href="structhash__null__terminated__arrays.html">Hasher</a>; |
| <a name="l02458"></a><a class="code" href="structXalanMapKeyTraits_3_01const_01XalanDOMString_01_5_4.html#s1">02458</a> <font class="keyword">typedef</font> <a class="code" href="structpointer__equal.html">pointer_equal<XalanDOMString></a> <a class="code" href="structequal__null__terminated__arrays.html">Comparator</a>; |
| 02459 }; |
| 02460 |
| 02461 |
| 02469 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02470 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringEqualsFunction.html">DOMStringEqualsFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02471 #else |
| <a name="l02472"></a><a class="code" href="structDOMStringEqualsFunction.html">02472</a> struct <a class="code" href="structDOMStringEqualsFunction.html">DOMStringEqualsFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02473 #endif |
| 02474 { |
| 02475 result_type |
| <a name="l02476"></a><a class="code" href="structDOMStringEqualsFunction.html#a0">02476</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02477 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02478 <font class="keyword"> </font>{ |
| 02479 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(theLHS, theRHS); |
| 02480 } |
| 02481 }; |
| 02482 |
| 02483 |
| 02484 |
| 02492 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02493 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringNotEqualsFunction.html">DOMStringNotEqualsFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02494 #else |
| <a name="l02495"></a><a class="code" href="structDOMStringNotEqualsFunction.html">02495</a> struct <a class="code" href="structDOMStringNotEqualsFunction.html">DOMStringNotEqualsFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02496 #endif |
| 02497 { |
| 02498 result_type |
| <a name="l02499"></a><a class="code" href="structDOMStringNotEqualsFunction.html#a0">02499</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02500 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02501 <font class="keyword"> </font>{ |
| 02502 <font class="keywordflow">return</font> !<a class="code" href="DOMStringHelper_8hpp.html#a64">equals</a>(theLHS, theRHS); |
| 02503 } |
| 02504 }; |
| 02505 |
| 02506 |
| 02507 |
| 02515 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02516 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringLessThanFunction.html">DOMStringLessThanFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02517 #else |
| <a name="l02518"></a><a class="code" href="structDOMStringLessThanFunction.html">02518</a> struct <a class="code" href="structDOMStringLessThanFunction.html">DOMStringLessThanFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02519 #endif |
| 02520 { |
| 02521 result_type |
| <a name="l02522"></a><a class="code" href="structDOMStringLessThanFunction.html#a0">02522</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02523 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02524 <font class="keyword"> </font>{ |
| 02525 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02526 } |
| 02527 }; |
| 02528 |
| 02529 |
| <a name="l02537"></a><a class="code" href="structDOMStringPointerEqualToFunction.html">02537</a> <font class="keyword">struct </font><a class="code" href="structDOMStringPointerEqualToFunction.html">DOMStringPointerEqualToFunction</a> : <font class="keyword">public</font> XALAN_STD_QUALIFIER binary_function<const XalanDOMString*, const XalanDOMString*, bool> |
| 02538 { |
| 02539 result_type |
| <a name="l02540"></a><a class="code" href="structDOMStringPointerEqualToFunction.html#a0">02540</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02541 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02542 <font class="keyword"> </font>{ |
| 02543 assert(theLHS != 0 && theRHS != 0); |
| 02544 |
| 02545 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(*theLHS, *theRHS) == 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02546 } |
| 02547 }; |
| 02548 |
| 02549 |
| 02557 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02558 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringPointerLessThanFunction.html">DOMStringPointerLessThanFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString*, const XalanDOMString*, bool> |
| 02559 #else |
| <a name="l02560"></a><a class="code" href="structDOMStringPointerLessThanFunction.html">02560</a> struct <a class="code" href="structDOMStringPointerLessThanFunction.html">DOMStringPointerLessThanFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString*, const XalanDOMString*, bool> |
| 02561 #endif |
| 02562 { |
| 02563 result_type |
| <a name="l02564"></a><a class="code" href="structDOMStringPointerLessThanFunction.html#a0">02564</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02565 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02566 <font class="keyword"> </font>{ |
| 02567 assert(theLHS != 0 && theRHS != 0); |
| 02568 |
| 02569 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(*theLHS, *theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02570 } |
| 02571 }; |
| 02572 |
| 02573 |
| 02574 |
| 02582 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02583 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringLessThanIgnoreCaseASCIIFunction.html">DOMStringLessThanIgnoreCaseASCIIFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02584 #else |
| <a name="l02585"></a><a class="code" href="structDOMStringLessThanIgnoreCaseASCIIFunction.html">02585</a> struct <a class="code" href="structDOMStringLessThanIgnoreCaseASCIIFunction.html">DOMStringLessThanIgnoreCaseASCIIFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02586 #endif |
| 02587 { |
| 02588 result_type |
| <a name="l02589"></a><a class="code" href="structDOMStringLessThanIgnoreCaseASCIIFunction.html#a0">02589</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02590 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02591 <font class="keyword"> </font>{ |
| 02592 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>(theLHS, theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02593 } |
| 02594 }; |
| 02595 |
| 02596 |
| 02597 |
| 02605 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02606 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringLessThanOrEqualFunction.html">DOMStringLessThanOrEqualFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02607 #else |
| <a name="l02608"></a><a class="code" href="structDOMStringLessThanOrEqualFunction.html">02608</a> struct <a class="code" href="structDOMStringLessThanOrEqualFunction.html">DOMStringLessThanOrEqualFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02609 #endif |
| 02610 { |
| 02611 result_type |
| <a name="l02612"></a><a class="code" href="structDOMStringLessThanOrEqualFunction.html#a0">02612</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02613 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02614 <font class="keyword"> </font>{ |
| 02615 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, theRHS) <= 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02616 } |
| 02617 }; |
| 02618 |
| 02619 |
| 02620 |
| 02628 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02629 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringGreaterThanFunction.html">DOMStringGreaterThanFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02630 #else |
| <a name="l02631"></a><a class="code" href="structDOMStringGreaterThanFunction.html">02631</a> struct <a class="code" href="structDOMStringGreaterThanFunction.html">DOMStringGreaterThanFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02632 #endif |
| 02633 { |
| 02634 result_type |
| <a name="l02635"></a><a class="code" href="structDOMStringGreaterThanFunction.html#a0">02635</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02636 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02637 <font class="keyword"> </font>{ |
| 02638 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, theRHS) > 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02639 } |
| 02640 }; |
| 02641 |
| 02642 |
| 02643 |
| 02651 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02652 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structDOMStringGreaterThanOrEqualFunction.html">DOMStringGreaterThanOrEqualFunction</a> : <font class="keyword">public</font> binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02653 #else |
| <a name="l02654"></a><a class="code" href="structDOMStringGreaterThanOrEqualFunction.html">02654</a> struct <a class="code" href="structDOMStringGreaterThanOrEqualFunction.html">DOMStringGreaterThanOrEqualFunction</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMString&, const XalanDOMString&, bool> |
| 02655 #endif |
| 02656 { |
| 02657 result_type |
| <a name="l02658"></a><a class="code" href="structDOMStringGreaterThanOrEqualFunction.html#a0">02658</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator() </a>(first_argument_type theLHS, |
| 02659 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02660 <font class="keyword"> </font>{ |
| 02661 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a53">compare</a>(theLHS, theRHS) >= 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02662 } |
| 02663 }; |
| 02664 |
| 02665 |
| 02666 |
| 02672 <font class="preprocessor">#if defined(XALAN_NO_STD_NAMESPACE)</font> |
| 02673 <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="structless__no__case__ascii__wide__string.html">less_no_case_ascii_wide_string</a> : <font class="keyword">public</font> binary_function<const XalanDOMChar*, const XalanDOMChar*, bool> |
| 02674 #else |
| <a name="l02675"></a><a class="code" href="structless__no__case__ascii__wide__string.html">02675</a> struct <a class="code" href="structless__no__case__ascii__wide__string.html">less_no_case_ascii_wide_string</a> : <font class="keyword">public</font> std::binary_function<const XalanDOMChar*, const XalanDOMChar*, bool> |
| 02676 #endif |
| 02677 { |
| 02686 result_type |
| <a name="l02687"></a><a class="code" href="structless__no__case__ascii__wide__string.html#a0">02687</a> <a class="code" href="structDOMStringEqualsFunction.html#a0">operator()</a>( |
| 02688 first_argument_type theLHS, |
| 02689 second_argument_type theRHS)<font class="keyword"> const</font> |
| 02690 <font class="keyword"> </font>{ |
| 02691 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a56">compareIgnoreCaseASCII</a>(theLHS, theRHS) < 0 ? <font class="keyword">true</font> : <font class="keyword">false</font>; |
| 02692 } |
| 02693 }; |
| 02694 |
| 02695 |
| 02696 |
| 02703 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">bool</font>) |
| 02704 <a class="code" href="DOMStringHelper_8hpp.html#a47">isXMLWhitespace</a>(<font class="keyword">const</font> <a class="code" href="classXalanDOMString.html">XalanDOMString</a>& string); |
| 02705 |
| 02706 |
| 02707 |
| 02716 <a class="code" href="PlatformSupportDefinitions_8hpp.html#a2">XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION</a>(<font class="keywordtype">bool</font>) |
| 02717 <a class="code" href="DOMStringHelper_8hpp.html#a47">isXMLWhitespace</a>( |
| 02718 <font class="keyword">const</font> XalanDOMChar ch[], |
| 02719 XalanDOMString::size_type start, |
| 02720 XalanDOMString::size_type length); |
| 02721 |
| 02722 |
| 02723 |
| 02730 <font class="keyword">inline</font> <font class="keywordtype">bool</font> |
| 02731 <a class="code" href="DOMStringHelper_8hpp.html#a47">isXMLWhitespace</a>(<font class="keyword">const</font> XalanDOMChar* theString)<font class="keyword"></font> |
| 02732 <font class="keyword"></font>{ |
| 02733 assert(theString != 0); |
| 02734 |
| 02735 <font class="keywordflow">return</font> <a class="code" href="DOMStringHelper_8hpp.html#a47">isXMLWhitespace</a>(theString, 0, <a class="code" href="DOMStringHelper_8hpp.html#a14">length</a>(theString)); |
| 02736 } |
| 02737 |
| 02738 |
| 02739 |
| 02740 XALAN_CPP_NAMESPACE_END |
| 02741 |
| 02742 |
| 02743 |
| 02744 <font class="preprocessor">#endif // DOMSTRINGHELPER_HEADER_GUARD_1357924680</font> |
| </font></pre></div><p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
|
| <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
|
| <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
|
| <A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p>
|
|
|
| <TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
|
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
|
| <TR>
|
| <TD WIDTH="80%" VALIGN="TOP">
|
| <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.10</B><BR>
|
| Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
|
| </TD>
|
| </TR>
|
| <TR>
|
| <TD WIDTH="100%">
|
| <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
|
| </TD>
|
| </TR>
|
| </TABLE>
|