<h1>ATStringOrDerived.hpp</h1><ahref="ATStringOrDerived_8hpp.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00037"></a><aclass="code"href="classATStringOrDerived.html#a632c2a8dd7daf9d0363b176066a559c6">00037</a><spanclass="keyword">typedef</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">RefCountPointer<const ATStringOrDerived></a><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">Ptr</a>;
<aname="l00038"></a>00038
<aname="l00039"></a>00039 <spanclass="comment">/* Get the name of the primitive type (basic type) of this type</span>
<aname="l00040"></a>00040 <spanclass="comment"> * (ie "decimal" for xs:decimal) */</span>
<aname="l00058"></a>00058 <spanclass="comment">/* returns the substring starting at startingLoc of given length */</span>
<aname="l00059"></a>00059 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATStringOrDerived::Ptr</a> substring(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">Numeric::Ptr</a>&startingLoc, <spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">Numeric::Ptr</a>&length, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;
<aname="l00060"></a>00060
<aname="l00061"></a>00061 <spanclass="comment">/* returns the substring that occurs after the first occurence of pattern */</span>
<aname="l00062"></a>00062 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATStringOrDerived::Ptr</a> substringAfter(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATStringOrDerived::Ptr</a>&pattern, <aclass="code"href="classCollation.html">Collation</a>* collation, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;
<aname="l00063"></a>00063
<aname="l00064"></a>00064 <spanclass="comment">/* returns the substring that occurs before the first occurence of pattern */</span>
<aname="l00065"></a>00065 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATStringOrDerived::Ptr</a> substringBefore(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATStringOrDerived::Ptr</a>&pattern, <aclass="code"href="classCollation.html">Collation</a>* collation, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;
<aname="l00066"></a>00066
<aname="l00067"></a>00067 <spanclass="comment">/* returns true if the two objects' URI are equal (string comparison)</span>
<aname="l00069"></a>00069 <spanclass="keyword">virtual</span><spanclass="keywordtype">bool</span><aclass="code"href="classAnyAtomicType.html#a0bdd87c29a1f0a5dc28618859f0c5f4e">equals</a>(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">AnyAtomicType::Ptr</a>&target, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;