1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLString class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
|
---|
2 | <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
3 |
|
---|
4 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
5 |
|
---|
6 | <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
7 | <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
8 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
9 | <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
10 | <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
11 | <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
12 |
|
---|
13 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
14 | <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
15 | <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
16 | <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
17 |
|
---|
18 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
19 | <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
20 |
|
---|
21 | <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
22 | <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
23 |
|
---|
24 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
25 |
|
---|
26 | <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
27 | <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
28 | <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
29 |
|
---|
30 | <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
|
---|
31 |
|
---|
32 | <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
33 |
|
---|
34 | <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
|
---|
35 |
|
---|
36 |
|
---|
37 | <IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
|
---|
38 | <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
|
---|
39 |
|
---|
40 | <P>
|
---|
41 | <!-- Generated by Doxygen 1.2.14 -->
|
---|
42 | <center>
|
---|
43 | <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>
|
---|
44 | <hr><h1>XMLString Class Reference</h1>Class for representing native character strings and handling common string operations.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Collaboration diagram for XMLString:<p><center><img src="classXMLString__coll__graph.gif" border="0" usemap="#XMLString__coll__map" alt="Collaboration graph"></center>
|
---|
48 | <map name="XMLString__coll__map">
|
---|
49 | <area href="classMemoryManager.html" shape="rect" coords="7,36,116,17" alt="">
|
---|
50 | </map>
|
---|
51 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLString-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
52 | <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
|
---|
53 | <tr><td colspan="2"><div class="groupHeader">String concatenation functions</div></td></tr>
|
---|
54 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z511_0">catString</a> (char *const target, const char *const src)</td></tr>
|
---|
55 | <tr><td> </td><td><font size=-1><em>Concatenates two strings.</em> <a href="#z511_0">More...</a><em></em></font><br><br></td></tr>
|
---|
56 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z511_1">catString</a> (XMLCh *const target, const XMLCh *const src)</td></tr>
|
---|
57 | <tr><td> </td><td><font size=-1><em>Concatenates two strings.</em> <a href="#z511_1">More...</a><em></em></font><br><br></td></tr>
|
---|
58 | <tr><td colspan="2"><div class="groupHeader">String comparison functions</div></td></tr>
|
---|
59 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_0">compareIString</a> (const char *const str1, const char *const str2)</td></tr>
|
---|
60 | <tr><td> </td><td><font size=-1><em>Lexicographically compares lowercase versions of <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.</em> <a href="#z512_0">More...</a><em></em></font><br><br></td></tr>
|
---|
61 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_1">compareIString</a> (const XMLCh *const str1, const XMLCh *const str2)</td></tr>
|
---|
62 | <tr><td> </td><td><font size=-1><em>Lexicographically compares lowercase versions of <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.</em> <a href="#z512_1">More...</a><em></em></font><br><br></td></tr>
|
---|
63 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_2">compareNString</a> (const char *const str1, const char *const str2, const unsigned int count)</td></tr>
|
---|
64 | <tr><td> </td><td><font size=-1><em>Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> and returns a value indicating the relationship between the substrings.</em> <a href="#z512_2">More...</a><em></em></font><br><br></td></tr>
|
---|
65 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_3">compareNString</a> (const XMLCh *const str1, const XMLCh *const str2, const unsigned int count)</td></tr>
|
---|
66 | <tr><td> </td><td><font size=-1><em>Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> and returns a value indicating the relationship between the substrings.</em> <a href="#z512_3">More...</a><em></em></font><br><br></td></tr>
|
---|
67 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_4">compareNIString</a> (const char *const str1, const char *const str2, const unsigned int count)</td></tr>
|
---|
68 | <tr><td> </td><td><font size=-1><em>Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> without regard to case and returns a value indicating the relationship between the substrings.</em> <a href="#z512_4">More...</a><em></em></font><br><br></td></tr>
|
---|
69 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_5">compareNIString</a> (const XMLCh *const str1, const XMLCh *const str2, const unsigned int count)</td></tr>
|
---|
70 | <tr><td> </td><td><font size=-1><em>Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> without regard to case and returns a value indicating the relationship between the substrings.</em> <a href="#z512_5">More...</a><em></em></font><br><br></td></tr>
|
---|
71 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_6">compareString</a> (const char *const str1, const char *const str2)</td></tr>
|
---|
72 | <tr><td> </td><td><font size=-1><em>Lexicographically compares <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.</em> <a href="#z512_6">More...</a><em></em></font><br><br></td></tr>
|
---|
73 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z512_7">compareString</a> (const XMLCh *const str1, const XMLCh *const str2)</td></tr>
|
---|
74 | <tr><td> </td><td><font size=-1><em>Lexicographically compares <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.</em> <a href="#z512_7">More...</a><em></em></font><br><br></td></tr>
|
---|
75 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z512_8">equals</a> (const XMLCh *const str1, const XMLCh *const str2)</td></tr>
|
---|
76 | <tr><td> </td><td><font size=-1><em>compares <code>str1</code> and <code>str2</code>.</em> <a href="#z512_8">More...</a><em></em></font><br><br></td></tr>
|
---|
77 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z512_9">equals</a> (const char *const str1, const char *const str2)</td></tr>
|
---|
78 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z512_10">regionMatches</a> (const XMLCh *const str1, const int offset1, const XMLCh *const str2, const int offset2, const unsigned int charCount)</td></tr>
|
---|
79 | <tr><td> </td><td><font size=-1><em>Lexicographically compares <code>str1</code> and <code>str2</code> regions and returns true if they are equal, otherwise false.</em> <a href="#z512_10">More...</a><em></em></font><br><br></td></tr>
|
---|
80 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z512_11">regionIMatches</a> (const XMLCh *const str1, const int offset1, const XMLCh *const str2, const int offset2, const unsigned int charCount)</td></tr>
|
---|
81 | <tr><td> </td><td><font size=-1><em>Lexicographically compares <code>str1</code> and <code>str2</code> regions without regard to case and returns true if they are equal, otherwise false.</em> <a href="#z512_11">More...</a><em></em></font><br><br></td></tr>
|
---|
82 | <tr><td colspan="2"><div class="groupHeader">String copy functions</div></td></tr>
|
---|
83 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z513_0">copyString</a> (char *const target, const char *const src)</td></tr>
|
---|
84 | <tr><td> </td><td><font size=-1><em>Copies <code>src</code>, including the terminating null character, to the location specified by <code>target</code>.</em> <a href="#z513_0">More...</a><em></em></font><br><br></td></tr>
|
---|
85 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z513_1">copyString</a> (XMLCh *const target, const XMLCh *const src)</td></tr>
|
---|
86 | <tr><td> </td><td><font size=-1><em>Copies <code>src</code>, including the terminating null character, to the location specified by <code>target</code>.</em> <a href="#z513_1">More...</a><em></em></font><br><br></td></tr>
|
---|
87 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z513_2">copyNString</a> (XMLCh *const target, const XMLCh *const src, const unsigned int maxChars)</td></tr>
|
---|
88 | <tr><td> </td><td><font size=-1><em>Copies <code>src</code>, upto a fixed number of characters, to the location specified by <code>target</code>.</em> <a href="#z513_2">More...</a><em></em></font><br><br></td></tr>
|
---|
89 | <tr><td colspan="2"><div class="groupHeader">Hash functions</div></td></tr>
|
---|
90 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLString.html#z514_0">hash</a> (const char *const toHash, const unsigned int hashModulus, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
91 | <tr><td> </td><td><font size=-1><em>Hashes a string given a modulus.</em> <a href="#z514_0">More...</a><em></em></font><br><br></td></tr>
|
---|
92 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLString.html#z514_1">hash</a> (const XMLCh *const toHash, const unsigned int hashModulus, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
93 | <tr><td> </td><td><font size=-1><em>Hashes a string given a modulus.</em> <a href="#z514_1">More...</a><em></em></font><br><br></td></tr>
|
---|
94 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLString.html#z514_2">hashN</a> (const XMLCh *const toHash, const unsigned int numChars, const unsigned int hashModulus, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
95 | <tr><td> </td><td><font size=-1><em>Hashes a string given a modulus taking a maximum number of characters as the limit.</em> <a href="#z514_2">More...</a><em></em></font><br><br></td></tr>
|
---|
96 | <tr><td colspan="2"><div class="groupHeader">Search functions</div></td></tr>
|
---|
97 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_0">indexOf</a> (const char *const toSearch, const char ch)</td></tr>
|
---|
98 | <tr><td> </td><td><font size=-1><em>Provides the index of the first occurance of a character within a string.</em> <a href="#z515_0">More...</a><em></em></font><br><br></td></tr>
|
---|
99 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_1">indexOf</a> (const XMLCh *const toSearch, const XMLCh ch)</td></tr>
|
---|
100 | <tr><td> </td><td><font size=-1><em>Provides the index of the first occurance of a character within a string.</em> <a href="#z515_1">More...</a><em></em></font><br><br></td></tr>
|
---|
101 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_2">indexOf</a> (const char *const toSearch, const char chToFind, const unsigned int fromIndex, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
102 | <tr><td> </td><td><font size=-1><em>Provides the index of the first occurance of a character within a string starting from a given index.</em> <a href="#z515_2">More...</a><em></em></font><br><br></td></tr>
|
---|
103 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_3">indexOf</a> (const XMLCh *const toSearch, const XMLCh chToFind, const unsigned int fromIndex, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
104 | <tr><td> </td><td><font size=-1><em>Provides the index of the first occurance of a character within a string starting from a given index.</em> <a href="#z515_3">More...</a><em></em></font><br><br></td></tr>
|
---|
105 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_4">lastIndexOf</a> (const char *const toSearch, const char ch)</td></tr>
|
---|
106 | <tr><td> </td><td><font size=-1><em>Provides the index of the last occurance of a character within a string.</em> <a href="#z515_4">More...</a><em></em></font><br><br></td></tr>
|
---|
107 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_5">lastIndexOf</a> (const XMLCh *const toSearch, const XMLCh ch)</td></tr>
|
---|
108 | <tr><td> </td><td><font size=-1><em>Provides the index of the last occurance of a character within a string.</em> <a href="#z515_5">More...</a><em></em></font><br><br></td></tr>
|
---|
109 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_6">lastIndexOf</a> (const XMLCh ch, const XMLCh *const toSearch, const unsigned int toSearchLen)</td></tr>
|
---|
110 | <tr><td> </td><td><font size=-1><em>Provides the index of the last occurance of a character within a string.</em> <a href="#z515_6">More...</a><em></em></font><br><br></td></tr>
|
---|
111 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_7">lastIndexOf</a> (const char *const toSearch, const char chToFind, const unsigned int fromIndex, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
112 | <tr><td> </td><td><font size=-1><em>Provides the index of the last occurance of a character within a string starting backward from a given index.</em> <a href="#z515_7">More...</a><em></em></font><br><br></td></tr>
|
---|
113 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z515_8">lastIndexOf</a> (const XMLCh *const toSearch, const XMLCh ch, const unsigned int fromIndex, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
114 | <tr><td> </td><td><font size=-1><em>Provides the index of the last occurance of a character within a string starting backward from a given index.</em> <a href="#z515_8">More...</a><em></em></font><br><br></td></tr>
|
---|
115 | <tr><td colspan="2"><div class="groupHeader">Fixed size string movement</div></td></tr>
|
---|
116 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z516_0">moveChars</a> (XMLCh *const targetStr, const XMLCh *const srcStr, const unsigned int count)</td></tr>
|
---|
117 | <tr><td> </td><td><font size=-1><em>Moves X number of chars.</em> <a href="#z516_0">More...</a><em></em></font><br><br></td></tr>
|
---|
118 | <tr><td colspan="2"><div class="groupHeader">Substring function</div></td></tr>
|
---|
119 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z517_0">subString</a> (char *const targetStr, const char *const srcStr, const int startIndex, const int endIndex, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
120 | <tr><td> </td><td><font size=-1><em>Create a substring of a givend string.</em> <a href="#z517_0">More...</a><em></em></font><br><br></td></tr>
|
---|
121 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z517_1">subString</a> (XMLCh *const targetStr, const XMLCh *const srcStr, const int startIndex, const int endIndex, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
122 | <tr><td> </td><td><font size=-1><em>Create a substring of a givend string.</em> <a href="#z517_1">More...</a><em></em></font><br><br></td></tr>
|
---|
123 | <tr><td colspan="2"><div class="groupHeader">Replication function</div></td></tr>
|
---|
124 | <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="classXMLString.html#z518_0">replicate</a> (const char *const toRep)</td></tr>
|
---|
125 | <tr><td> </td><td><font size=-1><em>Replicates a string NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed.</em> <a href="#z518_0">More...</a><em></em></font><br><br></td></tr>
|
---|
126 | <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="classXMLString.html#z518_1">replicate</a> (const char *const toRep, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
|
---|
127 | <tr><td> </td><td><font size=-1><em>Replicates a string NOTE: The returned buffer is allocated with the <a class="el" href="classMemoryManager.html">MemoryManager</a>.</em> <a href="#z518_1">More...</a><em></em></font><br><br></td></tr>
|
---|
128 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z518_2">replicate</a> (const XMLCh *const toRep)</td></tr>
|
---|
129 | <tr><td> </td><td><font size=-1><em>Replicates a string NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed.</em> <a href="#z518_2">More...</a><em></em></font><br><br></td></tr>
|
---|
130 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z518_3">replicate</a> (const XMLCh *const toRep, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
|
---|
131 | <tr><td> </td><td><font size=-1><em>Replicates a string NOTE: The returned buffer is allocated with the <a class="el" href="classMemoryManager.html">MemoryManager</a>.</em> <a href="#z518_3">More...</a><em></em></font><br><br></td></tr>
|
---|
132 | <tr><td colspan="2"><div class="groupHeader">String query function</div></td></tr>
|
---|
133 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_0">startsWith</a> (const char *const toTest, const char *const prefix)</td></tr>
|
---|
134 | <tr><td> </td><td><font size=-1><em>Tells if the sub-string appears within a string at the beginning.</em> <a href="#z519_0">More...</a><em></em></font><br><br></td></tr>
|
---|
135 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_1">startsWith</a> (const XMLCh *const toTest, const XMLCh *const prefix)</td></tr>
|
---|
136 | <tr><td> </td><td><font size=-1><em>Tells if the sub-string appears within a string at the beginning.</em> <a href="#z519_1">More...</a><em></em></font><br><br></td></tr>
|
---|
137 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_2">startsWithI</a> (const char *const toTest, const char *const prefix)</td></tr>
|
---|
138 | <tr><td> </td><td><font size=-1><em>Tells if the sub-string appears within a string at the beginning without regard to case.</em> <a href="#z519_2">More...</a><em></em></font><br><br></td></tr>
|
---|
139 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_3">startsWithI</a> (const XMLCh *const toTest, const XMLCh *const prefix)</td></tr>
|
---|
140 | <tr><td> </td><td><font size=-1><em>Tells if the sub-string appears within a string at the beginning without regard to case.</em> <a href="#z519_3">More...</a><em></em></font><br><br></td></tr>
|
---|
141 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_4">endsWith</a> (const XMLCh *const toTest, const XMLCh *const suffix)</td></tr>
|
---|
142 | <tr><td> </td><td><font size=-1><em>Tells if the sub-string appears within a string at the end.</em> <a href="#z519_4">More...</a><em></em></font><br><br></td></tr>
|
---|
143 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z519_5">findAny</a> (const XMLCh *const toSearch, const XMLCh *const searchList)</td></tr>
|
---|
144 | <tr><td> </td><td><font size=-1><em>Tells if a string has any occurance of any character of another string within itself.</em> <a href="#z519_5">More...</a><em></em></font><br><br></td></tr>
|
---|
145 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z519_6">findAny</a> (XMLCh *const toSearch, const XMLCh *const searchList)</td></tr>
|
---|
146 | <tr><td> </td><td><font size=-1><em>Tells if a string has any occurance of any character of another string within itself.</em> <a href="#z519_6">More...</a><em></em></font><br><br></td></tr>
|
---|
147 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z519_7">patternMatch</a> (const XMLCh *const toSearch, const XMLCh *const pattern)</td></tr>
|
---|
148 | <tr><td> </td><td><font size=-1><em>Tells if a string has pattern within itself.</em> <a href="#z519_7">More...</a><em></em></font><br><br></td></tr>
|
---|
149 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLString.html#z519_8">stringLen</a> (const char *const src)</td></tr>
|
---|
150 | <tr><td> </td><td><font size=-1><em>Get the length of the string.</em> <a href="#z519_8">More...</a><em></em></font><br><br></td></tr>
|
---|
151 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLString.html#z519_9">stringLen</a> (const XMLCh *const src)</td></tr>
|
---|
152 | <tr><td> </td><td><font size=-1><em>Get the length of the string.</em> <a href="#z519_9">More...</a><em></em></font><br><br></td></tr>
|
---|
153 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_10">isValidNOTATION</a> (const XMLCh *const name, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
154 | <tr><td> </td><td><font size=-1><em>Checks whether an name is a valid NOTATION according to XML 1.0.</em> <a href="#z519_10">More...</a><em></em></font><br><br></td></tr>
|
---|
155 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_11">isValidNCName</a> (const XMLCh *const name)</td></tr>
|
---|
156 | <tr><td> </td><td><font size=-1><em>Deprecated: please use <a class="el" href="classXMLChar1__0.html#d4">XMLChar1_0::isValidNCName</a>.</em> <a href="#z519_11">More...</a><em></em></font><br><br></td></tr>
|
---|
157 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_12">isValidName</a> (const XMLCh *const name)</td></tr>
|
---|
158 | <tr><td> </td><td><font size=-1><em>Deprecated: please use <a class="el" href="classXMLChar1__0.html#d3">XMLChar1_0::isValidName</a>.</em> <a href="#z519_12">More...</a><em></em></font><br><br></td></tr>
|
---|
159 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_13">isValidEncName</a> (const XMLCh *const name)</td></tr>
|
---|
160 | <tr><td> </td><td><font size=-1><em>Checks whether an name is a valid EncName.</em> <a href="#z519_13">More...</a><em></em></font><br><br></td></tr>
|
---|
161 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_14">isValidQName</a> (const XMLCh *const name)</td></tr>
|
---|
162 | <tr><td> </td><td><font size=-1><em>Deprecated: please use <a class="el" href="classXMLChar1__0.html#d5">XMLChar1_0::isValidQName</a>.</em> <a href="#z519_14">More...</a><em></em></font><br><br></td></tr>
|
---|
163 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_15">isAlpha</a> (XMLCh const theChar)</td></tr>
|
---|
164 | <tr><td> </td><td><font size=-1><em>Checks whether a character is within [a-zA-Z].</em> <a href="#z519_15">More...</a><em></em></font><br><br></td></tr>
|
---|
165 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_16">isDigit</a> (XMLCh const theChar)</td></tr>
|
---|
166 | <tr><td> </td><td><font size=-1><em>Checks whether a character is within [0-9].</em> <a href="#z519_16">More...</a><em></em></font><br><br></td></tr>
|
---|
167 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_17">isAlphaNum</a> (XMLCh const theChar)</td></tr>
|
---|
168 | <tr><td> </td><td><font size=-1><em>Checks whether a character is within [0-9a-zA-Z].</em> <a href="#z519_17">More...</a><em></em></font><br><br></td></tr>
|
---|
169 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_18">isHex</a> (XMLCh const theChar)</td></tr>
|
---|
170 | <tr><td> </td><td><font size=-1><em>Checks whether a character is within [0-9a-fA-F].</em> <a href="#z519_18">More...</a><em></em></font><br><br></td></tr>
|
---|
171 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_19">isAllWhiteSpace</a> (const XMLCh *const toCheck)</td></tr>
|
---|
172 | <tr><td> </td><td><font size=-1><em>Deprecated: please use XMLChar1_0::isAllWhiteSpace.</em> <a href="#z519_19">More...</a><em></em></font><br><br></td></tr>
|
---|
173 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z519_20">isInList</a> (const XMLCh *const toFind, const XMLCh *const enumList)</td></tr>
|
---|
174 | <tr><td> </td><td><font size=-1><em>Find is the string appears in the enum list.</em> <a href="#z519_20">More...</a><em></em></font><br><br></td></tr>
|
---|
175 | <tr><td colspan="2"><div class="groupHeader">Conversion functions</div></td></tr>
|
---|
176 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_0">binToText</a> (const unsigned int toFormat, char *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
177 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_0">More...</a><em></em></font><br><br></td></tr>
|
---|
178 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_1">binToText</a> (const unsigned int toFormat, XMLCh *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
179 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_1">More...</a><em></em></font><br><br></td></tr>
|
---|
180 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_2">binToText</a> (const unsigned long toFormat, char *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
181 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_2">More...</a><em></em></font><br><br></td></tr>
|
---|
182 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_3">binToText</a> (const unsigned long toFormat, XMLCh *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
183 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_3">More...</a><em></em></font><br><br></td></tr>
|
---|
184 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_4">binToText</a> (const long toFormat, char *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
185 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_4">More...</a><em></em></font><br><br></td></tr>
|
---|
186 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_5">binToText</a> (const long toFormat, XMLCh *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
187 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_5">More...</a><em></em></font><br><br></td></tr>
|
---|
188 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_6">binToText</a> (const int toFormat, char *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
189 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_6">More...</a><em></em></font><br><br></td></tr>
|
---|
190 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_7">binToText</a> (const int toFormat, XMLCh *const toFill, const unsigned int maxChars, const unsigned int radix, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
191 | <tr><td> </td><td><font size=-1><em>Converts binary data to a text string based a given radix.</em> <a href="#z520_7">More...</a><em></em></font><br><br></td></tr>
|
---|
192 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z520_8">textToBin</a> (const XMLCh *const toConvert, unsigned int &toFill, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
193 | <tr><td> </td><td><font size=-1><em>Converts a string of decimal chars to a binary value.</em> <a href="#z520_8">More...</a><em></em></font><br><br></td></tr>
|
---|
194 | <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classXMLString.html#z520_9">parseInt</a> (const XMLCh *const toConvert, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
195 | <tr><td> </td><td><font size=-1><em>Converts a string of decimal chars to a binary value.</em> <a href="#z520_9">More...</a><em></em></font><br><br></td></tr>
|
---|
196 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_10">cut</a> (XMLCh *const toCutFrom, const unsigned int count)</td></tr>
|
---|
197 | <tr><td> </td><td><font size=-1><em>Cut leading chars from a string.</em> <a href="#z520_10">More...</a><em></em></font><br><br></td></tr>
|
---|
198 | <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="classXMLString.html#z520_11">transcode</a> (const XMLCh *const toTranscode)</td></tr>
|
---|
199 | <tr><td> </td><td><font size=-1><em>Transcodes a string to native code-page.</em> <a href="#z520_11">More...</a><em></em></font><br><br></td></tr>
|
---|
200 | <tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="classXMLString.html#z520_12">transcode</a> (const XMLCh *const toTranscode, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
|
---|
201 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z520_13">transcode</a> (const XMLCh *const toTranscode, char *const toFill, const unsigned int maxChars, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
202 | <tr><td> </td><td><font size=-1><em>Transcodes a string to native code-page.</em> <a href="#z520_13">More...</a><em></em></font><br><br></td></tr>
|
---|
203 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z520_14">transcode</a> (const char *const toTranscode)</td></tr>
|
---|
204 | <tr><td> </td><td><font size=-1><em>Transcodes a string to native code-page.</em> <a href="#z520_14">More...</a><em></em></font><br><br></td></tr>
|
---|
205 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z520_15">transcode</a> (const char *const toTranscode, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>
|
---|
206 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z520_16">transcode</a> (const char *const toTranscode, XMLCh *const toFill, const unsigned int maxChars, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
207 | <tr><td> </td><td><font size=-1><em>Transcodes a string to native code-page.</em> <a href="#z520_16">More...</a><em></em></font><br><br></td></tr>
|
---|
208 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_17">trim</a> (char *const toTrim)</td></tr>
|
---|
209 | <tr><td> </td><td><font size=-1><em>Trims off extra space characters from the start and end of the string, moving the non-space string content back to the start.</em> <a href="#z520_17">More...</a><em></em></font><br><br></td></tr>
|
---|
210 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z520_18">trim</a> (XMLCh *const toTrim)</td></tr>
|
---|
211 | <tr><td> </td><td><font size=-1><em>Trims off extra space characters from the start and end of the string, moving the non-space string content back to the start.</em> <a href="#z520_18">More...</a><em></em></font><br><br></td></tr>
|
---|
212 | <tr><td nowrap align=right valign=top>BaseRefVectorOf< XMLCh > * </td><td valign=bottom><a class="el" href="classXMLString.html#z520_19">tokenizeString</a> (const XMLCh *const tokenizeSrc, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
213 | <tr><td> </td><td><font size=-1><em>Break a string into tokens with space as delimiter, and stored in a string vector.</em> <a href="#z520_19">More...</a><em></em></font><br><br></td></tr>
|
---|
214 | <tr><td colspan="2"><div class="groupHeader">Formatting functions</div></td></tr>
|
---|
215 | <tr><td nowrap align=right valign=top>XMLCh * </td><td valign=bottom><a class="el" href="classXMLString.html#z521_0">makeUName</a> (const XMLCh *const pszURI, const XMLCh *const pszName)</td></tr>
|
---|
216 | <tr><td> </td><td><font size=-1><em>Creates a UName from a URI and base name.</em> <a href="#z521_0">More...</a><em></em></font><br><br></td></tr>
|
---|
217 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLString.html#z521_1">replaceTokens</a> (XMLCh *const errText, const unsigned int maxChars, const XMLCh *const text1, const XMLCh *const text2, const XMLCh *const text3, const XMLCh *const text4, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
218 | <tr><td> </td><td><font size=-1><em>Internal function to perform token replacement for strings.</em> <a href="#z521_1">More...</a><em></em></font><br><br></td></tr>
|
---|
219 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_2">upperCase</a> (XMLCh *const toUpperCase)</td></tr>
|
---|
220 | <tr><td> </td><td><font size=-1><em>Converts a string to uppercase.</em> <a href="#z521_2">More...</a><em></em></font><br><br></td></tr>
|
---|
221 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_3">lowerCase</a> (XMLCh *const toLowerCase)</td></tr>
|
---|
222 | <tr><td> </td><td><font size=-1><em>Converts a string to lowercase.</em> <a href="#z521_3">More...</a><em></em></font><br><br></td></tr>
|
---|
223 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z521_4">isWSReplaced</a> (const XMLCh *const toCheck)</td></tr>
|
---|
224 | <tr><td> </td><td><font size=-1><em>Check if string is WhiteSpace:replace.</em> <a href="#z521_4">More...</a><em></em></font><br><br></td></tr>
|
---|
225 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLString.html#z521_5">isWSCollapsed</a> (const XMLCh *const toCheck)</td></tr>
|
---|
226 | <tr><td> </td><td><font size=-1><em>Check if string is WhiteSpace:collapse.</em> <a href="#z521_5">More...</a><em></em></font><br><br></td></tr>
|
---|
227 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_6">replaceWS</a> (XMLCh *const toConvert, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
228 | <tr><td> </td><td><font size=-1><em>Replace whitespace.</em> <a href="#z521_6">More...</a><em></em></font><br><br></td></tr>
|
---|
229 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_7">collapseWS</a> (XMLCh *const toConvert, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
230 | <tr><td> </td><td><font size=-1><em>Collapse whitespace.</em> <a href="#z521_7">More...</a><em></em></font><br><br></td></tr>
|
---|
231 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_8">removeWS</a> (XMLCh *const toConvert, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
232 | <tr><td> </td><td><font size=-1><em>Remove whitespace.</em> <a href="#z521_8">More...</a><em></em></font><br><br></td></tr>
|
---|
233 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_9">removeChar</a> (const XMLCh *const srcString, const XMLCh &toRemove, XMLBuffer &dstBuffer)</td></tr>
|
---|
234 | <tr><td> </td><td><font size=-1><em>Remove character.</em> <a href="#z521_9">More...</a><em></em></font><br><br></td></tr>
|
---|
235 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z521_10">fixURI</a> (const XMLCh *const str, XMLCh *const target)</td></tr>
|
---|
236 | <tr><td> </td><td><font size=-1><em>Fixes a platform dependent absolute path filename to standard URI form.</em> <a href="#z521_10">More...</a><em></em></font><br><br></td></tr>
|
---|
237 | <tr><td colspan="2"><div class="groupHeader">String Memory Management functions</div></td></tr>
|
---|
238 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z522_0">release</a> (char **buf)</td></tr>
|
---|
239 | <tr><td> </td><td><font size=-1><em>Release the parameter char string that was allocated by the implementation (i.e.the parser).</em> <a href="#z522_0">More...</a><em></em></font><br><br></td></tr>
|
---|
240 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z522_1">release</a> (XMLCh **buf)</td></tr>
|
---|
241 | <tr><td> </td><td><font size=-1><em>Release the parameter XMLCh string that was allocated by the implementation (i.e.the parser).</em> <a href="#z522_1">More...</a><em></em></font><br><br></td></tr>
|
---|
242 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLString.html#z522_2">release</a> (<a class="el" href="XercesDefs_8hpp.html#a16">XMLByte</a> **buf)</td></tr>
|
---|
243 | <tr><td> </td><td><font size=-1><em>Release the parameter XMLByte string that was allocated by the implementation (i.e.the parser).</em> <a href="#z522_2">More...</a><em></em></font><br><br></td></tr>
|
---|
244 | <tr><td colspan=2><br><h2>Friends</h2></td></tr>
|
---|
245 | <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classXMLString.html#l0">XMLPlatformUtils</a></td></tr>
|
---|
246 | </table>
|
---|
247 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
248 | Class for representing native character strings and handling common string operations.
|
---|
249 | <p>
|
---|
250 | This class is Unicode compliant. This class is designed primarily for internal use, but due to popular demand, it is being made publicly available. Users of this class must understand that this is not an officially supported class. All public methods of this class are <em>static functions</em>.
|
---|
251 | <p>
|
---|
252 | <hr><h2>Member Function Documentation</h2>
|
---|
253 | <a name="z520_7" doxytag="XMLString::binToText"></a><p>
|
---|
254 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
255 | <tr>
|
---|
256 | <td class="md">
|
---|
257 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
258 | <tr>
|
---|
259 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
260 | <td class="md" valign="top">( </td>
|
---|
261 | <td class="md" nowrap valign="top">const int </td>
|
---|
262 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
263 | </tr>
|
---|
264 | <tr>
|
---|
265 | <td></td>
|
---|
266 | <td></td>
|
---|
267 | <td class="md" nowrap>XMLCh *const </td>
|
---|
268 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
269 | </tr>
|
---|
270 | <tr>
|
---|
271 | <td></td>
|
---|
272 | <td></td>
|
---|
273 | <td class="md" nowrap>const unsigned int </td>
|
---|
274 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
275 | </tr>
|
---|
276 | <tr>
|
---|
277 | <td></td>
|
---|
278 | <td></td>
|
---|
279 | <td class="md" nowrap>const unsigned int </td>
|
---|
280 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
281 | </tr>
|
---|
282 | <tr>
|
---|
283 | <td></td>
|
---|
284 | <td></td>
|
---|
285 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
286 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
287 | </tr>
|
---|
288 | <tr>
|
---|
289 | <td></td>
|
---|
290 | <td class="md">) </td>
|
---|
291 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
292 | </tr>
|
---|
293 |
|
---|
294 | </table>
|
---|
295 | </td>
|
---|
296 | </tr>
|
---|
297 | </table>
|
---|
298 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
299 | <tr>
|
---|
300 | <td>
|
---|
301 |
|
---|
302 | </td>
|
---|
303 | <td>
|
---|
304 |
|
---|
305 | <p>
|
---|
306 | Converts binary data to a text string based a given radix.
|
---|
307 | <p>
|
---|
308 | <dl compact><dt><b>
|
---|
309 | Parameters: </b><dd>
|
---|
310 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
311 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
312 | The number to convert </td></tr>
|
---|
313 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
314 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
315 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
316 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
317 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
318 | The radix of the input data, based on which the conversion </td></tr>
|
---|
319 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
320 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
321 | </table>
|
---|
322 | </dl> </td>
|
---|
323 | </tr>
|
---|
324 | </table>
|
---|
325 | <a name="z520_6" doxytag="XMLString::binToText"></a><p>
|
---|
326 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
327 | <tr>
|
---|
328 | <td class="md">
|
---|
329 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
330 | <tr>
|
---|
331 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
332 | <td class="md" valign="top">( </td>
|
---|
333 | <td class="md" nowrap valign="top">const int </td>
|
---|
334 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
335 | </tr>
|
---|
336 | <tr>
|
---|
337 | <td></td>
|
---|
338 | <td></td>
|
---|
339 | <td class="md" nowrap>char *const </td>
|
---|
340 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
341 | </tr>
|
---|
342 | <tr>
|
---|
343 | <td></td>
|
---|
344 | <td></td>
|
---|
345 | <td class="md" nowrap>const unsigned int </td>
|
---|
346 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
347 | </tr>
|
---|
348 | <tr>
|
---|
349 | <td></td>
|
---|
350 | <td></td>
|
---|
351 | <td class="md" nowrap>const unsigned int </td>
|
---|
352 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
353 | </tr>
|
---|
354 | <tr>
|
---|
355 | <td></td>
|
---|
356 | <td></td>
|
---|
357 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
358 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
359 | </tr>
|
---|
360 | <tr>
|
---|
361 | <td></td>
|
---|
362 | <td class="md">) </td>
|
---|
363 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
364 | </tr>
|
---|
365 |
|
---|
366 | </table>
|
---|
367 | </td>
|
---|
368 | </tr>
|
---|
369 | </table>
|
---|
370 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
371 | <tr>
|
---|
372 | <td>
|
---|
373 |
|
---|
374 | </td>
|
---|
375 | <td>
|
---|
376 |
|
---|
377 | <p>
|
---|
378 | Converts binary data to a text string based a given radix.
|
---|
379 | <p>
|
---|
380 | <dl compact><dt><b>
|
---|
381 | Parameters: </b><dd>
|
---|
382 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
383 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
384 | The number to convert </td></tr>
|
---|
385 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
386 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
387 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
388 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
389 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
390 | The radix of the input data, based on which the conversion </td></tr>
|
---|
391 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
392 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
393 | </table>
|
---|
394 | </dl> </td>
|
---|
395 | </tr>
|
---|
396 | </table>
|
---|
397 | <a name="z520_5" doxytag="XMLString::binToText"></a><p>
|
---|
398 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
399 | <tr>
|
---|
400 | <td class="md">
|
---|
401 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
402 | <tr>
|
---|
403 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
404 | <td class="md" valign="top">( </td>
|
---|
405 | <td class="md" nowrap valign="top">const long </td>
|
---|
406 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
407 | </tr>
|
---|
408 | <tr>
|
---|
409 | <td></td>
|
---|
410 | <td></td>
|
---|
411 | <td class="md" nowrap>XMLCh *const </td>
|
---|
412 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
413 | </tr>
|
---|
414 | <tr>
|
---|
415 | <td></td>
|
---|
416 | <td></td>
|
---|
417 | <td class="md" nowrap>const unsigned int </td>
|
---|
418 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
419 | </tr>
|
---|
420 | <tr>
|
---|
421 | <td></td>
|
---|
422 | <td></td>
|
---|
423 | <td class="md" nowrap>const unsigned int </td>
|
---|
424 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
425 | </tr>
|
---|
426 | <tr>
|
---|
427 | <td></td>
|
---|
428 | <td></td>
|
---|
429 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
430 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
431 | </tr>
|
---|
432 | <tr>
|
---|
433 | <td></td>
|
---|
434 | <td class="md">) </td>
|
---|
435 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
436 | </tr>
|
---|
437 |
|
---|
438 | </table>
|
---|
439 | </td>
|
---|
440 | </tr>
|
---|
441 | </table>
|
---|
442 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
443 | <tr>
|
---|
444 | <td>
|
---|
445 |
|
---|
446 | </td>
|
---|
447 | <td>
|
---|
448 |
|
---|
449 | <p>
|
---|
450 | Converts binary data to a text string based a given radix.
|
---|
451 | <p>
|
---|
452 | <dl compact><dt><b>
|
---|
453 | Parameters: </b><dd>
|
---|
454 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
455 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
456 | The number to convert </td></tr>
|
---|
457 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
458 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
459 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
460 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
461 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
462 | The radix of the input data, based on which the conversion </td></tr>
|
---|
463 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
464 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
465 | </table>
|
---|
466 | </dl> </td>
|
---|
467 | </tr>
|
---|
468 | </table>
|
---|
469 | <a name="z520_4" doxytag="XMLString::binToText"></a><p>
|
---|
470 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
471 | <tr>
|
---|
472 | <td class="md">
|
---|
473 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
474 | <tr>
|
---|
475 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
476 | <td class="md" valign="top">( </td>
|
---|
477 | <td class="md" nowrap valign="top">const long </td>
|
---|
478 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
479 | </tr>
|
---|
480 | <tr>
|
---|
481 | <td></td>
|
---|
482 | <td></td>
|
---|
483 | <td class="md" nowrap>char *const </td>
|
---|
484 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
485 | </tr>
|
---|
486 | <tr>
|
---|
487 | <td></td>
|
---|
488 | <td></td>
|
---|
489 | <td class="md" nowrap>const unsigned int </td>
|
---|
490 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
491 | </tr>
|
---|
492 | <tr>
|
---|
493 | <td></td>
|
---|
494 | <td></td>
|
---|
495 | <td class="md" nowrap>const unsigned int </td>
|
---|
496 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
497 | </tr>
|
---|
498 | <tr>
|
---|
499 | <td></td>
|
---|
500 | <td></td>
|
---|
501 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
502 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
503 | </tr>
|
---|
504 | <tr>
|
---|
505 | <td></td>
|
---|
506 | <td class="md">) </td>
|
---|
507 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
508 | </tr>
|
---|
509 |
|
---|
510 | </table>
|
---|
511 | </td>
|
---|
512 | </tr>
|
---|
513 | </table>
|
---|
514 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
515 | <tr>
|
---|
516 | <td>
|
---|
517 |
|
---|
518 | </td>
|
---|
519 | <td>
|
---|
520 |
|
---|
521 | <p>
|
---|
522 | Converts binary data to a text string based a given radix.
|
---|
523 | <p>
|
---|
524 | <dl compact><dt><b>
|
---|
525 | Parameters: </b><dd>
|
---|
526 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
527 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
528 | The number to convert </td></tr>
|
---|
529 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
530 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
531 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
532 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
533 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
534 | The radix of the input data, based on which the conversion </td></tr>
|
---|
535 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
536 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
537 | </table>
|
---|
538 | </dl> </td>
|
---|
539 | </tr>
|
---|
540 | </table>
|
---|
541 | <a name="z520_3" doxytag="XMLString::binToText"></a><p>
|
---|
542 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
543 | <tr>
|
---|
544 | <td class="md">
|
---|
545 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
546 | <tr>
|
---|
547 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
548 | <td class="md" valign="top">( </td>
|
---|
549 | <td class="md" nowrap valign="top">const unsigned long </td>
|
---|
550 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
551 | </tr>
|
---|
552 | <tr>
|
---|
553 | <td></td>
|
---|
554 | <td></td>
|
---|
555 | <td class="md" nowrap>XMLCh *const </td>
|
---|
556 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
557 | </tr>
|
---|
558 | <tr>
|
---|
559 | <td></td>
|
---|
560 | <td></td>
|
---|
561 | <td class="md" nowrap>const unsigned int </td>
|
---|
562 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
563 | </tr>
|
---|
564 | <tr>
|
---|
565 | <td></td>
|
---|
566 | <td></td>
|
---|
567 | <td class="md" nowrap>const unsigned int </td>
|
---|
568 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
569 | </tr>
|
---|
570 | <tr>
|
---|
571 | <td></td>
|
---|
572 | <td></td>
|
---|
573 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
574 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
575 | </tr>
|
---|
576 | <tr>
|
---|
577 | <td></td>
|
---|
578 | <td class="md">) </td>
|
---|
579 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
580 | </tr>
|
---|
581 |
|
---|
582 | </table>
|
---|
583 | </td>
|
---|
584 | </tr>
|
---|
585 | </table>
|
---|
586 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
587 | <tr>
|
---|
588 | <td>
|
---|
589 |
|
---|
590 | </td>
|
---|
591 | <td>
|
---|
592 |
|
---|
593 | <p>
|
---|
594 | Converts binary data to a text string based a given radix.
|
---|
595 | <p>
|
---|
596 | <dl compact><dt><b>
|
---|
597 | Parameters: </b><dd>
|
---|
598 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
599 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
600 | The number to convert </td></tr>
|
---|
601 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
602 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
603 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
604 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
605 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
606 | The radix of the input data, based on which the conversion </td></tr>
|
---|
607 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
608 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
609 | </table>
|
---|
610 | </dl> </td>
|
---|
611 | </tr>
|
---|
612 | </table>
|
---|
613 | <a name="z520_2" doxytag="XMLString::binToText"></a><p>
|
---|
614 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
615 | <tr>
|
---|
616 | <td class="md">
|
---|
617 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
618 | <tr>
|
---|
619 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
620 | <td class="md" valign="top">( </td>
|
---|
621 | <td class="md" nowrap valign="top">const unsigned long </td>
|
---|
622 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
623 | </tr>
|
---|
624 | <tr>
|
---|
625 | <td></td>
|
---|
626 | <td></td>
|
---|
627 | <td class="md" nowrap>char *const </td>
|
---|
628 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
629 | </tr>
|
---|
630 | <tr>
|
---|
631 | <td></td>
|
---|
632 | <td></td>
|
---|
633 | <td class="md" nowrap>const unsigned int </td>
|
---|
634 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
635 | </tr>
|
---|
636 | <tr>
|
---|
637 | <td></td>
|
---|
638 | <td></td>
|
---|
639 | <td class="md" nowrap>const unsigned int </td>
|
---|
640 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
641 | </tr>
|
---|
642 | <tr>
|
---|
643 | <td></td>
|
---|
644 | <td></td>
|
---|
645 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
646 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
647 | </tr>
|
---|
648 | <tr>
|
---|
649 | <td></td>
|
---|
650 | <td class="md">) </td>
|
---|
651 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
652 | </tr>
|
---|
653 |
|
---|
654 | </table>
|
---|
655 | </td>
|
---|
656 | </tr>
|
---|
657 | </table>
|
---|
658 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
659 | <tr>
|
---|
660 | <td>
|
---|
661 |
|
---|
662 | </td>
|
---|
663 | <td>
|
---|
664 |
|
---|
665 | <p>
|
---|
666 | Converts binary data to a text string based a given radix.
|
---|
667 | <p>
|
---|
668 | <dl compact><dt><b>
|
---|
669 | Parameters: </b><dd>
|
---|
670 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
671 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
672 | The number to convert </td></tr>
|
---|
673 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
674 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
675 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
676 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
677 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
678 | The radix of the input data, based on which the conversion </td></tr>
|
---|
679 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
680 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
681 | </table>
|
---|
682 | </dl> </td>
|
---|
683 | </tr>
|
---|
684 | </table>
|
---|
685 | <a name="z520_1" doxytag="XMLString::binToText"></a><p>
|
---|
686 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
687 | <tr>
|
---|
688 | <td class="md">
|
---|
689 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
690 | <tr>
|
---|
691 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
692 | <td class="md" valign="top">( </td>
|
---|
693 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
694 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
695 | </tr>
|
---|
696 | <tr>
|
---|
697 | <td></td>
|
---|
698 | <td></td>
|
---|
699 | <td class="md" nowrap>XMLCh *const </td>
|
---|
700 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
701 | </tr>
|
---|
702 | <tr>
|
---|
703 | <td></td>
|
---|
704 | <td></td>
|
---|
705 | <td class="md" nowrap>const unsigned int </td>
|
---|
706 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
707 | </tr>
|
---|
708 | <tr>
|
---|
709 | <td></td>
|
---|
710 | <td></td>
|
---|
711 | <td class="md" nowrap>const unsigned int </td>
|
---|
712 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
713 | </tr>
|
---|
714 | <tr>
|
---|
715 | <td></td>
|
---|
716 | <td></td>
|
---|
717 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
718 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
719 | </tr>
|
---|
720 | <tr>
|
---|
721 | <td></td>
|
---|
722 | <td class="md">) </td>
|
---|
723 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
724 | </tr>
|
---|
725 |
|
---|
726 | </table>
|
---|
727 | </td>
|
---|
728 | </tr>
|
---|
729 | </table>
|
---|
730 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
731 | <tr>
|
---|
732 | <td>
|
---|
733 |
|
---|
734 | </td>
|
---|
735 | <td>
|
---|
736 |
|
---|
737 | <p>
|
---|
738 | Converts binary data to a text string based a given radix.
|
---|
739 | <p>
|
---|
740 | <dl compact><dt><b>
|
---|
741 | Parameters: </b><dd>
|
---|
742 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
743 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
744 | The number to convert </td></tr>
|
---|
745 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
746 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
747 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
748 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
749 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
750 | The radix of the input data, based on which the conversion </td></tr>
|
---|
751 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
752 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
753 | </table>
|
---|
754 | </dl> </td>
|
---|
755 | </tr>
|
---|
756 | </table>
|
---|
757 | <a name="z520_0" doxytag="XMLString::binToText"></a><p>
|
---|
758 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
759 | <tr>
|
---|
760 | <td class="md">
|
---|
761 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
762 | <tr>
|
---|
763 | <td class="md" nowrap valign="top"> void XMLString::binToText </td>
|
---|
764 | <td class="md" valign="top">( </td>
|
---|
765 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
766 | <td class="mdname" nowrap> <em>toFormat</em>, </td>
|
---|
767 | </tr>
|
---|
768 | <tr>
|
---|
769 | <td></td>
|
---|
770 | <td></td>
|
---|
771 | <td class="md" nowrap>char *const </td>
|
---|
772 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
773 | </tr>
|
---|
774 | <tr>
|
---|
775 | <td></td>
|
---|
776 | <td></td>
|
---|
777 | <td class="md" nowrap>const unsigned int </td>
|
---|
778 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
779 | </tr>
|
---|
780 | <tr>
|
---|
781 | <td></td>
|
---|
782 | <td></td>
|
---|
783 | <td class="md" nowrap>const unsigned int </td>
|
---|
784 | <td class="mdname" nowrap> <em>radix</em>, </td>
|
---|
785 | </tr>
|
---|
786 | <tr>
|
---|
787 | <td></td>
|
---|
788 | <td></td>
|
---|
789 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
790 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
791 | </tr>
|
---|
792 | <tr>
|
---|
793 | <td></td>
|
---|
794 | <td class="md">) </td>
|
---|
795 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
796 | </tr>
|
---|
797 |
|
---|
798 | </table>
|
---|
799 | </td>
|
---|
800 | </tr>
|
---|
801 | </table>
|
---|
802 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
803 | <tr>
|
---|
804 | <td>
|
---|
805 |
|
---|
806 | </td>
|
---|
807 | <td>
|
---|
808 |
|
---|
809 | <p>
|
---|
810 | Converts binary data to a text string based a given radix.
|
---|
811 | <p>
|
---|
812 | <dl compact><dt><b>
|
---|
813 | Parameters: </b><dd>
|
---|
814 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
815 | <tr><td valign=top><em>toFormat</em> </td><td>
|
---|
816 | The number to convert </td></tr>
|
---|
817 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
818 | The buffer that will hold the output on return. The size of this buffer should at least be 'maxChars + 1'. </td></tr>
|
---|
819 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
820 | The maximum number of output characters that can be accepted. If the result will not fit, it is an error. </td></tr>
|
---|
821 | <tr><td valign=top><em>radix</em> </td><td>
|
---|
822 | The radix of the input data, based on which the conversion </td></tr>
|
---|
823 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
824 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects will be done </td></tr>
|
---|
825 | </table>
|
---|
826 | </dl> </td>
|
---|
827 | </tr>
|
---|
828 | </table>
|
---|
829 | <a name="z511_1" doxytag="XMLString::catString"></a><p>
|
---|
830 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
831 | <tr>
|
---|
832 | <td class="md">
|
---|
833 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
834 | <tr>
|
---|
835 | <td class="md" nowrap valign="top"> void XMLString::catString </td>
|
---|
836 | <td class="md" valign="top">( </td>
|
---|
837 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
838 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
839 | </tr>
|
---|
840 | <tr>
|
---|
841 | <td></td>
|
---|
842 | <td></td>
|
---|
843 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
844 | <td class="mdname" nowrap> <em>src</em></td>
|
---|
845 | </tr>
|
---|
846 | <tr>
|
---|
847 | <td></td>
|
---|
848 | <td class="md">) </td>
|
---|
849 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
850 | </tr>
|
---|
851 |
|
---|
852 | </table>
|
---|
853 | </td>
|
---|
854 | </tr>
|
---|
855 | </table>
|
---|
856 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
857 | <tr>
|
---|
858 | <td>
|
---|
859 |
|
---|
860 | </td>
|
---|
861 | <td>
|
---|
862 |
|
---|
863 | <p>
|
---|
864 | Concatenates two strings.
|
---|
865 | <p>
|
---|
866 | <code>catString</code> appends <code>src</code> to <code>target</code> and terminates the resulting string with a null character. The initial character of <code>src</code> overwrites the terminating character of <code>target</code>. No overflow checking is performed when strings are copied or appended. The behavior of <code>catString</code> is undefined if source and destination strings overlap.<dl compact><dt><b>
|
---|
867 | Parameters: </b><dd>
|
---|
868 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
869 | <tr><td valign=top><em>target</em> </td><td>
|
---|
870 | Null-terminated destination string </td></tr>
|
---|
871 | <tr><td valign=top><em>src</em> </td><td>
|
---|
872 | Null-terminated source string </td></tr>
|
---|
873 | </table>
|
---|
874 | </dl> </td>
|
---|
875 | </tr>
|
---|
876 | </table>
|
---|
877 | <a name="z511_0" doxytag="XMLString::catString"></a><p>
|
---|
878 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
879 | <tr>
|
---|
880 | <td class="md">
|
---|
881 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
882 | <tr>
|
---|
883 | <td class="md" nowrap valign="top"> void XMLString::catString </td>
|
---|
884 | <td class="md" valign="top">( </td>
|
---|
885 | <td class="md" nowrap valign="top">char *const </td>
|
---|
886 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
887 | </tr>
|
---|
888 | <tr>
|
---|
889 | <td></td>
|
---|
890 | <td></td>
|
---|
891 | <td class="md" nowrap>const char *const </td>
|
---|
892 | <td class="mdname" nowrap> <em>src</em></td>
|
---|
893 | </tr>
|
---|
894 | <tr>
|
---|
895 | <td></td>
|
---|
896 | <td class="md">) </td>
|
---|
897 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
898 | </tr>
|
---|
899 |
|
---|
900 | </table>
|
---|
901 | </td>
|
---|
902 | </tr>
|
---|
903 | </table>
|
---|
904 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
905 | <tr>
|
---|
906 | <td>
|
---|
907 |
|
---|
908 | </td>
|
---|
909 | <td>
|
---|
910 |
|
---|
911 | <p>
|
---|
912 | Concatenates two strings.
|
---|
913 | <p>
|
---|
914 | <code>catString</code> appends <code>src</code> to <code>target</code> and terminates the resulting string with a null character. The initial character of <code>src</code> overwrites the terminating character of <code>target </code>.
|
---|
915 | <p>
|
---|
916 | No overflow checking is performed when strings are copied or appended. The behavior of <code>catString</code> is undefined if source and destination strings overlap.<dl compact><dt><b>
|
---|
917 | Parameters: </b><dd>
|
---|
918 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
919 | <tr><td valign=top><em>target</em> </td><td>
|
---|
920 | Null-terminated destination string </td></tr>
|
---|
921 | <tr><td valign=top><em>src</em> </td><td>
|
---|
922 | Null-terminated source string </td></tr>
|
---|
923 | </table>
|
---|
924 | </dl> </td>
|
---|
925 | </tr>
|
---|
926 | </table>
|
---|
927 | <a name="z521_7" doxytag="XMLString::collapseWS"></a><p>
|
---|
928 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
929 | <tr>
|
---|
930 | <td class="md">
|
---|
931 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
932 | <tr>
|
---|
933 | <td class="md" nowrap valign="top"> void XMLString::collapseWS </td>
|
---|
934 | <td class="md" valign="top">( </td>
|
---|
935 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
936 | <td class="mdname" nowrap> <em>toConvert</em>, </td>
|
---|
937 | </tr>
|
---|
938 | <tr>
|
---|
939 | <td></td>
|
---|
940 | <td></td>
|
---|
941 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
942 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
943 | </tr>
|
---|
944 | <tr>
|
---|
945 | <td></td>
|
---|
946 | <td class="md">) </td>
|
---|
947 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
948 | </tr>
|
---|
949 |
|
---|
950 | </table>
|
---|
951 | </td>
|
---|
952 | </tr>
|
---|
953 | </table>
|
---|
954 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
955 | <tr>
|
---|
956 | <td>
|
---|
957 |
|
---|
958 | </td>
|
---|
959 | <td>
|
---|
960 |
|
---|
961 | <p>
|
---|
962 | Collapse whitespace.
|
---|
963 | <p>
|
---|
964 | <dl compact><dt><b>
|
---|
965 | Parameters: </b><dd>
|
---|
966 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
967 | <tr><td valign=top><em>toConvert</em> </td><td>
|
---|
968 | The string which needs to be whitespace collapsed. On return , this buffer also holds the converted string </td></tr>
|
---|
969 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
970 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
971 | </table>
|
---|
972 | </dl> </td>
|
---|
973 | </tr>
|
---|
974 | </table>
|
---|
975 | <a name="z512_1" doxytag="XMLString::compareIString"></a><p>
|
---|
976 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
977 | <tr>
|
---|
978 | <td class="md">
|
---|
979 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
980 | <tr>
|
---|
981 | <td class="md" nowrap valign="top"> int XMLString::compareIString </td>
|
---|
982 | <td class="md" valign="top">( </td>
|
---|
983 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
984 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
985 | </tr>
|
---|
986 | <tr>
|
---|
987 | <td></td>
|
---|
988 | <td></td>
|
---|
989 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
990 | <td class="mdname" nowrap> <em>str2</em></td>
|
---|
991 | </tr>
|
---|
992 | <tr>
|
---|
993 | <td></td>
|
---|
994 | <td class="md">) </td>
|
---|
995 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
996 | </tr>
|
---|
997 |
|
---|
998 | </table>
|
---|
999 | </td>
|
---|
1000 | </tr>
|
---|
1001 | </table>
|
---|
1002 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1003 | <tr>
|
---|
1004 | <td>
|
---|
1005 |
|
---|
1006 | </td>
|
---|
1007 | <td>
|
---|
1008 |
|
---|
1009 | <p>
|
---|
1010 | Lexicographically compares lowercase versions of <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.
|
---|
1011 | <p>
|
---|
1012 | <dl compact><dt><b>
|
---|
1013 | Parameters: </b><dd>
|
---|
1014 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1015 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1016 | Null-terminated string to compare </td></tr>
|
---|
1017 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1018 | Null-terminated string to compare </td></tr>
|
---|
1019 | </table>
|
---|
1020 | </dl><dl compact><dt><b>
|
---|
1021 | Returns: </b><dd>
|
---|
1022 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1023 | </tr>
|
---|
1024 | </table>
|
---|
1025 | <a name="z512_0" doxytag="XMLString::compareIString"></a><p>
|
---|
1026 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1027 | <tr>
|
---|
1028 | <td class="md">
|
---|
1029 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1030 | <tr>
|
---|
1031 | <td class="md" nowrap valign="top"> int XMLString::compareIString </td>
|
---|
1032 | <td class="md" valign="top">( </td>
|
---|
1033 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
1034 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1035 | </tr>
|
---|
1036 | <tr>
|
---|
1037 | <td></td>
|
---|
1038 | <td></td>
|
---|
1039 | <td class="md" nowrap>const char *const </td>
|
---|
1040 | <td class="mdname" nowrap> <em>str2</em></td>
|
---|
1041 | </tr>
|
---|
1042 | <tr>
|
---|
1043 | <td></td>
|
---|
1044 | <td class="md">) </td>
|
---|
1045 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1046 | </tr>
|
---|
1047 |
|
---|
1048 | </table>
|
---|
1049 | </td>
|
---|
1050 | </tr>
|
---|
1051 | </table>
|
---|
1052 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1053 | <tr>
|
---|
1054 | <td>
|
---|
1055 |
|
---|
1056 | </td>
|
---|
1057 | <td>
|
---|
1058 |
|
---|
1059 | <p>
|
---|
1060 | Lexicographically compares lowercase versions of <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.
|
---|
1061 | <p>
|
---|
1062 | <dl compact><dt><b>
|
---|
1063 | Parameters: </b><dd>
|
---|
1064 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1065 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1066 | Null-terminated string to compare </td></tr>
|
---|
1067 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1068 | Null-terminated string to compare</td></tr>
|
---|
1069 | </table>
|
---|
1070 | </dl><dl compact><dt><b>
|
---|
1071 | Returns: </b><dd>
|
---|
1072 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1073 | </tr>
|
---|
1074 | </table>
|
---|
1075 | <a name="z512_5" doxytag="XMLString::compareNIString"></a><p>
|
---|
1076 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1077 | <tr>
|
---|
1078 | <td class="md">
|
---|
1079 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1080 | <tr>
|
---|
1081 | <td class="md" nowrap valign="top"> int XMLString::compareNIString </td>
|
---|
1082 | <td class="md" valign="top">( </td>
|
---|
1083 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1084 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1085 | </tr>
|
---|
1086 | <tr>
|
---|
1087 | <td></td>
|
---|
1088 | <td></td>
|
---|
1089 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1090 | <td class="mdname" nowrap> <em>str2</em>, </td>
|
---|
1091 | </tr>
|
---|
1092 | <tr>
|
---|
1093 | <td></td>
|
---|
1094 | <td></td>
|
---|
1095 | <td class="md" nowrap>const unsigned int </td>
|
---|
1096 | <td class="mdname" nowrap> <em>count</em></td>
|
---|
1097 | </tr>
|
---|
1098 | <tr>
|
---|
1099 | <td></td>
|
---|
1100 | <td class="md">) </td>
|
---|
1101 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1102 | </tr>
|
---|
1103 |
|
---|
1104 | </table>
|
---|
1105 | </td>
|
---|
1106 | </tr>
|
---|
1107 | </table>
|
---|
1108 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1109 | <tr>
|
---|
1110 | <td>
|
---|
1111 |
|
---|
1112 | </td>
|
---|
1113 | <td>
|
---|
1114 |
|
---|
1115 | <p>
|
---|
1116 | Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> without regard to case and returns a value indicating the relationship between the substrings.
|
---|
1117 | <p>
|
---|
1118 | <dl compact><dt><b>
|
---|
1119 | Parameters: </b><dd>
|
---|
1120 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1121 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1122 | Null-terminated string to compare </td></tr>
|
---|
1123 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1124 | Null-terminated string to compare </td></tr>
|
---|
1125 | <tr><td valign=top><em>count</em> </td><td>
|
---|
1126 | The number of characters to compare</td></tr>
|
---|
1127 | </table>
|
---|
1128 | </dl><dl compact><dt><b>
|
---|
1129 | Returns: </b><dd>
|
---|
1130 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1131 | </tr>
|
---|
1132 | </table>
|
---|
1133 | <a name="z512_4" doxytag="XMLString::compareNIString"></a><p>
|
---|
1134 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1135 | <tr>
|
---|
1136 | <td class="md">
|
---|
1137 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1138 | <tr>
|
---|
1139 | <td class="md" nowrap valign="top"> int XMLString::compareNIString </td>
|
---|
1140 | <td class="md" valign="top">( </td>
|
---|
1141 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
1142 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1143 | </tr>
|
---|
1144 | <tr>
|
---|
1145 | <td></td>
|
---|
1146 | <td></td>
|
---|
1147 | <td class="md" nowrap>const char *const </td>
|
---|
1148 | <td class="mdname" nowrap> <em>str2</em>, </td>
|
---|
1149 | </tr>
|
---|
1150 | <tr>
|
---|
1151 | <td></td>
|
---|
1152 | <td></td>
|
---|
1153 | <td class="md" nowrap>const unsigned int </td>
|
---|
1154 | <td class="mdname" nowrap> <em>count</em></td>
|
---|
1155 | </tr>
|
---|
1156 | <tr>
|
---|
1157 | <td></td>
|
---|
1158 | <td class="md">) </td>
|
---|
1159 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1160 | </tr>
|
---|
1161 |
|
---|
1162 | </table>
|
---|
1163 | </td>
|
---|
1164 | </tr>
|
---|
1165 | </table>
|
---|
1166 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1167 | <tr>
|
---|
1168 | <td>
|
---|
1169 |
|
---|
1170 | </td>
|
---|
1171 | <td>
|
---|
1172 |
|
---|
1173 | <p>
|
---|
1174 | Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> without regard to case and returns a value indicating the relationship between the substrings.
|
---|
1175 | <p>
|
---|
1176 | <dl compact><dt><b>
|
---|
1177 | Parameters: </b><dd>
|
---|
1178 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1179 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1180 | Null-terminated string to compare </td></tr>
|
---|
1181 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1182 | Null-terminated string to compare </td></tr>
|
---|
1183 | <tr><td valign=top><em>count</em> </td><td>
|
---|
1184 | The number of characters to compare </td></tr>
|
---|
1185 | </table>
|
---|
1186 | </dl><dl compact><dt><b>
|
---|
1187 | Returns: </b><dd>
|
---|
1188 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1189 | </tr>
|
---|
1190 | </table>
|
---|
1191 | <a name="z512_3" doxytag="XMLString::compareNString"></a><p>
|
---|
1192 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1193 | <tr>
|
---|
1194 | <td class="md">
|
---|
1195 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1196 | <tr>
|
---|
1197 | <td class="md" nowrap valign="top"> int XMLString::compareNString </td>
|
---|
1198 | <td class="md" valign="top">( </td>
|
---|
1199 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1200 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1201 | </tr>
|
---|
1202 | <tr>
|
---|
1203 | <td></td>
|
---|
1204 | <td></td>
|
---|
1205 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1206 | <td class="mdname" nowrap> <em>str2</em>, </td>
|
---|
1207 | </tr>
|
---|
1208 | <tr>
|
---|
1209 | <td></td>
|
---|
1210 | <td></td>
|
---|
1211 | <td class="md" nowrap>const unsigned int </td>
|
---|
1212 | <td class="mdname" nowrap> <em>count</em></td>
|
---|
1213 | </tr>
|
---|
1214 | <tr>
|
---|
1215 | <td></td>
|
---|
1216 | <td class="md">) </td>
|
---|
1217 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1218 | </tr>
|
---|
1219 |
|
---|
1220 | </table>
|
---|
1221 | </td>
|
---|
1222 | </tr>
|
---|
1223 | </table>
|
---|
1224 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1225 | <tr>
|
---|
1226 | <td>
|
---|
1227 |
|
---|
1228 | </td>
|
---|
1229 | <td>
|
---|
1230 |
|
---|
1231 | <p>
|
---|
1232 | Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> and returns a value indicating the relationship between the substrings.
|
---|
1233 | <p>
|
---|
1234 | <dl compact><dt><b>
|
---|
1235 | Parameters: </b><dd>
|
---|
1236 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1237 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1238 | Null-terminated string to compare </td></tr>
|
---|
1239 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1240 | Null-terminated string to compare </td></tr>
|
---|
1241 | <tr><td valign=top><em>count</em> </td><td>
|
---|
1242 | The number of characters to compare</td></tr>
|
---|
1243 | </table>
|
---|
1244 | </dl><dl compact><dt><b>
|
---|
1245 | Returns: </b><dd>
|
---|
1246 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1247 | </tr>
|
---|
1248 | </table>
|
---|
1249 | <a name="z512_2" doxytag="XMLString::compareNString"></a><p>
|
---|
1250 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1251 | <tr>
|
---|
1252 | <td class="md">
|
---|
1253 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1254 | <tr>
|
---|
1255 | <td class="md" nowrap valign="top"> int XMLString::compareNString </td>
|
---|
1256 | <td class="md" valign="top">( </td>
|
---|
1257 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
1258 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1259 | </tr>
|
---|
1260 | <tr>
|
---|
1261 | <td></td>
|
---|
1262 | <td></td>
|
---|
1263 | <td class="md" nowrap>const char *const </td>
|
---|
1264 | <td class="mdname" nowrap> <em>str2</em>, </td>
|
---|
1265 | </tr>
|
---|
1266 | <tr>
|
---|
1267 | <td></td>
|
---|
1268 | <td></td>
|
---|
1269 | <td class="md" nowrap>const unsigned int </td>
|
---|
1270 | <td class="mdname" nowrap> <em>count</em></td>
|
---|
1271 | </tr>
|
---|
1272 | <tr>
|
---|
1273 | <td></td>
|
---|
1274 | <td class="md">) </td>
|
---|
1275 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1276 | </tr>
|
---|
1277 |
|
---|
1278 | </table>
|
---|
1279 | </td>
|
---|
1280 | </tr>
|
---|
1281 | </table>
|
---|
1282 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1283 | <tr>
|
---|
1284 | <td>
|
---|
1285 |
|
---|
1286 | </td>
|
---|
1287 | <td>
|
---|
1288 |
|
---|
1289 | <p>
|
---|
1290 | Lexicographically compares, at most, the first count characters in <code>str1</code> and <code>str2</code> and returns a value indicating the relationship between the substrings.
|
---|
1291 | <p>
|
---|
1292 | <dl compact><dt><b>
|
---|
1293 | Parameters: </b><dd>
|
---|
1294 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1295 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1296 | Null-terminated string to compare </td></tr>
|
---|
1297 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1298 | Null-terminated string to compare </td></tr>
|
---|
1299 | <tr><td valign=top><em>count</em> </td><td>
|
---|
1300 | The number of characters to compare</td></tr>
|
---|
1301 | </table>
|
---|
1302 | </dl><dl compact><dt><b>
|
---|
1303 | Returns: </b><dd>
|
---|
1304 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1305 | </tr>
|
---|
1306 | </table>
|
---|
1307 | <a name="z512_7" doxytag="XMLString::compareString"></a><p>
|
---|
1308 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1309 | <tr>
|
---|
1310 | <td class="md">
|
---|
1311 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1312 | <tr>
|
---|
1313 | <td class="md" nowrap valign="top"> int XMLString::compareString </td>
|
---|
1314 | <td class="md" valign="top">( </td>
|
---|
1315 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1316 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1317 | </tr>
|
---|
1318 | <tr>
|
---|
1319 | <td></td>
|
---|
1320 | <td></td>
|
---|
1321 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1322 | <td class="mdname" nowrap> <em>str2</em></td>
|
---|
1323 | </tr>
|
---|
1324 | <tr>
|
---|
1325 | <td></td>
|
---|
1326 | <td class="md">) </td>
|
---|
1327 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1328 | </tr>
|
---|
1329 |
|
---|
1330 | </table>
|
---|
1331 | </td>
|
---|
1332 | </tr>
|
---|
1333 | </table>
|
---|
1334 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1335 | <tr>
|
---|
1336 | <td>
|
---|
1337 |
|
---|
1338 | </td>
|
---|
1339 | <td>
|
---|
1340 |
|
---|
1341 | <p>
|
---|
1342 | Lexicographically compares <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.
|
---|
1343 | <p>
|
---|
1344 | <dl compact><dt><b>
|
---|
1345 | Parameters: </b><dd>
|
---|
1346 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1347 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1348 | Null-terminated string to compare </td></tr>
|
---|
1349 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1350 | Null-terminated string to compare </td></tr>
|
---|
1351 | </table>
|
---|
1352 | </dl><dl compact><dt><b>
|
---|
1353 | Returns: </b><dd>
|
---|
1354 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1355 | </tr>
|
---|
1356 | </table>
|
---|
1357 | <a name="z512_6" doxytag="XMLString::compareString"></a><p>
|
---|
1358 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1359 | <tr>
|
---|
1360 | <td class="md">
|
---|
1361 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1362 | <tr>
|
---|
1363 | <td class="md" nowrap valign="top"> int XMLString::compareString </td>
|
---|
1364 | <td class="md" valign="top">( </td>
|
---|
1365 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
1366 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1367 | </tr>
|
---|
1368 | <tr>
|
---|
1369 | <td></td>
|
---|
1370 | <td></td>
|
---|
1371 | <td class="md" nowrap>const char *const </td>
|
---|
1372 | <td class="mdname" nowrap> <em>str2</em></td>
|
---|
1373 | </tr>
|
---|
1374 | <tr>
|
---|
1375 | <td></td>
|
---|
1376 | <td class="md">) </td>
|
---|
1377 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1378 | </tr>
|
---|
1379 |
|
---|
1380 | </table>
|
---|
1381 | </td>
|
---|
1382 | </tr>
|
---|
1383 | </table>
|
---|
1384 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1385 | <tr>
|
---|
1386 | <td>
|
---|
1387 |
|
---|
1388 | </td>
|
---|
1389 | <td>
|
---|
1390 |
|
---|
1391 | <p>
|
---|
1392 | Lexicographically compares <code>str1</code> and <code>str2</code> and returns a value indicating their relationship.
|
---|
1393 | <p>
|
---|
1394 | <dl compact><dt><b>
|
---|
1395 | Parameters: </b><dd>
|
---|
1396 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1397 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1398 | Null-terminated string to compare </td></tr>
|
---|
1399 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1400 | Null-terminated string to compare</td></tr>
|
---|
1401 | </table>
|
---|
1402 | </dl><dl compact><dt><b>
|
---|
1403 | Returns: </b><dd>
|
---|
1404 | The return value indicates the relation of <code>str1</code> to <code>str2</code> as follows Less than 0 means <code>str1</code> is less than <code>str2</code> Equal to 0 means <code>str1</code> is identical to <code>str2</code> Greater than 0 means <code>str1</code> is more than <code>str2</code> </dl> </td>
|
---|
1405 | </tr>
|
---|
1406 | </table>
|
---|
1407 | <a name="z513_2" doxytag="XMLString::copyNString"></a><p>
|
---|
1408 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1409 | <tr>
|
---|
1410 | <td class="md">
|
---|
1411 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1412 | <tr>
|
---|
1413 | <td class="md" nowrap valign="top"> bool XMLString::copyNString </td>
|
---|
1414 | <td class="md" valign="top">( </td>
|
---|
1415 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
1416 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
1417 | </tr>
|
---|
1418 | <tr>
|
---|
1419 | <td></td>
|
---|
1420 | <td></td>
|
---|
1421 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1422 | <td class="mdname" nowrap> <em>src</em>, </td>
|
---|
1423 | </tr>
|
---|
1424 | <tr>
|
---|
1425 | <td></td>
|
---|
1426 | <td></td>
|
---|
1427 | <td class="md" nowrap>const unsigned int </td>
|
---|
1428 | <td class="mdname" nowrap> <em>maxChars</em></td>
|
---|
1429 | </tr>
|
---|
1430 | <tr>
|
---|
1431 | <td></td>
|
---|
1432 | <td class="md">) </td>
|
---|
1433 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1434 | </tr>
|
---|
1435 |
|
---|
1436 | </table>
|
---|
1437 | </td>
|
---|
1438 | </tr>
|
---|
1439 | </table>
|
---|
1440 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1441 | <tr>
|
---|
1442 | <td>
|
---|
1443 |
|
---|
1444 | </td>
|
---|
1445 | <td>
|
---|
1446 |
|
---|
1447 | <p>
|
---|
1448 | Copies <code>src</code>, upto a fixed number of characters, to the location specified by <code>target</code>.
|
---|
1449 | <p>
|
---|
1450 | No overflow checking is performed when strings are copied or appended. The behavior of <code>copyNString</code> is undefined if the source and destination strings overlap.<dl compact><dt><b>
|
---|
1451 | Parameters: </b><dd>
|
---|
1452 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1453 | <tr><td valign=top><em>target</em> </td><td>
|
---|
1454 | Destination string. The size of the buffer should atleast be 'maxChars + 1'. </td></tr>
|
---|
1455 | <tr><td valign=top><em>src</em> </td><td>
|
---|
1456 | Null-terminated source string </td></tr>
|
---|
1457 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
1458 | The maximum number of characters to copy </td></tr>
|
---|
1459 | </table>
|
---|
1460 | </dl> </td>
|
---|
1461 | </tr>
|
---|
1462 | </table>
|
---|
1463 | <a name="z513_1" doxytag="XMLString::copyString"></a><p>
|
---|
1464 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1465 | <tr>
|
---|
1466 | <td class="md">
|
---|
1467 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1468 | <tr>
|
---|
1469 | <td class="md" nowrap valign="top"> void XMLString::copyString </td>
|
---|
1470 | <td class="md" valign="top">( </td>
|
---|
1471 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
1472 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
1473 | </tr>
|
---|
1474 | <tr>
|
---|
1475 | <td></td>
|
---|
1476 | <td></td>
|
---|
1477 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1478 | <td class="mdname" nowrap> <em>src</em></td>
|
---|
1479 | </tr>
|
---|
1480 | <tr>
|
---|
1481 | <td></td>
|
---|
1482 | <td class="md">) </td>
|
---|
1483 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1484 | </tr>
|
---|
1485 |
|
---|
1486 | </table>
|
---|
1487 | </td>
|
---|
1488 | </tr>
|
---|
1489 | </table>
|
---|
1490 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1491 | <tr>
|
---|
1492 | <td>
|
---|
1493 |
|
---|
1494 | </td>
|
---|
1495 | <td>
|
---|
1496 |
|
---|
1497 | <p>
|
---|
1498 | Copies <code>src</code>, including the terminating null character, to the location specified by <code>target</code>.
|
---|
1499 | <p>
|
---|
1500 | No overflow checking is performed when strings are copied or appended. The behavior of <code>copyString</code> is undefined if the source and destination strings overlap.<dl compact><dt><b>
|
---|
1501 | Parameters: </b><dd>
|
---|
1502 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1503 | <tr><td valign=top><em>target</em> </td><td>
|
---|
1504 | Destination string </td></tr>
|
---|
1505 | <tr><td valign=top><em>src</em> </td><td>
|
---|
1506 | Null-terminated source string </td></tr>
|
---|
1507 | </table>
|
---|
1508 | </dl> </td>
|
---|
1509 | </tr>
|
---|
1510 | </table>
|
---|
1511 | <a name="z513_0" doxytag="XMLString::copyString"></a><p>
|
---|
1512 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1513 | <tr>
|
---|
1514 | <td class="md">
|
---|
1515 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1516 | <tr>
|
---|
1517 | <td class="md" nowrap valign="top"> void XMLString::copyString </td>
|
---|
1518 | <td class="md" valign="top">( </td>
|
---|
1519 | <td class="md" nowrap valign="top">char *const </td>
|
---|
1520 | <td class="mdname" nowrap> <em>target</em>, </td>
|
---|
1521 | </tr>
|
---|
1522 | <tr>
|
---|
1523 | <td></td>
|
---|
1524 | <td></td>
|
---|
1525 | <td class="md" nowrap>const char *const </td>
|
---|
1526 | <td class="mdname" nowrap> <em>src</em></td>
|
---|
1527 | </tr>
|
---|
1528 | <tr>
|
---|
1529 | <td></td>
|
---|
1530 | <td class="md">) </td>
|
---|
1531 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1532 | </tr>
|
---|
1533 |
|
---|
1534 | </table>
|
---|
1535 | </td>
|
---|
1536 | </tr>
|
---|
1537 | </table>
|
---|
1538 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1539 | <tr>
|
---|
1540 | <td>
|
---|
1541 |
|
---|
1542 | </td>
|
---|
1543 | <td>
|
---|
1544 |
|
---|
1545 | <p>
|
---|
1546 | Copies <code>src</code>, including the terminating null character, to the location specified by <code>target</code>.
|
---|
1547 | <p>
|
---|
1548 | No overflow checking is performed when strings are copied or appended. The behavior of strcpy is undefined if the source and destination strings overlap.<dl compact><dt><b>
|
---|
1549 | Parameters: </b><dd>
|
---|
1550 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1551 | <tr><td valign=top><em>target</em> </td><td>
|
---|
1552 | Destination string </td></tr>
|
---|
1553 | <tr><td valign=top><em>src</em> </td><td>
|
---|
1554 | Null-terminated source string </td></tr>
|
---|
1555 | </table>
|
---|
1556 | </dl> </td>
|
---|
1557 | </tr>
|
---|
1558 | </table>
|
---|
1559 | <a name="z520_10" doxytag="XMLString::cut"></a><p>
|
---|
1560 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1561 | <tr>
|
---|
1562 | <td class="md">
|
---|
1563 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1564 | <tr>
|
---|
1565 | <td class="md" nowrap valign="top"> void XMLString::cut </td>
|
---|
1566 | <td class="md" valign="top">( </td>
|
---|
1567 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
1568 | <td class="mdname" nowrap> <em>toCutFrom</em>, </td>
|
---|
1569 | </tr>
|
---|
1570 | <tr>
|
---|
1571 | <td></td>
|
---|
1572 | <td></td>
|
---|
1573 | <td class="md" nowrap>const unsigned int </td>
|
---|
1574 | <td class="mdname" nowrap> <em>count</em></td>
|
---|
1575 | </tr>
|
---|
1576 | <tr>
|
---|
1577 | <td></td>
|
---|
1578 | <td class="md">) </td>
|
---|
1579 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1580 | </tr>
|
---|
1581 |
|
---|
1582 | </table>
|
---|
1583 | </td>
|
---|
1584 | </tr>
|
---|
1585 | </table>
|
---|
1586 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1587 | <tr>
|
---|
1588 | <td>
|
---|
1589 |
|
---|
1590 | </td>
|
---|
1591 | <td>
|
---|
1592 |
|
---|
1593 | <p>
|
---|
1594 | Cut leading chars from a string.
|
---|
1595 | <p>
|
---|
1596 | <dl compact><dt><b>
|
---|
1597 | Parameters: </b><dd>
|
---|
1598 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1599 | <tr><td valign=top><em>toCutFrom</em> </td><td>
|
---|
1600 | The string to cut chars from </td></tr>
|
---|
1601 | <tr><td valign=top><em>count</em> </td><td>
|
---|
1602 | The count of leading chars to cut </td></tr>
|
---|
1603 | </table>
|
---|
1604 | </dl> </td>
|
---|
1605 | </tr>
|
---|
1606 | </table>
|
---|
1607 | <a name="z519_4" doxytag="XMLString::endsWith"></a><p>
|
---|
1608 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1609 | <tr>
|
---|
1610 | <td class="md">
|
---|
1611 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1612 | <tr>
|
---|
1613 | <td class="md" nowrap valign="top"> bool XMLString::endsWith </td>
|
---|
1614 | <td class="md" valign="top">( </td>
|
---|
1615 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1616 | <td class="mdname" nowrap> <em>toTest</em>, </td>
|
---|
1617 | </tr>
|
---|
1618 | <tr>
|
---|
1619 | <td></td>
|
---|
1620 | <td></td>
|
---|
1621 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1622 | <td class="mdname" nowrap> <em>suffix</em></td>
|
---|
1623 | </tr>
|
---|
1624 | <tr>
|
---|
1625 | <td></td>
|
---|
1626 | <td class="md">) </td>
|
---|
1627 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1628 | </tr>
|
---|
1629 |
|
---|
1630 | </table>
|
---|
1631 | </td>
|
---|
1632 | </tr>
|
---|
1633 | </table>
|
---|
1634 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1635 | <tr>
|
---|
1636 | <td>
|
---|
1637 |
|
---|
1638 | </td>
|
---|
1639 | <td>
|
---|
1640 |
|
---|
1641 | <p>
|
---|
1642 | Tells if the sub-string appears within a string at the end.
|
---|
1643 | <p>
|
---|
1644 | <dl compact><dt><b>
|
---|
1645 | Parameters: </b><dd>
|
---|
1646 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1647 | <tr><td valign=top><em>toTest</em> </td><td>
|
---|
1648 | The string to test </td></tr>
|
---|
1649 | <tr><td valign=top><em>suffix</em> </td><td>
|
---|
1650 | The sub-string that needs to be checked </td></tr>
|
---|
1651 | </table>
|
---|
1652 | </dl><dl compact><dt><b>
|
---|
1653 | Returns: </b><dd>
|
---|
1654 | Returns true if the sub-string was found at the end of <code>toTest</code>, else false </dl> </td>
|
---|
1655 | </tr>
|
---|
1656 | </table>
|
---|
1657 | <a name="z512_9" doxytag="XMLString::equals"></a><p>
|
---|
1658 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1659 | <tr>
|
---|
1660 | <td class="md">
|
---|
1661 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1662 | <tr>
|
---|
1663 | <td class="md" nowrap valign="top"> bool XMLString::equals </td>
|
---|
1664 | <td class="md" valign="top">( </td>
|
---|
1665 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
1666 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1667 | </tr>
|
---|
1668 | <tr>
|
---|
1669 | <td></td>
|
---|
1670 | <td></td>
|
---|
1671 | <td class="md" nowrap>const char *const </td>
|
---|
1672 | <td class="mdname" nowrap> <em>str2</em></td>
|
---|
1673 | </tr>
|
---|
1674 | <tr>
|
---|
1675 | <td></td>
|
---|
1676 | <td class="md">) </td>
|
---|
1677 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1678 | </tr>
|
---|
1679 |
|
---|
1680 | </table>
|
---|
1681 | </td>
|
---|
1682 | </tr>
|
---|
1683 | </table>
|
---|
1684 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1685 | <tr>
|
---|
1686 | <td>
|
---|
1687 |
|
---|
1688 | </td>
|
---|
1689 | <td>
|
---|
1690 |
|
---|
1691 | <p>
|
---|
1692 | </td>
|
---|
1693 | </tr>
|
---|
1694 | </table>
|
---|
1695 | <a name="z512_8" doxytag="XMLString::equals"></a><p>
|
---|
1696 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1697 | <tr>
|
---|
1698 | <td class="md">
|
---|
1699 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1700 | <tr>
|
---|
1701 | <td class="md" nowrap valign="top"> bool XMLString::equals </td>
|
---|
1702 | <td class="md" valign="top">( </td>
|
---|
1703 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1704 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
1705 | </tr>
|
---|
1706 | <tr>
|
---|
1707 | <td></td>
|
---|
1708 | <td></td>
|
---|
1709 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1710 | <td class="mdname" nowrap> <em>str2</em></td>
|
---|
1711 | </tr>
|
---|
1712 | <tr>
|
---|
1713 | <td></td>
|
---|
1714 | <td class="md">) </td>
|
---|
1715 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1716 | </tr>
|
---|
1717 |
|
---|
1718 | </table>
|
---|
1719 | </td>
|
---|
1720 | </tr>
|
---|
1721 | </table>
|
---|
1722 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1723 | <tr>
|
---|
1724 | <td>
|
---|
1725 |
|
---|
1726 | </td>
|
---|
1727 | <td>
|
---|
1728 |
|
---|
1729 | <p>
|
---|
1730 | compares <code>str1</code> and <code>str2</code>.
|
---|
1731 | <p>
|
---|
1732 | <dl compact><dt><b>
|
---|
1733 | Parameters: </b><dd>
|
---|
1734 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1735 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
1736 | Null-terminated string to compare </td></tr>
|
---|
1737 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
1738 | Null-terminated string to compare </td></tr>
|
---|
1739 | </table>
|
---|
1740 | </dl><dl compact><dt><b>
|
---|
1741 | Returns: </b><dd>
|
---|
1742 | true if two strings are equal, false if not If one string is null, while the other is zero-length string, it is considered as equal. </dl> </td>
|
---|
1743 | </tr>
|
---|
1744 | </table>
|
---|
1745 | <a name="z519_6" doxytag="XMLString::findAny"></a><p>
|
---|
1746 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1747 | <tr>
|
---|
1748 | <td class="md">
|
---|
1749 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1750 | <tr>
|
---|
1751 | <td class="md" nowrap valign="top"> XMLCh* XMLString::findAny </td>
|
---|
1752 | <td class="md" valign="top">( </td>
|
---|
1753 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
1754 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
1755 | </tr>
|
---|
1756 | <tr>
|
---|
1757 | <td></td>
|
---|
1758 | <td></td>
|
---|
1759 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1760 | <td class="mdname" nowrap> <em>searchList</em></td>
|
---|
1761 | </tr>
|
---|
1762 | <tr>
|
---|
1763 | <td></td>
|
---|
1764 | <td class="md">) </td>
|
---|
1765 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1766 | </tr>
|
---|
1767 |
|
---|
1768 | </table>
|
---|
1769 | </td>
|
---|
1770 | </tr>
|
---|
1771 | </table>
|
---|
1772 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1773 | <tr>
|
---|
1774 | <td>
|
---|
1775 |
|
---|
1776 | </td>
|
---|
1777 | <td>
|
---|
1778 |
|
---|
1779 | <p>
|
---|
1780 | Tells if a string has any occurance of any character of another string within itself.
|
---|
1781 | <p>
|
---|
1782 | <dl compact><dt><b>
|
---|
1783 | Parameters: </b><dd>
|
---|
1784 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1785 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
1786 | The string to be searched </td></tr>
|
---|
1787 | <tr><td valign=top><em>searchList</em> </td><td>
|
---|
1788 | The string from which characters to be searched for are drawn </td></tr>
|
---|
1789 | </table>
|
---|
1790 | </dl><dl compact><dt><b>
|
---|
1791 | Returns: </b><dd>
|
---|
1792 | Returns the pointer to the location where the first occurrence of any character from searchList is found, else returns 0 </dl> </td>
|
---|
1793 | </tr>
|
---|
1794 | </table>
|
---|
1795 | <a name="z519_5" doxytag="XMLString::findAny"></a><p>
|
---|
1796 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1797 | <tr>
|
---|
1798 | <td class="md">
|
---|
1799 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1800 | <tr>
|
---|
1801 | <td class="md" nowrap valign="top"> const XMLCh* XMLString::findAny </td>
|
---|
1802 | <td class="md" valign="top">( </td>
|
---|
1803 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1804 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
1805 | </tr>
|
---|
1806 | <tr>
|
---|
1807 | <td></td>
|
---|
1808 | <td></td>
|
---|
1809 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
1810 | <td class="mdname" nowrap> <em>searchList</em></td>
|
---|
1811 | </tr>
|
---|
1812 | <tr>
|
---|
1813 | <td></td>
|
---|
1814 | <td class="md">) </td>
|
---|
1815 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1816 | </tr>
|
---|
1817 |
|
---|
1818 | </table>
|
---|
1819 | </td>
|
---|
1820 | </tr>
|
---|
1821 | </table>
|
---|
1822 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1823 | <tr>
|
---|
1824 | <td>
|
---|
1825 |
|
---|
1826 | </td>
|
---|
1827 | <td>
|
---|
1828 |
|
---|
1829 | <p>
|
---|
1830 | Tells if a string has any occurance of any character of another string within itself.
|
---|
1831 | <p>
|
---|
1832 | <dl compact><dt><b>
|
---|
1833 | Parameters: </b><dd>
|
---|
1834 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1835 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
1836 | The string to be searched </td></tr>
|
---|
1837 | <tr><td valign=top><em>searchList</em> </td><td>
|
---|
1838 | The string from which characters to be searched for are drawn </td></tr>
|
---|
1839 | </table>
|
---|
1840 | </dl><dl compact><dt><b>
|
---|
1841 | Returns: </b><dd>
|
---|
1842 | Returns the pointer to the location where the first occurrence of any character from searchList is found, else returns 0 </dl> </td>
|
---|
1843 | </tr>
|
---|
1844 | </table>
|
---|
1845 | <a name="z521_10" doxytag="XMLString::fixURI"></a><p>
|
---|
1846 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1847 | <tr>
|
---|
1848 | <td class="md">
|
---|
1849 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1850 | <tr>
|
---|
1851 | <td class="md" nowrap valign="top"> void XMLString::fixURI </td>
|
---|
1852 | <td class="md" valign="top">( </td>
|
---|
1853 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1854 | <td class="mdname" nowrap> <em>str</em>, </td>
|
---|
1855 | </tr>
|
---|
1856 | <tr>
|
---|
1857 | <td></td>
|
---|
1858 | <td></td>
|
---|
1859 | <td class="md" nowrap>XMLCh *const </td>
|
---|
1860 | <td class="mdname" nowrap> <em>target</em></td>
|
---|
1861 | </tr>
|
---|
1862 | <tr>
|
---|
1863 | <td></td>
|
---|
1864 | <td class="md">) </td>
|
---|
1865 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1866 | </tr>
|
---|
1867 |
|
---|
1868 | </table>
|
---|
1869 | </td>
|
---|
1870 | </tr>
|
---|
1871 | </table>
|
---|
1872 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1873 | <tr>
|
---|
1874 | <td>
|
---|
1875 |
|
---|
1876 | </td>
|
---|
1877 | <td>
|
---|
1878 |
|
---|
1879 | <p>
|
---|
1880 | Fixes a platform dependent absolute path filename to standard URI form.
|
---|
1881 | <p>
|
---|
1882 | 1. Windows: fix 'x:' to '<a href="file:///x:">file:///x:</a>' and convert any backslash to forward slash 2. UNIX: fix '/blah/blahblah' to '<a href="file:///blah/blahblah">file:///blah/blahblah</a>' <dl compact><dt><b>
|
---|
1883 | Parameters: </b><dd>
|
---|
1884 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1885 | <tr><td valign=top><em>str</em> </td><td>
|
---|
1886 | The string that has the absolute path filename </td></tr>
|
---|
1887 | <tr><td valign=top><em>target</em> </td><td>
|
---|
1888 | The target string pre-allocated to store the fixed uri </td></tr>
|
---|
1889 | </table>
|
---|
1890 | </dl> </td>
|
---|
1891 | </tr>
|
---|
1892 | </table>
|
---|
1893 | <a name="z514_1" doxytag="XMLString::hash"></a><p>
|
---|
1894 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1895 | <tr>
|
---|
1896 | <td class="md">
|
---|
1897 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1898 | <tr>
|
---|
1899 | <td class="md" nowrap valign="top"> unsigned int XMLString::hash </td>
|
---|
1900 | <td class="md" valign="top">( </td>
|
---|
1901 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1902 | <td class="mdname" nowrap> <em>toHash</em>, </td>
|
---|
1903 | </tr>
|
---|
1904 | <tr>
|
---|
1905 | <td></td>
|
---|
1906 | <td></td>
|
---|
1907 | <td class="md" nowrap>const unsigned int </td>
|
---|
1908 | <td class="mdname" nowrap> <em>hashModulus</em>, </td>
|
---|
1909 | </tr>
|
---|
1910 | <tr>
|
---|
1911 | <td></td>
|
---|
1912 | <td></td>
|
---|
1913 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
1914 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
1915 | </tr>
|
---|
1916 | <tr>
|
---|
1917 | <td></td>
|
---|
1918 | <td class="md">) </td>
|
---|
1919 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1920 | </tr>
|
---|
1921 |
|
---|
1922 | </table>
|
---|
1923 | </td>
|
---|
1924 | </tr>
|
---|
1925 | </table>
|
---|
1926 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1927 | <tr>
|
---|
1928 | <td>
|
---|
1929 |
|
---|
1930 | </td>
|
---|
1931 | <td>
|
---|
1932 |
|
---|
1933 | <p>
|
---|
1934 | Hashes a string given a modulus.
|
---|
1935 | <p>
|
---|
1936 | <dl compact><dt><b>
|
---|
1937 | Parameters: </b><dd>
|
---|
1938 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1939 | <tr><td valign=top><em>toHash</em> </td><td>
|
---|
1940 | The string to hash </td></tr>
|
---|
1941 | <tr><td valign=top><em>hashModulus</em> </td><td>
|
---|
1942 | The divisor to be used for hashing </td></tr>
|
---|
1943 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
1944 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
1945 | </table>
|
---|
1946 | </dl><dl compact><dt><b>
|
---|
1947 | Returns: </b><dd>
|
---|
1948 | Returns the hash value </dl> </td>
|
---|
1949 | </tr>
|
---|
1950 | </table>
|
---|
1951 | <a name="z514_0" doxytag="XMLString::hash"></a><p>
|
---|
1952 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1953 | <tr>
|
---|
1954 | <td class="md">
|
---|
1955 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1956 | <tr>
|
---|
1957 | <td class="md" nowrap valign="top"> unsigned int XMLString::hash </td>
|
---|
1958 | <td class="md" valign="top">( </td>
|
---|
1959 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
1960 | <td class="mdname" nowrap> <em>toHash</em>, </td>
|
---|
1961 | </tr>
|
---|
1962 | <tr>
|
---|
1963 | <td></td>
|
---|
1964 | <td></td>
|
---|
1965 | <td class="md" nowrap>const unsigned int </td>
|
---|
1966 | <td class="mdname" nowrap> <em>hashModulus</em>, </td>
|
---|
1967 | </tr>
|
---|
1968 | <tr>
|
---|
1969 | <td></td>
|
---|
1970 | <td></td>
|
---|
1971 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
1972 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
1973 | </tr>
|
---|
1974 | <tr>
|
---|
1975 | <td></td>
|
---|
1976 | <td class="md">) </td>
|
---|
1977 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
1978 | </tr>
|
---|
1979 |
|
---|
1980 | </table>
|
---|
1981 | </td>
|
---|
1982 | </tr>
|
---|
1983 | </table>
|
---|
1984 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1985 | <tr>
|
---|
1986 | <td>
|
---|
1987 |
|
---|
1988 | </td>
|
---|
1989 | <td>
|
---|
1990 |
|
---|
1991 | <p>
|
---|
1992 | Hashes a string given a modulus.
|
---|
1993 | <p>
|
---|
1994 | <dl compact><dt><b>
|
---|
1995 | Parameters: </b><dd>
|
---|
1996 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1997 | <tr><td valign=top><em>toHash</em> </td><td>
|
---|
1998 | The string to hash </td></tr>
|
---|
1999 | <tr><td valign=top><em>hashModulus</em> </td><td>
|
---|
2000 | The divisor to be used for hashing </td></tr>
|
---|
2001 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2002 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
2003 | </table>
|
---|
2004 | </dl><dl compact><dt><b>
|
---|
2005 | Returns: </b><dd>
|
---|
2006 | Returns the hash value </dl> </td>
|
---|
2007 | </tr>
|
---|
2008 | </table>
|
---|
2009 | <a name="z514_2" doxytag="XMLString::hashN"></a><p>
|
---|
2010 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2011 | <tr>
|
---|
2012 | <td class="md">
|
---|
2013 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2014 | <tr>
|
---|
2015 | <td class="md" nowrap valign="top"> unsigned int XMLString::hashN </td>
|
---|
2016 | <td class="md" valign="top">( </td>
|
---|
2017 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2018 | <td class="mdname" nowrap> <em>toHash</em>, </td>
|
---|
2019 | </tr>
|
---|
2020 | <tr>
|
---|
2021 | <td></td>
|
---|
2022 | <td></td>
|
---|
2023 | <td class="md" nowrap>const unsigned int </td>
|
---|
2024 | <td class="mdname" nowrap> <em>numChars</em>, </td>
|
---|
2025 | </tr>
|
---|
2026 | <tr>
|
---|
2027 | <td></td>
|
---|
2028 | <td></td>
|
---|
2029 | <td class="md" nowrap>const unsigned int </td>
|
---|
2030 | <td class="mdname" nowrap> <em>hashModulus</em>, </td>
|
---|
2031 | </tr>
|
---|
2032 | <tr>
|
---|
2033 | <td></td>
|
---|
2034 | <td></td>
|
---|
2035 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
2036 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
2037 | </tr>
|
---|
2038 | <tr>
|
---|
2039 | <td></td>
|
---|
2040 | <td class="md">) </td>
|
---|
2041 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2042 | </tr>
|
---|
2043 |
|
---|
2044 | </table>
|
---|
2045 | </td>
|
---|
2046 | </tr>
|
---|
2047 | </table>
|
---|
2048 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2049 | <tr>
|
---|
2050 | <td>
|
---|
2051 |
|
---|
2052 | </td>
|
---|
2053 | <td>
|
---|
2054 |
|
---|
2055 | <p>
|
---|
2056 | Hashes a string given a modulus taking a maximum number of characters as the limit.
|
---|
2057 | <p>
|
---|
2058 | <dl compact><dt><b>
|
---|
2059 | Parameters: </b><dd>
|
---|
2060 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2061 | <tr><td valign=top><em>toHash</em> </td><td>
|
---|
2062 | The string to hash </td></tr>
|
---|
2063 | <tr><td valign=top><em>numChars</em> </td><td>
|
---|
2064 | The maximum number of characters to consider for hashing </td></tr>
|
---|
2065 | <tr><td valign=top><em>hashModulus</em> </td><td>
|
---|
2066 | The divisor to be used for hashing </td></tr>
|
---|
2067 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2068 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
2069 | </table>
|
---|
2070 | </dl><dl compact><dt><b>
|
---|
2071 | Returns: </b><dd>
|
---|
2072 | Returns the hash value </dl> </td>
|
---|
2073 | </tr>
|
---|
2074 | </table>
|
---|
2075 | <a name="z515_3" doxytag="XMLString::indexOf"></a><p>
|
---|
2076 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2077 | <tr>
|
---|
2078 | <td class="md">
|
---|
2079 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2080 | <tr>
|
---|
2081 | <td class="md" nowrap valign="top"> int XMLString::indexOf </td>
|
---|
2082 | <td class="md" valign="top">( </td>
|
---|
2083 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2084 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2085 | </tr>
|
---|
2086 | <tr>
|
---|
2087 | <td></td>
|
---|
2088 | <td></td>
|
---|
2089 | <td class="md" nowrap>const XMLCh </td>
|
---|
2090 | <td class="mdname" nowrap> <em>chToFind</em>, </td>
|
---|
2091 | </tr>
|
---|
2092 | <tr>
|
---|
2093 | <td></td>
|
---|
2094 | <td></td>
|
---|
2095 | <td class="md" nowrap>const unsigned int </td>
|
---|
2096 | <td class="mdname" nowrap> <em>fromIndex</em>, </td>
|
---|
2097 | </tr>
|
---|
2098 | <tr>
|
---|
2099 | <td></td>
|
---|
2100 | <td></td>
|
---|
2101 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
2102 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
2103 | </tr>
|
---|
2104 | <tr>
|
---|
2105 | <td></td>
|
---|
2106 | <td class="md">) </td>
|
---|
2107 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2108 | </tr>
|
---|
2109 |
|
---|
2110 | </table>
|
---|
2111 | </td>
|
---|
2112 | </tr>
|
---|
2113 | </table>
|
---|
2114 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2115 | <tr>
|
---|
2116 | <td>
|
---|
2117 |
|
---|
2118 | </td>
|
---|
2119 | <td>
|
---|
2120 |
|
---|
2121 | <p>
|
---|
2122 | Provides the index of the first occurance of a character within a string starting from a given index.
|
---|
2123 | <p>
|
---|
2124 | <dl compact><dt><b>
|
---|
2125 | Parameters: </b><dd>
|
---|
2126 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2127 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
2128 | The string to search </td></tr>
|
---|
2129 | <tr><td valign=top><em>chToFind</em> </td><td>
|
---|
2130 | The character to search within the string </td></tr>
|
---|
2131 | <tr><td valign=top><em>fromIndex</em> </td><td>
|
---|
2132 | The index to start searching from </td></tr>
|
---|
2133 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2134 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
2135 | </table>
|
---|
2136 | </dl><dl compact><dt><b>
|
---|
2137 | Returns: </b><dd>
|
---|
2138 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
2139 | </tr>
|
---|
2140 | </table>
|
---|
2141 | <a name="z515_2" doxytag="XMLString::indexOf"></a><p>
|
---|
2142 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2143 | <tr>
|
---|
2144 | <td class="md">
|
---|
2145 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2146 | <tr>
|
---|
2147 | <td class="md" nowrap valign="top"> int XMLString::indexOf </td>
|
---|
2148 | <td class="md" valign="top">( </td>
|
---|
2149 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
2150 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2151 | </tr>
|
---|
2152 | <tr>
|
---|
2153 | <td></td>
|
---|
2154 | <td></td>
|
---|
2155 | <td class="md" nowrap>const char </td>
|
---|
2156 | <td class="mdname" nowrap> <em>chToFind</em>, </td>
|
---|
2157 | </tr>
|
---|
2158 | <tr>
|
---|
2159 | <td></td>
|
---|
2160 | <td></td>
|
---|
2161 | <td class="md" nowrap>const unsigned int </td>
|
---|
2162 | <td class="mdname" nowrap> <em>fromIndex</em>, </td>
|
---|
2163 | </tr>
|
---|
2164 | <tr>
|
---|
2165 | <td></td>
|
---|
2166 | <td></td>
|
---|
2167 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
2168 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
2169 | </tr>
|
---|
2170 | <tr>
|
---|
2171 | <td></td>
|
---|
2172 | <td class="md">) </td>
|
---|
2173 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2174 | </tr>
|
---|
2175 |
|
---|
2176 | </table>
|
---|
2177 | </td>
|
---|
2178 | </tr>
|
---|
2179 | </table>
|
---|
2180 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2181 | <tr>
|
---|
2182 | <td>
|
---|
2183 |
|
---|
2184 | </td>
|
---|
2185 | <td>
|
---|
2186 |
|
---|
2187 | <p>
|
---|
2188 | Provides the index of the first occurance of a character within a string starting from a given index.
|
---|
2189 | <p>
|
---|
2190 | <dl compact><dt><b>
|
---|
2191 | Parameters: </b><dd>
|
---|
2192 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2193 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
2194 | The string to search </td></tr>
|
---|
2195 | <tr><td valign=top><em>chToFind</em> </td><td>
|
---|
2196 | The character to search within the string </td></tr>
|
---|
2197 | <tr><td valign=top><em>fromIndex</em> </td><td>
|
---|
2198 | The index to start searching from </td></tr>
|
---|
2199 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2200 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
2201 | </table>
|
---|
2202 | </dl><dl compact><dt><b>
|
---|
2203 | Returns: </b><dd>
|
---|
2204 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
2205 | </tr>
|
---|
2206 | </table>
|
---|
2207 | <a name="z515_1" doxytag="XMLString::indexOf"></a><p>
|
---|
2208 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2209 | <tr>
|
---|
2210 | <td class="md">
|
---|
2211 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2212 | <tr>
|
---|
2213 | <td class="md" nowrap valign="top"> int XMLString::indexOf </td>
|
---|
2214 | <td class="md" valign="top">( </td>
|
---|
2215 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2216 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2217 | </tr>
|
---|
2218 | <tr>
|
---|
2219 | <td></td>
|
---|
2220 | <td></td>
|
---|
2221 | <td class="md" nowrap>const XMLCh </td>
|
---|
2222 | <td class="mdname" nowrap> <em>ch</em></td>
|
---|
2223 | </tr>
|
---|
2224 | <tr>
|
---|
2225 | <td></td>
|
---|
2226 | <td class="md">) </td>
|
---|
2227 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2228 | </tr>
|
---|
2229 |
|
---|
2230 | </table>
|
---|
2231 | </td>
|
---|
2232 | </tr>
|
---|
2233 | </table>
|
---|
2234 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2235 | <tr>
|
---|
2236 | <td>
|
---|
2237 |
|
---|
2238 | </td>
|
---|
2239 | <td>
|
---|
2240 |
|
---|
2241 | <p>
|
---|
2242 | Provides the index of the first occurance of a character within a string.
|
---|
2243 | <p>
|
---|
2244 | <dl compact><dt><b>
|
---|
2245 | Parameters: </b><dd>
|
---|
2246 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2247 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
2248 | The string to search </td></tr>
|
---|
2249 | <tr><td valign=top><em>ch</em> </td><td>
|
---|
2250 | The character to search within the string </td></tr>
|
---|
2251 | </table>
|
---|
2252 | </dl><dl compact><dt><b>
|
---|
2253 | Returns: </b><dd>
|
---|
2254 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
2255 | </tr>
|
---|
2256 | </table>
|
---|
2257 | <a name="z515_0" doxytag="XMLString::indexOf"></a><p>
|
---|
2258 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2259 | <tr>
|
---|
2260 | <td class="md">
|
---|
2261 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2262 | <tr>
|
---|
2263 | <td class="md" nowrap valign="top"> int XMLString::indexOf </td>
|
---|
2264 | <td class="md" valign="top">( </td>
|
---|
2265 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
2266 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2267 | </tr>
|
---|
2268 | <tr>
|
---|
2269 | <td></td>
|
---|
2270 | <td></td>
|
---|
2271 | <td class="md" nowrap>const char </td>
|
---|
2272 | <td class="mdname" nowrap> <em>ch</em></td>
|
---|
2273 | </tr>
|
---|
2274 | <tr>
|
---|
2275 | <td></td>
|
---|
2276 | <td class="md">) </td>
|
---|
2277 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2278 | </tr>
|
---|
2279 |
|
---|
2280 | </table>
|
---|
2281 | </td>
|
---|
2282 | </tr>
|
---|
2283 | </table>
|
---|
2284 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2285 | <tr>
|
---|
2286 | <td>
|
---|
2287 |
|
---|
2288 | </td>
|
---|
2289 | <td>
|
---|
2290 |
|
---|
2291 | <p>
|
---|
2292 | Provides the index of the first occurance of a character within a string.
|
---|
2293 | <p>
|
---|
2294 | <dl compact><dt><b>
|
---|
2295 | Parameters: </b><dd>
|
---|
2296 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2297 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
2298 | The string to search </td></tr>
|
---|
2299 | <tr><td valign=top><em>ch</em> </td><td>
|
---|
2300 | The character to search within the string </td></tr>
|
---|
2301 | </table>
|
---|
2302 | </dl><dl compact><dt><b>
|
---|
2303 | Returns: </b><dd>
|
---|
2304 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
2305 | </tr>
|
---|
2306 | </table>
|
---|
2307 | <a name="z519_19" doxytag="XMLString::isAllWhiteSpace"></a><p>
|
---|
2308 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2309 | <tr>
|
---|
2310 | <td class="md">
|
---|
2311 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2312 | <tr>
|
---|
2313 | <td class="md" nowrap valign="top"> bool XMLString::isAllWhiteSpace </td>
|
---|
2314 | <td class="md" valign="top">( </td>
|
---|
2315 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2316 | <td class="mdname1" valign="top" nowrap> <em>toCheck</em> </td>
|
---|
2317 | <td class="md" valign="top">) </td>
|
---|
2318 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2319 | </tr>
|
---|
2320 |
|
---|
2321 | </table>
|
---|
2322 | </td>
|
---|
2323 | </tr>
|
---|
2324 | </table>
|
---|
2325 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2326 | <tr>
|
---|
2327 | <td>
|
---|
2328 |
|
---|
2329 | </td>
|
---|
2330 | <td>
|
---|
2331 |
|
---|
2332 | <p>
|
---|
2333 | Deprecated: please use XMLChar1_0::isAllWhiteSpace.
|
---|
2334 | <p>
|
---|
2335 | Checks whether aa string contains only whitespace according to XML 1.0 <dl compact><dt><b>
|
---|
2336 | Parameters: </b><dd>
|
---|
2337 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2338 | <tr><td valign=top><em>toCheck</em> </td><td>
|
---|
2339 | the string to check </td></tr>
|
---|
2340 | </table>
|
---|
2341 | </dl><dl compact><dt><b>
|
---|
2342 | Returns: </b><dd>
|
---|
2343 | Returns true if it is, otherwise false </dl> </td>
|
---|
2344 | </tr>
|
---|
2345 | </table>
|
---|
2346 | <a name="z519_15" doxytag="XMLString::isAlpha"></a><p>
|
---|
2347 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2348 | <tr>
|
---|
2349 | <td class="md">
|
---|
2350 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2351 | <tr>
|
---|
2352 | <td class="md" nowrap valign="top"> bool XMLString::isAlpha </td>
|
---|
2353 | <td class="md" valign="top">( </td>
|
---|
2354 | <td class="md" nowrap valign="top">XMLCh const </td>
|
---|
2355 | <td class="mdname1" valign="top" nowrap> <em>theChar</em> </td>
|
---|
2356 | <td class="md" valign="top">) </td>
|
---|
2357 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2358 | </tr>
|
---|
2359 |
|
---|
2360 | </table>
|
---|
2361 | </td>
|
---|
2362 | </tr>
|
---|
2363 | </table>
|
---|
2364 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2365 | <tr>
|
---|
2366 | <td>
|
---|
2367 |
|
---|
2368 | </td>
|
---|
2369 | <td>
|
---|
2370 |
|
---|
2371 | <p>
|
---|
2372 | Checks whether a character is within [a-zA-Z].
|
---|
2373 | <p>
|
---|
2374 | <dl compact><dt><b>
|
---|
2375 | Parameters: </b><dd>
|
---|
2376 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2377 | <tr><td valign=top><em>theChar</em> </td><td>
|
---|
2378 | the character to check </td></tr>
|
---|
2379 | </table>
|
---|
2380 | </dl><dl compact><dt><b>
|
---|
2381 | Returns: </b><dd>
|
---|
2382 | Returns true if within the range, otherwise false </dl> </td>
|
---|
2383 | </tr>
|
---|
2384 | </table>
|
---|
2385 | <a name="z519_17" doxytag="XMLString::isAlphaNum"></a><p>
|
---|
2386 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2387 | <tr>
|
---|
2388 | <td class="md">
|
---|
2389 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2390 | <tr>
|
---|
2391 | <td class="md" nowrap valign="top"> bool XMLString::isAlphaNum </td>
|
---|
2392 | <td class="md" valign="top">( </td>
|
---|
2393 | <td class="md" nowrap valign="top">XMLCh const </td>
|
---|
2394 | <td class="mdname1" valign="top" nowrap> <em>theChar</em> </td>
|
---|
2395 | <td class="md" valign="top">) </td>
|
---|
2396 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2397 | </tr>
|
---|
2398 |
|
---|
2399 | </table>
|
---|
2400 | </td>
|
---|
2401 | </tr>
|
---|
2402 | </table>
|
---|
2403 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2404 | <tr>
|
---|
2405 | <td>
|
---|
2406 |
|
---|
2407 | </td>
|
---|
2408 | <td>
|
---|
2409 |
|
---|
2410 | <p>
|
---|
2411 | Checks whether a character is within [0-9a-zA-Z].
|
---|
2412 | <p>
|
---|
2413 | <dl compact><dt><b>
|
---|
2414 | Parameters: </b><dd>
|
---|
2415 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2416 | <tr><td valign=top><em>theChar</em> </td><td>
|
---|
2417 | the character to check </td></tr>
|
---|
2418 | </table>
|
---|
2419 | </dl><dl compact><dt><b>
|
---|
2420 | Returns: </b><dd>
|
---|
2421 | Returns true if within the range, otherwise false </dl> </td>
|
---|
2422 | </tr>
|
---|
2423 | </table>
|
---|
2424 | <a name="z519_16" doxytag="XMLString::isDigit"></a><p>
|
---|
2425 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2426 | <tr>
|
---|
2427 | <td class="md">
|
---|
2428 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2429 | <tr>
|
---|
2430 | <td class="md" nowrap valign="top"> bool XMLString::isDigit </td>
|
---|
2431 | <td class="md" valign="top">( </td>
|
---|
2432 | <td class="md" nowrap valign="top">XMLCh const </td>
|
---|
2433 | <td class="mdname1" valign="top" nowrap> <em>theChar</em> </td>
|
---|
2434 | <td class="md" valign="top">) </td>
|
---|
2435 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2436 | </tr>
|
---|
2437 |
|
---|
2438 | </table>
|
---|
2439 | </td>
|
---|
2440 | </tr>
|
---|
2441 | </table>
|
---|
2442 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2443 | <tr>
|
---|
2444 | <td>
|
---|
2445 |
|
---|
2446 | </td>
|
---|
2447 | <td>
|
---|
2448 |
|
---|
2449 | <p>
|
---|
2450 | Checks whether a character is within [0-9].
|
---|
2451 | <p>
|
---|
2452 | <dl compact><dt><b>
|
---|
2453 | Parameters: </b><dd>
|
---|
2454 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2455 | <tr><td valign=top><em>theChar</em> </td><td>
|
---|
2456 | the character to check </td></tr>
|
---|
2457 | </table>
|
---|
2458 | </dl><dl compact><dt><b>
|
---|
2459 | Returns: </b><dd>
|
---|
2460 | Returns true if within the range, otherwise false </dl> </td>
|
---|
2461 | </tr>
|
---|
2462 | </table>
|
---|
2463 | <a name="z519_18" doxytag="XMLString::isHex"></a><p>
|
---|
2464 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2465 | <tr>
|
---|
2466 | <td class="md">
|
---|
2467 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2468 | <tr>
|
---|
2469 | <td class="md" nowrap valign="top"> bool XMLString::isHex </td>
|
---|
2470 | <td class="md" valign="top">( </td>
|
---|
2471 | <td class="md" nowrap valign="top">XMLCh const </td>
|
---|
2472 | <td class="mdname1" valign="top" nowrap> <em>theChar</em> </td>
|
---|
2473 | <td class="md" valign="top">) </td>
|
---|
2474 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2475 | </tr>
|
---|
2476 |
|
---|
2477 | </table>
|
---|
2478 | </td>
|
---|
2479 | </tr>
|
---|
2480 | </table>
|
---|
2481 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2482 | <tr>
|
---|
2483 | <td>
|
---|
2484 |
|
---|
2485 | </td>
|
---|
2486 | <td>
|
---|
2487 |
|
---|
2488 | <p>
|
---|
2489 | Checks whether a character is within [0-9a-fA-F].
|
---|
2490 | <p>
|
---|
2491 | <dl compact><dt><b>
|
---|
2492 | Parameters: </b><dd>
|
---|
2493 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2494 | <tr><td valign=top><em>theChar</em> </td><td>
|
---|
2495 | the character to check </td></tr>
|
---|
2496 | </table>
|
---|
2497 | </dl><dl compact><dt><b>
|
---|
2498 | Returns: </b><dd>
|
---|
2499 | Returns true if within the range, otherwise false </dl> </td>
|
---|
2500 | </tr>
|
---|
2501 | </table>
|
---|
2502 | <a name="z519_20" doxytag="XMLString::isInList"></a><p>
|
---|
2503 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2504 | <tr>
|
---|
2505 | <td class="md">
|
---|
2506 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2507 | <tr>
|
---|
2508 | <td class="md" nowrap valign="top"> bool XMLString::isInList </td>
|
---|
2509 | <td class="md" valign="top">( </td>
|
---|
2510 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2511 | <td class="mdname" nowrap> <em>toFind</em>, </td>
|
---|
2512 | </tr>
|
---|
2513 | <tr>
|
---|
2514 | <td></td>
|
---|
2515 | <td></td>
|
---|
2516 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
2517 | <td class="mdname" nowrap> <em>enumList</em></td>
|
---|
2518 | </tr>
|
---|
2519 | <tr>
|
---|
2520 | <td></td>
|
---|
2521 | <td class="md">) </td>
|
---|
2522 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2523 | </tr>
|
---|
2524 |
|
---|
2525 | </table>
|
---|
2526 | </td>
|
---|
2527 | </tr>
|
---|
2528 | </table>
|
---|
2529 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2530 | <tr>
|
---|
2531 | <td>
|
---|
2532 |
|
---|
2533 | </td>
|
---|
2534 | <td>
|
---|
2535 |
|
---|
2536 | <p>
|
---|
2537 | Find is the string appears in the enum list.
|
---|
2538 | <p>
|
---|
2539 | <dl compact><dt><b>
|
---|
2540 | Parameters: </b><dd>
|
---|
2541 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2542 | <tr><td valign=top><em>toFind</em> </td><td>
|
---|
2543 | the string to be found </td></tr>
|
---|
2544 | <tr><td valign=top><em>enumList</em> </td><td>
|
---|
2545 | the list return true if found </td></tr>
|
---|
2546 | </table>
|
---|
2547 | </dl> </td>
|
---|
2548 | </tr>
|
---|
2549 | </table>
|
---|
2550 | <a name="z519_13" doxytag="XMLString::isValidEncName"></a><p>
|
---|
2551 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2552 | <tr>
|
---|
2553 | <td class="md">
|
---|
2554 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2555 | <tr>
|
---|
2556 | <td class="md" nowrap valign="top"> bool XMLString::isValidEncName </td>
|
---|
2557 | <td class="md" valign="top">( </td>
|
---|
2558 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2559 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
---|
2560 | <td class="md" valign="top">) </td>
|
---|
2561 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2562 | </tr>
|
---|
2563 |
|
---|
2564 | </table>
|
---|
2565 | </td>
|
---|
2566 | </tr>
|
---|
2567 | </table>
|
---|
2568 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2569 | <tr>
|
---|
2570 | <td>
|
---|
2571 |
|
---|
2572 | </td>
|
---|
2573 | <td>
|
---|
2574 |
|
---|
2575 | <p>
|
---|
2576 | Checks whether an name is a valid EncName.
|
---|
2577 | <p>
|
---|
2578 | <dl compact><dt><b>
|
---|
2579 | Parameters: </b><dd>
|
---|
2580 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2581 | <tr><td valign=top><em>name</em> </td><td>
|
---|
2582 | The string to check its EncName validity </td></tr>
|
---|
2583 | </table>
|
---|
2584 | </dl><dl compact><dt><b>
|
---|
2585 | Returns: </b><dd>
|
---|
2586 | Returns true if name is EncName valid, otherwise false </dl> </td>
|
---|
2587 | </tr>
|
---|
2588 | </table>
|
---|
2589 | <a name="z519_12" doxytag="XMLString::isValidName"></a><p>
|
---|
2590 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2591 | <tr>
|
---|
2592 | <td class="md">
|
---|
2593 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2594 | <tr>
|
---|
2595 | <td class="md" nowrap valign="top"> bool XMLString::isValidName </td>
|
---|
2596 | <td class="md" valign="top">( </td>
|
---|
2597 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2598 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
---|
2599 | <td class="md" valign="top">) </td>
|
---|
2600 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2601 | </tr>
|
---|
2602 |
|
---|
2603 | </table>
|
---|
2604 | </td>
|
---|
2605 | </tr>
|
---|
2606 | </table>
|
---|
2607 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2608 | <tr>
|
---|
2609 | <td>
|
---|
2610 |
|
---|
2611 | </td>
|
---|
2612 | <td>
|
---|
2613 |
|
---|
2614 | <p>
|
---|
2615 | Deprecated: please use <a class="el" href="classXMLChar1__0.html#d3">XMLChar1_0::isValidName</a>.
|
---|
2616 | <p>
|
---|
2617 | Checks whether an name is a valid Name according to XML 1.0 <dl compact><dt><b>
|
---|
2618 | Parameters: </b><dd>
|
---|
2619 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2620 | <tr><td valign=top><em>name</em> </td><td>
|
---|
2621 | The string to check its Name validity </td></tr>
|
---|
2622 | </table>
|
---|
2623 | </dl><dl compact><dt><b>
|
---|
2624 | Returns: </b><dd>
|
---|
2625 | Returns true if name is Name valid, otherwise false </dl> </td>
|
---|
2626 | </tr>
|
---|
2627 | </table>
|
---|
2628 | <a name="z519_11" doxytag="XMLString::isValidNCName"></a><p>
|
---|
2629 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2630 | <tr>
|
---|
2631 | <td class="md">
|
---|
2632 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2633 | <tr>
|
---|
2634 | <td class="md" nowrap valign="top"> bool XMLString::isValidNCName </td>
|
---|
2635 | <td class="md" valign="top">( </td>
|
---|
2636 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2637 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
---|
2638 | <td class="md" valign="top">) </td>
|
---|
2639 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2640 | </tr>
|
---|
2641 |
|
---|
2642 | </table>
|
---|
2643 | </td>
|
---|
2644 | </tr>
|
---|
2645 | </table>
|
---|
2646 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2647 | <tr>
|
---|
2648 | <td>
|
---|
2649 |
|
---|
2650 | </td>
|
---|
2651 | <td>
|
---|
2652 |
|
---|
2653 | <p>
|
---|
2654 | Deprecated: please use <a class="el" href="classXMLChar1__0.html#d4">XMLChar1_0::isValidNCName</a>.
|
---|
2655 | <p>
|
---|
2656 | Checks whether an name is a valid NCName according to XML 1.0 <dl compact><dt><b>
|
---|
2657 | Parameters: </b><dd>
|
---|
2658 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2659 | <tr><td valign=top><em>name</em> </td><td>
|
---|
2660 | The string to check its NCName validity </td></tr>
|
---|
2661 | </table>
|
---|
2662 | </dl><dl compact><dt><b>
|
---|
2663 | Returns: </b><dd>
|
---|
2664 | Returns true if name is NCName valid, otherwise false </dl> </td>
|
---|
2665 | </tr>
|
---|
2666 | </table>
|
---|
2667 | <a name="z519_10" doxytag="XMLString::isValidNOTATION"></a><p>
|
---|
2668 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2669 | <tr>
|
---|
2670 | <td class="md">
|
---|
2671 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2672 | <tr>
|
---|
2673 | <td class="md" nowrap valign="top"> bool XMLString::isValidNOTATION </td>
|
---|
2674 | <td class="md" valign="top">( </td>
|
---|
2675 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2676 | <td class="mdname" nowrap> <em>name</em>, </td>
|
---|
2677 | </tr>
|
---|
2678 | <tr>
|
---|
2679 | <td></td>
|
---|
2680 | <td></td>
|
---|
2681 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
2682 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
2683 | </tr>
|
---|
2684 | <tr>
|
---|
2685 | <td></td>
|
---|
2686 | <td class="md">) </td>
|
---|
2687 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2688 | </tr>
|
---|
2689 |
|
---|
2690 | </table>
|
---|
2691 | </td>
|
---|
2692 | </tr>
|
---|
2693 | </table>
|
---|
2694 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2695 | <tr>
|
---|
2696 | <td>
|
---|
2697 |
|
---|
2698 | </td>
|
---|
2699 | <td>
|
---|
2700 |
|
---|
2701 | <p>
|
---|
2702 | Checks whether an name is a valid NOTATION according to XML 1.0.
|
---|
2703 | <p>
|
---|
2704 | <dl compact><dt><b>
|
---|
2705 | Parameters: </b><dd>
|
---|
2706 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2707 | <tr><td valign=top><em>name</em> </td><td>
|
---|
2708 | The string to check its NOTATION validity </td></tr>
|
---|
2709 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2710 | The memory manager </td></tr>
|
---|
2711 | </table>
|
---|
2712 | </dl><dl compact><dt><b>
|
---|
2713 | Returns: </b><dd>
|
---|
2714 | Returns true if name is NOTATION valid, otherwise false </dl> </td>
|
---|
2715 | </tr>
|
---|
2716 | </table>
|
---|
2717 | <a name="z519_14" doxytag="XMLString::isValidQName"></a><p>
|
---|
2718 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2719 | <tr>
|
---|
2720 | <td class="md">
|
---|
2721 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2722 | <tr>
|
---|
2723 | <td class="md" nowrap valign="top"> bool XMLString::isValidQName </td>
|
---|
2724 | <td class="md" valign="top">( </td>
|
---|
2725 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2726 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
---|
2727 | <td class="md" valign="top">) </td>
|
---|
2728 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2729 | </tr>
|
---|
2730 |
|
---|
2731 | </table>
|
---|
2732 | </td>
|
---|
2733 | </tr>
|
---|
2734 | </table>
|
---|
2735 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2736 | <tr>
|
---|
2737 | <td>
|
---|
2738 |
|
---|
2739 | </td>
|
---|
2740 | <td>
|
---|
2741 |
|
---|
2742 | <p>
|
---|
2743 | Deprecated: please use <a class="el" href="classXMLChar1__0.html#d5">XMLChar1_0::isValidQName</a>.
|
---|
2744 | <p>
|
---|
2745 | Checks whether an name is a valid <a class="el" href="classQName.html">QName</a> according to XML 1.0 <dl compact><dt><b>
|
---|
2746 | Parameters: </b><dd>
|
---|
2747 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2748 | <tr><td valign=top><em>name</em> </td><td>
|
---|
2749 | The string to check its <a class="el" href="classQName.html">QName</a> validity </td></tr>
|
---|
2750 | </table>
|
---|
2751 | </dl><dl compact><dt><b>
|
---|
2752 | Returns: </b><dd>
|
---|
2753 | Returns true if name is <a class="el" href="classQName.html">QName</a> valid, otherwise false </dl> </td>
|
---|
2754 | </tr>
|
---|
2755 | </table>
|
---|
2756 | <a name="z521_5" doxytag="XMLString::isWSCollapsed"></a><p>
|
---|
2757 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2758 | <tr>
|
---|
2759 | <td class="md">
|
---|
2760 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2761 | <tr>
|
---|
2762 | <td class="md" nowrap valign="top"> bool XMLString::isWSCollapsed </td>
|
---|
2763 | <td class="md" valign="top">( </td>
|
---|
2764 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2765 | <td class="mdname1" valign="top" nowrap> <em>toCheck</em> </td>
|
---|
2766 | <td class="md" valign="top">) </td>
|
---|
2767 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2768 | </tr>
|
---|
2769 |
|
---|
2770 | </table>
|
---|
2771 | </td>
|
---|
2772 | </tr>
|
---|
2773 | </table>
|
---|
2774 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2775 | <tr>
|
---|
2776 | <td>
|
---|
2777 |
|
---|
2778 | </td>
|
---|
2779 | <td>
|
---|
2780 |
|
---|
2781 | <p>
|
---|
2782 | Check if string is WhiteSpace:collapse.
|
---|
2783 | <p>
|
---|
2784 | <dl compact><dt><b>
|
---|
2785 | Parameters: </b><dd>
|
---|
2786 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2787 | <tr><td valign=top><em>toCheck</em> </td><td>
|
---|
2788 | The string which needs to be checked. </td></tr>
|
---|
2789 | </table>
|
---|
2790 | </dl> </td>
|
---|
2791 | </tr>
|
---|
2792 | </table>
|
---|
2793 | <a name="z521_4" doxytag="XMLString::isWSReplaced"></a><p>
|
---|
2794 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2795 | <tr>
|
---|
2796 | <td class="md">
|
---|
2797 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2798 | <tr>
|
---|
2799 | <td class="md" nowrap valign="top"> bool XMLString::isWSReplaced </td>
|
---|
2800 | <td class="md" valign="top">( </td>
|
---|
2801 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2802 | <td class="mdname1" valign="top" nowrap> <em>toCheck</em> </td>
|
---|
2803 | <td class="md" valign="top">) </td>
|
---|
2804 | <td class="md" nowrap><code> [static]</code></td>
|
---|
2805 | </tr>
|
---|
2806 |
|
---|
2807 | </table>
|
---|
2808 | </td>
|
---|
2809 | </tr>
|
---|
2810 | </table>
|
---|
2811 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2812 | <tr>
|
---|
2813 | <td>
|
---|
2814 |
|
---|
2815 | </td>
|
---|
2816 | <td>
|
---|
2817 |
|
---|
2818 | <p>
|
---|
2819 | Check if string is WhiteSpace:replace.
|
---|
2820 | <p>
|
---|
2821 | <dl compact><dt><b>
|
---|
2822 | Parameters: </b><dd>
|
---|
2823 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2824 | <tr><td valign=top><em>toCheck</em> </td><td>
|
---|
2825 | The string which needs to be checked. </td></tr>
|
---|
2826 | </table>
|
---|
2827 | </dl> </td>
|
---|
2828 | </tr>
|
---|
2829 | </table>
|
---|
2830 | <a name="z515_8" doxytag="XMLString::lastIndexOf"></a><p>
|
---|
2831 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2832 | <tr>
|
---|
2833 | <td class="md">
|
---|
2834 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2835 | <tr>
|
---|
2836 | <td class="md" nowrap valign="top"> int XMLString::lastIndexOf </td>
|
---|
2837 | <td class="md" valign="top">( </td>
|
---|
2838 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
2839 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2840 | </tr>
|
---|
2841 | <tr>
|
---|
2842 | <td></td>
|
---|
2843 | <td></td>
|
---|
2844 | <td class="md" nowrap>const XMLCh </td>
|
---|
2845 | <td class="mdname" nowrap> <em>ch</em>, </td>
|
---|
2846 | </tr>
|
---|
2847 | <tr>
|
---|
2848 | <td></td>
|
---|
2849 | <td></td>
|
---|
2850 | <td class="md" nowrap>const unsigned int </td>
|
---|
2851 | <td class="mdname" nowrap> <em>fromIndex</em>, </td>
|
---|
2852 | </tr>
|
---|
2853 | <tr>
|
---|
2854 | <td></td>
|
---|
2855 | <td></td>
|
---|
2856 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
2857 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
2858 | </tr>
|
---|
2859 | <tr>
|
---|
2860 | <td></td>
|
---|
2861 | <td class="md">) </td>
|
---|
2862 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2863 | </tr>
|
---|
2864 |
|
---|
2865 | </table>
|
---|
2866 | </td>
|
---|
2867 | </tr>
|
---|
2868 | </table>
|
---|
2869 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2870 | <tr>
|
---|
2871 | <td>
|
---|
2872 |
|
---|
2873 | </td>
|
---|
2874 | <td>
|
---|
2875 |
|
---|
2876 | <p>
|
---|
2877 | Provides the index of the last occurance of a character within a string starting backward from a given index.
|
---|
2878 | <p>
|
---|
2879 | <dl compact><dt><b>
|
---|
2880 | Parameters: </b><dd>
|
---|
2881 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2882 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
2883 | The string to search </td></tr>
|
---|
2884 | <tr><td valign=top><em>ch</em> </td><td>
|
---|
2885 | The character to search within the string </td></tr>
|
---|
2886 | <tr><td valign=top><em>fromIndex</em> </td><td>
|
---|
2887 | The index to start backward search from </td></tr>
|
---|
2888 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2889 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
2890 | </table>
|
---|
2891 | </dl><dl compact><dt><b>
|
---|
2892 | Returns: </b><dd>
|
---|
2893 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
2894 | </tr>
|
---|
2895 | </table>
|
---|
2896 | <a name="z515_7" doxytag="XMLString::lastIndexOf"></a><p>
|
---|
2897 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2898 | <tr>
|
---|
2899 | <td class="md">
|
---|
2900 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2901 | <tr>
|
---|
2902 | <td class="md" nowrap valign="top"> int XMLString::lastIndexOf </td>
|
---|
2903 | <td class="md" valign="top">( </td>
|
---|
2904 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
2905 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2906 | </tr>
|
---|
2907 | <tr>
|
---|
2908 | <td></td>
|
---|
2909 | <td></td>
|
---|
2910 | <td class="md" nowrap>const char </td>
|
---|
2911 | <td class="mdname" nowrap> <em>chToFind</em>, </td>
|
---|
2912 | </tr>
|
---|
2913 | <tr>
|
---|
2914 | <td></td>
|
---|
2915 | <td></td>
|
---|
2916 | <td class="md" nowrap>const unsigned int </td>
|
---|
2917 | <td class="mdname" nowrap> <em>fromIndex</em>, </td>
|
---|
2918 | </tr>
|
---|
2919 | <tr>
|
---|
2920 | <td></td>
|
---|
2921 | <td></td>
|
---|
2922 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
2923 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
2924 | </tr>
|
---|
2925 | <tr>
|
---|
2926 | <td></td>
|
---|
2927 | <td class="md">) </td>
|
---|
2928 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2929 | </tr>
|
---|
2930 |
|
---|
2931 | </table>
|
---|
2932 | </td>
|
---|
2933 | </tr>
|
---|
2934 | </table>
|
---|
2935 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2936 | <tr>
|
---|
2937 | <td>
|
---|
2938 |
|
---|
2939 | </td>
|
---|
2940 | <td>
|
---|
2941 |
|
---|
2942 | <p>
|
---|
2943 | Provides the index of the last occurance of a character within a string starting backward from a given index.
|
---|
2944 | <p>
|
---|
2945 | <dl compact><dt><b>
|
---|
2946 | Parameters: </b><dd>
|
---|
2947 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
2948 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
2949 | The string to search </td></tr>
|
---|
2950 | <tr><td valign=top><em>chToFind</em> </td><td>
|
---|
2951 | The character to search within the string </td></tr>
|
---|
2952 | <tr><td valign=top><em>fromIndex</em> </td><td>
|
---|
2953 | The index to start backward search from </td></tr>
|
---|
2954 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
2955 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
2956 | </table>
|
---|
2957 | </dl><dl compact><dt><b>
|
---|
2958 | Returns: </b><dd>
|
---|
2959 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
2960 | </tr>
|
---|
2961 | </table>
|
---|
2962 | <a name="z515_6" doxytag="XMLString::lastIndexOf"></a><p>
|
---|
2963 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
2964 | <tr>
|
---|
2965 | <td class="md">
|
---|
2966 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
2967 | <tr>
|
---|
2968 | <td class="md" nowrap valign="top"> int XMLString::lastIndexOf </td>
|
---|
2969 | <td class="md" valign="top">( </td>
|
---|
2970 | <td class="md" nowrap valign="top">const XMLCh </td>
|
---|
2971 | <td class="mdname" nowrap> <em>ch</em>, </td>
|
---|
2972 | </tr>
|
---|
2973 | <tr>
|
---|
2974 | <td></td>
|
---|
2975 | <td></td>
|
---|
2976 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
2977 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
2978 | </tr>
|
---|
2979 | <tr>
|
---|
2980 | <td></td>
|
---|
2981 | <td></td>
|
---|
2982 | <td class="md" nowrap>const unsigned int </td>
|
---|
2983 | <td class="mdname" nowrap> <em>toSearchLen</em></td>
|
---|
2984 | </tr>
|
---|
2985 | <tr>
|
---|
2986 | <td></td>
|
---|
2987 | <td class="md">) </td>
|
---|
2988 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
2989 | </tr>
|
---|
2990 |
|
---|
2991 | </table>
|
---|
2992 | </td>
|
---|
2993 | </tr>
|
---|
2994 | </table>
|
---|
2995 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
2996 | <tr>
|
---|
2997 | <td>
|
---|
2998 |
|
---|
2999 | </td>
|
---|
3000 | <td>
|
---|
3001 |
|
---|
3002 | <p>
|
---|
3003 | Provides the index of the last occurance of a character within a string.
|
---|
3004 | <p>
|
---|
3005 | <dl compact><dt><b>
|
---|
3006 | Parameters: </b><dd>
|
---|
3007 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3008 | <tr><td valign=top><em>ch</em> </td><td>
|
---|
3009 | The character to search within the string </td></tr>
|
---|
3010 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
3011 | The string to search </td></tr>
|
---|
3012 | <tr><td valign=top><em>toSearchLen</em> </td><td>
|
---|
3013 | The length of the string to search </td></tr>
|
---|
3014 | </table>
|
---|
3015 | </dl><dl compact><dt><b>
|
---|
3016 | Returns: </b><dd>
|
---|
3017 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
3018 | </tr>
|
---|
3019 | </table>
|
---|
3020 | <a name="z515_5" doxytag="XMLString::lastIndexOf"></a><p>
|
---|
3021 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3022 | <tr>
|
---|
3023 | <td class="md">
|
---|
3024 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3025 | <tr>
|
---|
3026 | <td class="md" nowrap valign="top"> int XMLString::lastIndexOf </td>
|
---|
3027 | <td class="md" valign="top">( </td>
|
---|
3028 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3029 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
3030 | </tr>
|
---|
3031 | <tr>
|
---|
3032 | <td></td>
|
---|
3033 | <td></td>
|
---|
3034 | <td class="md" nowrap>const XMLCh </td>
|
---|
3035 | <td class="mdname" nowrap> <em>ch</em></td>
|
---|
3036 | </tr>
|
---|
3037 | <tr>
|
---|
3038 | <td></td>
|
---|
3039 | <td class="md">) </td>
|
---|
3040 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3041 | </tr>
|
---|
3042 |
|
---|
3043 | </table>
|
---|
3044 | </td>
|
---|
3045 | </tr>
|
---|
3046 | </table>
|
---|
3047 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3048 | <tr>
|
---|
3049 | <td>
|
---|
3050 |
|
---|
3051 | </td>
|
---|
3052 | <td>
|
---|
3053 |
|
---|
3054 | <p>
|
---|
3055 | Provides the index of the last occurance of a character within a string.
|
---|
3056 | <p>
|
---|
3057 | <dl compact><dt><b>
|
---|
3058 | Parameters: </b><dd>
|
---|
3059 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3060 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
3061 | The string to search </td></tr>
|
---|
3062 | <tr><td valign=top><em>ch</em> </td><td>
|
---|
3063 | The character to search within the string </td></tr>
|
---|
3064 | </table>
|
---|
3065 | </dl><dl compact><dt><b>
|
---|
3066 | Returns: </b><dd>
|
---|
3067 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
3068 | </tr>
|
---|
3069 | </table>
|
---|
3070 | <a name="z515_4" doxytag="XMLString::lastIndexOf"></a><p>
|
---|
3071 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3072 | <tr>
|
---|
3073 | <td class="md">
|
---|
3074 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3075 | <tr>
|
---|
3076 | <td class="md" nowrap valign="top"> int XMLString::lastIndexOf </td>
|
---|
3077 | <td class="md" valign="top">( </td>
|
---|
3078 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
3079 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
3080 | </tr>
|
---|
3081 | <tr>
|
---|
3082 | <td></td>
|
---|
3083 | <td></td>
|
---|
3084 | <td class="md" nowrap>const char </td>
|
---|
3085 | <td class="mdname" nowrap> <em>ch</em></td>
|
---|
3086 | </tr>
|
---|
3087 | <tr>
|
---|
3088 | <td></td>
|
---|
3089 | <td class="md">) </td>
|
---|
3090 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3091 | </tr>
|
---|
3092 |
|
---|
3093 | </table>
|
---|
3094 | </td>
|
---|
3095 | </tr>
|
---|
3096 | </table>
|
---|
3097 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3098 | <tr>
|
---|
3099 | <td>
|
---|
3100 |
|
---|
3101 | </td>
|
---|
3102 | <td>
|
---|
3103 |
|
---|
3104 | <p>
|
---|
3105 | Provides the index of the last occurance of a character within a string.
|
---|
3106 | <p>
|
---|
3107 | <dl compact><dt><b>
|
---|
3108 | Parameters: </b><dd>
|
---|
3109 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3110 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
3111 | The string to search </td></tr>
|
---|
3112 | <tr><td valign=top><em>ch</em> </td><td>
|
---|
3113 | The character to search within the string </td></tr>
|
---|
3114 | </table>
|
---|
3115 | </dl><dl compact><dt><b>
|
---|
3116 | Returns: </b><dd>
|
---|
3117 | If found, returns the index of the character within the string, else returns -1. </dl> </td>
|
---|
3118 | </tr>
|
---|
3119 | </table>
|
---|
3120 | <a name="z521_3" doxytag="XMLString::lowerCase"></a><p>
|
---|
3121 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3122 | <tr>
|
---|
3123 | <td class="md">
|
---|
3124 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3125 | <tr>
|
---|
3126 | <td class="md" nowrap valign="top"> void XMLString::lowerCase </td>
|
---|
3127 | <td class="md" valign="top">( </td>
|
---|
3128 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
3129 | <td class="mdname1" valign="top" nowrap> <em>toLowerCase</em> </td>
|
---|
3130 | <td class="md" valign="top">) </td>
|
---|
3131 | <td class="md" nowrap><code> [static]</code></td>
|
---|
3132 | </tr>
|
---|
3133 |
|
---|
3134 | </table>
|
---|
3135 | </td>
|
---|
3136 | </tr>
|
---|
3137 | </table>
|
---|
3138 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3139 | <tr>
|
---|
3140 | <td>
|
---|
3141 |
|
---|
3142 | </td>
|
---|
3143 | <td>
|
---|
3144 |
|
---|
3145 | <p>
|
---|
3146 | Converts a string to lowercase.
|
---|
3147 | <p>
|
---|
3148 | <dl compact><dt><b>
|
---|
3149 | Parameters: </b><dd>
|
---|
3150 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3151 | <tr><td valign=top><em>toLowerCase</em> </td><td>
|
---|
3152 | The string which needs to be converted to lowercase. On return, this buffer also holds the converted lowercase string </td></tr>
|
---|
3153 | </table>
|
---|
3154 | </dl> </td>
|
---|
3155 | </tr>
|
---|
3156 | </table>
|
---|
3157 | <a name="z521_0" doxytag="XMLString::makeUName"></a><p>
|
---|
3158 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3159 | <tr>
|
---|
3160 | <td class="md">
|
---|
3161 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3162 | <tr>
|
---|
3163 | <td class="md" nowrap valign="top"> XMLCh* XMLString::makeUName </td>
|
---|
3164 | <td class="md" valign="top">( </td>
|
---|
3165 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3166 | <td class="mdname" nowrap> <em>pszURI</em>, </td>
|
---|
3167 | </tr>
|
---|
3168 | <tr>
|
---|
3169 | <td></td>
|
---|
3170 | <td></td>
|
---|
3171 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3172 | <td class="mdname" nowrap> <em>pszName</em></td>
|
---|
3173 | </tr>
|
---|
3174 | <tr>
|
---|
3175 | <td></td>
|
---|
3176 | <td class="md">) </td>
|
---|
3177 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3178 | </tr>
|
---|
3179 |
|
---|
3180 | </table>
|
---|
3181 | </td>
|
---|
3182 | </tr>
|
---|
3183 | </table>
|
---|
3184 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3185 | <tr>
|
---|
3186 | <td>
|
---|
3187 |
|
---|
3188 | </td>
|
---|
3189 | <td>
|
---|
3190 |
|
---|
3191 | <p>
|
---|
3192 | Creates a UName from a URI and base name.
|
---|
3193 | <p>
|
---|
3194 | It is in the form {url}name, and is commonly used internally to represent fully qualified names when namespaces are enabled.<dl compact><dt><b>
|
---|
3195 | Parameters: </b><dd>
|
---|
3196 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3197 | <tr><td valign=top><em>pszURI</em> </td><td>
|
---|
3198 | The URI part of the name </td></tr>
|
---|
3199 | <tr><td valign=top><em>pszName</em> </td><td>
|
---|
3200 | The base part of the name </td></tr>
|
---|
3201 | </table>
|
---|
3202 | </dl><dl compact><dt><b>
|
---|
3203 | Returns: </b><dd>
|
---|
3204 | Returns the complete formatted UName </dl> </td>
|
---|
3205 | </tr>
|
---|
3206 | </table>
|
---|
3207 | <a name="z516_0" doxytag="XMLString::moveChars"></a><p>
|
---|
3208 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3209 | <tr>
|
---|
3210 | <td class="md">
|
---|
3211 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3212 | <tr>
|
---|
3213 | <td class="md" nowrap valign="top"> void XMLString::moveChars </td>
|
---|
3214 | <td class="md" valign="top">( </td>
|
---|
3215 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
3216 | <td class="mdname" nowrap> <em>targetStr</em>, </td>
|
---|
3217 | </tr>
|
---|
3218 | <tr>
|
---|
3219 | <td></td>
|
---|
3220 | <td></td>
|
---|
3221 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3222 | <td class="mdname" nowrap> <em>srcStr</em>, </td>
|
---|
3223 | </tr>
|
---|
3224 | <tr>
|
---|
3225 | <td></td>
|
---|
3226 | <td></td>
|
---|
3227 | <td class="md" nowrap>const unsigned int </td>
|
---|
3228 | <td class="mdname" nowrap> <em>count</em></td>
|
---|
3229 | </tr>
|
---|
3230 | <tr>
|
---|
3231 | <td></td>
|
---|
3232 | <td class="md">) </td>
|
---|
3233 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3234 | </tr>
|
---|
3235 |
|
---|
3236 | </table>
|
---|
3237 | </td>
|
---|
3238 | </tr>
|
---|
3239 | </table>
|
---|
3240 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3241 | <tr>
|
---|
3242 | <td>
|
---|
3243 |
|
---|
3244 | </td>
|
---|
3245 | <td>
|
---|
3246 |
|
---|
3247 | <p>
|
---|
3248 | Moves X number of chars.
|
---|
3249 | <p>
|
---|
3250 | <dl compact><dt><b>
|
---|
3251 | Parameters: </b><dd>
|
---|
3252 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3253 | <tr><td valign=top><em>targetStr</em> </td><td>
|
---|
3254 | The string to copy the chars to </td></tr>
|
---|
3255 | <tr><td valign=top><em>srcStr</em> </td><td>
|
---|
3256 | The string to copy the chars from </td></tr>
|
---|
3257 | <tr><td valign=top><em>count</em> </td><td>
|
---|
3258 | The number of chars to move </td></tr>
|
---|
3259 | </table>
|
---|
3260 | </dl> </td>
|
---|
3261 | </tr>
|
---|
3262 | </table>
|
---|
3263 | <a name="z520_9" doxytag="XMLString::parseInt"></a><p>
|
---|
3264 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3265 | <tr>
|
---|
3266 | <td class="md">
|
---|
3267 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3268 | <tr>
|
---|
3269 | <td class="md" nowrap valign="top"> int XMLString::parseInt </td>
|
---|
3270 | <td class="md" valign="top">( </td>
|
---|
3271 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3272 | <td class="mdname" nowrap> <em>toConvert</em>, </td>
|
---|
3273 | </tr>
|
---|
3274 | <tr>
|
---|
3275 | <td></td>
|
---|
3276 | <td></td>
|
---|
3277 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
3278 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
3279 | </tr>
|
---|
3280 | <tr>
|
---|
3281 | <td></td>
|
---|
3282 | <td class="md">) </td>
|
---|
3283 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3284 | </tr>
|
---|
3285 |
|
---|
3286 | </table>
|
---|
3287 | </td>
|
---|
3288 | </tr>
|
---|
3289 | </table>
|
---|
3290 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3291 | <tr>
|
---|
3292 | <td>
|
---|
3293 |
|
---|
3294 | </td>
|
---|
3295 | <td>
|
---|
3296 |
|
---|
3297 | <p>
|
---|
3298 | Converts a string of decimal chars to a binary value.
|
---|
3299 | <p>
|
---|
3300 | Note that leading and trailng whitespace is legal and will be ignored,
|
---|
3301 | <p>
|
---|
3302 | Only one and either of (+,-) after the leading whitespace, before any other characters are allowed.
|
---|
3303 | <p>
|
---|
3304 | but the remainder must be all decimal digits.<dl compact><dt><b>
|
---|
3305 | Parameters: </b><dd>
|
---|
3306 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3307 | <tr><td valign=top><em>toConvert</em> </td><td>
|
---|
3308 | The string of digits to convert </td></tr>
|
---|
3309 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
3310 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
3311 | </table>
|
---|
3312 | </dl> </td>
|
---|
3313 | </tr>
|
---|
3314 | </table>
|
---|
3315 | <a name="z519_7" doxytag="XMLString::patternMatch"></a><p>
|
---|
3316 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3317 | <tr>
|
---|
3318 | <td class="md">
|
---|
3319 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3320 | <tr>
|
---|
3321 | <td class="md" nowrap valign="top"> int XMLString::patternMatch </td>
|
---|
3322 | <td class="md" valign="top">( </td>
|
---|
3323 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3324 | <td class="mdname" nowrap> <em>toSearch</em>, </td>
|
---|
3325 | </tr>
|
---|
3326 | <tr>
|
---|
3327 | <td></td>
|
---|
3328 | <td></td>
|
---|
3329 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3330 | <td class="mdname" nowrap> <em>pattern</em></td>
|
---|
3331 | </tr>
|
---|
3332 | <tr>
|
---|
3333 | <td></td>
|
---|
3334 | <td class="md">) </td>
|
---|
3335 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3336 | </tr>
|
---|
3337 |
|
---|
3338 | </table>
|
---|
3339 | </td>
|
---|
3340 | </tr>
|
---|
3341 | </table>
|
---|
3342 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3343 | <tr>
|
---|
3344 | <td>
|
---|
3345 |
|
---|
3346 | </td>
|
---|
3347 | <td>
|
---|
3348 |
|
---|
3349 | <p>
|
---|
3350 | Tells if a string has pattern within itself.
|
---|
3351 | <p>
|
---|
3352 | <dl compact><dt><b>
|
---|
3353 | Parameters: </b><dd>
|
---|
3354 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3355 | <tr><td valign=top><em>toSearch</em> </td><td>
|
---|
3356 | The string to be searched </td></tr>
|
---|
3357 | <tr><td valign=top><em>pattern</em> </td><td>
|
---|
3358 | The pattern to be located within the string </td></tr>
|
---|
3359 | </table>
|
---|
3360 | </dl><dl compact><dt><b>
|
---|
3361 | Returns: </b><dd>
|
---|
3362 | Returns index to the location where the pattern was found, else returns -1 </dl> </td>
|
---|
3363 | </tr>
|
---|
3364 | </table>
|
---|
3365 | <a name="z512_11" doxytag="XMLString::regionIMatches"></a><p>
|
---|
3366 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3367 | <tr>
|
---|
3368 | <td class="md">
|
---|
3369 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3370 | <tr>
|
---|
3371 | <td class="md" nowrap valign="top"> bool XMLString::regionIMatches </td>
|
---|
3372 | <td class="md" valign="top">( </td>
|
---|
3373 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3374 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
3375 | </tr>
|
---|
3376 | <tr>
|
---|
3377 | <td></td>
|
---|
3378 | <td></td>
|
---|
3379 | <td class="md" nowrap>const int </td>
|
---|
3380 | <td class="mdname" nowrap> <em>offset1</em>, </td>
|
---|
3381 | </tr>
|
---|
3382 | <tr>
|
---|
3383 | <td></td>
|
---|
3384 | <td></td>
|
---|
3385 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3386 | <td class="mdname" nowrap> <em>str2</em>, </td>
|
---|
3387 | </tr>
|
---|
3388 | <tr>
|
---|
3389 | <td></td>
|
---|
3390 | <td></td>
|
---|
3391 | <td class="md" nowrap>const int </td>
|
---|
3392 | <td class="mdname" nowrap> <em>offset2</em>, </td>
|
---|
3393 | </tr>
|
---|
3394 | <tr>
|
---|
3395 | <td></td>
|
---|
3396 | <td></td>
|
---|
3397 | <td class="md" nowrap>const unsigned int </td>
|
---|
3398 | <td class="mdname" nowrap> <em>charCount</em></td>
|
---|
3399 | </tr>
|
---|
3400 | <tr>
|
---|
3401 | <td></td>
|
---|
3402 | <td class="md">) </td>
|
---|
3403 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3404 | </tr>
|
---|
3405 |
|
---|
3406 | </table>
|
---|
3407 | </td>
|
---|
3408 | </tr>
|
---|
3409 | </table>
|
---|
3410 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3411 | <tr>
|
---|
3412 | <td>
|
---|
3413 |
|
---|
3414 | </td>
|
---|
3415 | <td>
|
---|
3416 |
|
---|
3417 | <p>
|
---|
3418 | Lexicographically compares <code>str1</code> and <code>str2</code> regions without regard to case and returns true if they are equal, otherwise false.
|
---|
3419 | <p>
|
---|
3420 | A substring of <code>str1</code> is compared to a substring of <code>str2</code>. The result is true if these substrings represent identical character sequences. The substring of <code>str1</code> to be compared begins at offset1 and has length charCount. The substring of <code>str2</code> to be compared begins at offset2 and has length charCount. The result is false if and only if at least one of the following is true: offset1 is negative. offset2 is negative. offset1+charCount is greater than the length of str1. offset2+charCount is greater than the length of str2. There is some nonnegative integer k less than charCount such that: str1.charAt(offset1+k) != str2.charAt(offset2+k)<dl compact><dt><b>
|
---|
3421 | Parameters: </b><dd>
|
---|
3422 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3423 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
3424 | Null-terminated string to compare </td></tr>
|
---|
3425 | <tr><td valign=top><em>offset1</em> </td><td>
|
---|
3426 | Starting offset of str1 </td></tr>
|
---|
3427 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
3428 | Null-terminated string to compare </td></tr>
|
---|
3429 | <tr><td valign=top><em>offset2</em> </td><td>
|
---|
3430 | Starting offset of str2 </td></tr>
|
---|
3431 | <tr><td valign=top><em>charCount</em> </td><td>
|
---|
3432 | The number of characters to compare </td></tr>
|
---|
3433 | </table>
|
---|
3434 | </dl><dl compact><dt><b>
|
---|
3435 | Returns: </b><dd>
|
---|
3436 | true if the specified subregion of <code>str1</code> exactly matches the specified subregion of <code>str2></code>; false otherwise. </dl> </td>
|
---|
3437 | </tr>
|
---|
3438 | </table>
|
---|
3439 | <a name="z512_10" doxytag="XMLString::regionMatches"></a><p>
|
---|
3440 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3441 | <tr>
|
---|
3442 | <td class="md">
|
---|
3443 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3444 | <tr>
|
---|
3445 | <td class="md" nowrap valign="top"> bool XMLString::regionMatches </td>
|
---|
3446 | <td class="md" valign="top">( </td>
|
---|
3447 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3448 | <td class="mdname" nowrap> <em>str1</em>, </td>
|
---|
3449 | </tr>
|
---|
3450 | <tr>
|
---|
3451 | <td></td>
|
---|
3452 | <td></td>
|
---|
3453 | <td class="md" nowrap>const int </td>
|
---|
3454 | <td class="mdname" nowrap> <em>offset1</em>, </td>
|
---|
3455 | </tr>
|
---|
3456 | <tr>
|
---|
3457 | <td></td>
|
---|
3458 | <td></td>
|
---|
3459 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3460 | <td class="mdname" nowrap> <em>str2</em>, </td>
|
---|
3461 | </tr>
|
---|
3462 | <tr>
|
---|
3463 | <td></td>
|
---|
3464 | <td></td>
|
---|
3465 | <td class="md" nowrap>const int </td>
|
---|
3466 | <td class="mdname" nowrap> <em>offset2</em>, </td>
|
---|
3467 | </tr>
|
---|
3468 | <tr>
|
---|
3469 | <td></td>
|
---|
3470 | <td></td>
|
---|
3471 | <td class="md" nowrap>const unsigned int </td>
|
---|
3472 | <td class="mdname" nowrap> <em>charCount</em></td>
|
---|
3473 | </tr>
|
---|
3474 | <tr>
|
---|
3475 | <td></td>
|
---|
3476 | <td class="md">) </td>
|
---|
3477 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3478 | </tr>
|
---|
3479 |
|
---|
3480 | </table>
|
---|
3481 | </td>
|
---|
3482 | </tr>
|
---|
3483 | </table>
|
---|
3484 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3485 | <tr>
|
---|
3486 | <td>
|
---|
3487 |
|
---|
3488 | </td>
|
---|
3489 | <td>
|
---|
3490 |
|
---|
3491 | <p>
|
---|
3492 | Lexicographically compares <code>str1</code> and <code>str2</code> regions and returns true if they are equal, otherwise false.
|
---|
3493 | <p>
|
---|
3494 | A substring of <code>str1</code> is compared to a substring of <code>str2</code>. The result is true if these substrings represent identical character sequences. The substring of <code>str1</code> to be compared begins at offset1 and has length charCount. The substring of <code>str2</code> to be compared begins at offset2 and has length charCount. The result is false if and only if at least one of the following is true: offset1 is negative. offset2 is negative. offset1+charCount is greater than the length of str1. offset2+charCount is greater than the length of str2. There is some nonnegative integer k less than charCount such that: str1.charAt(offset1+k) != str2.charAt(offset2+k)<dl compact><dt><b>
|
---|
3495 | Parameters: </b><dd>
|
---|
3496 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3497 | <tr><td valign=top><em>str1</em> </td><td>
|
---|
3498 | Null-terminated string to compare </td></tr>
|
---|
3499 | <tr><td valign=top><em>offset1</em> </td><td>
|
---|
3500 | Starting offset of str1 </td></tr>
|
---|
3501 | <tr><td valign=top><em>str2</em> </td><td>
|
---|
3502 | Null-terminated string to compare </td></tr>
|
---|
3503 | <tr><td valign=top><em>offset2</em> </td><td>
|
---|
3504 | Starting offset of str2 </td></tr>
|
---|
3505 | <tr><td valign=top><em>charCount</em> </td><td>
|
---|
3506 | The number of characters to compare </td></tr>
|
---|
3507 | </table>
|
---|
3508 | </dl><dl compact><dt><b>
|
---|
3509 | Returns: </b><dd>
|
---|
3510 | true if the specified subregion of <code>str1</code> exactly matches the specified subregion of <code>str2></code>; false otherwise. </dl> </td>
|
---|
3511 | </tr>
|
---|
3512 | </table>
|
---|
3513 | <a name="z522_2" doxytag="XMLString::release"></a><p>
|
---|
3514 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3515 | <tr>
|
---|
3516 | <td class="md">
|
---|
3517 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3518 | <tr>
|
---|
3519 | <td class="md" nowrap valign="top"> void XMLString::release </td>
|
---|
3520 | <td class="md" valign="top">( </td>
|
---|
3521 | <td class="md" nowrap valign="top"><a class="el" href="XercesDefs_8hpp.html#a16">XMLByte</a> ** </td>
|
---|
3522 | <td class="mdname1" valign="top" nowrap> <em>buf</em> </td>
|
---|
3523 | <td class="md" valign="top">) </td>
|
---|
3524 | <td class="md" nowrap><code> [static]</code></td>
|
---|
3525 | </tr>
|
---|
3526 |
|
---|
3527 | </table>
|
---|
3528 | </td>
|
---|
3529 | </tr>
|
---|
3530 | </table>
|
---|
3531 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3532 | <tr>
|
---|
3533 | <td>
|
---|
3534 |
|
---|
3535 | </td>
|
---|
3536 | <td>
|
---|
3537 |
|
---|
3538 | <p>
|
---|
3539 | Release the parameter XMLByte string that was allocated by the implementation (i.e.the parser).
|
---|
3540 | <p>
|
---|
3541 | The implementation will call operator delete[] and then turn the string to a null pointer.<dl compact><dt><b>
|
---|
3542 | Parameters: </b><dd>
|
---|
3543 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3544 | <tr><td valign=top><em>buf</em> </td><td>
|
---|
3545 | The string to be deleted and become a null pointer. </td></tr>
|
---|
3546 | </table>
|
---|
3547 | </dl> </td>
|
---|
3548 | </tr>
|
---|
3549 | </table>
|
---|
3550 | <a name="z522_1" doxytag="XMLString::release"></a><p>
|
---|
3551 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3552 | <tr>
|
---|
3553 | <td class="md">
|
---|
3554 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3555 | <tr>
|
---|
3556 | <td class="md" nowrap valign="top"> void XMLString::release </td>
|
---|
3557 | <td class="md" valign="top">( </td>
|
---|
3558 | <td class="md" nowrap valign="top">XMLCh ** </td>
|
---|
3559 | <td class="mdname1" valign="top" nowrap> <em>buf</em> </td>
|
---|
3560 | <td class="md" valign="top">) </td>
|
---|
3561 | <td class="md" nowrap><code> [static]</code></td>
|
---|
3562 | </tr>
|
---|
3563 |
|
---|
3564 | </table>
|
---|
3565 | </td>
|
---|
3566 | </tr>
|
---|
3567 | </table>
|
---|
3568 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3569 | <tr>
|
---|
3570 | <td>
|
---|
3571 |
|
---|
3572 | </td>
|
---|
3573 | <td>
|
---|
3574 |
|
---|
3575 | <p>
|
---|
3576 | Release the parameter XMLCh string that was allocated by the implementation (i.e.the parser).
|
---|
3577 | <p>
|
---|
3578 | The implementation will call operator delete[] and then turn the string to a null pointer.<dl compact><dt><b>
|
---|
3579 | Parameters: </b><dd>
|
---|
3580 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3581 | <tr><td valign=top><em>buf</em> </td><td>
|
---|
3582 | The string to be deleted and become a null pointer. </td></tr>
|
---|
3583 | </table>
|
---|
3584 | </dl> </td>
|
---|
3585 | </tr>
|
---|
3586 | </table>
|
---|
3587 | <a name="z522_0" doxytag="XMLString::release"></a><p>
|
---|
3588 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3589 | <tr>
|
---|
3590 | <td class="md">
|
---|
3591 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3592 | <tr>
|
---|
3593 | <td class="md" nowrap valign="top"> void XMLString::release </td>
|
---|
3594 | <td class="md" valign="top">( </td>
|
---|
3595 | <td class="md" nowrap valign="top">char ** </td>
|
---|
3596 | <td class="mdname1" valign="top" nowrap> <em>buf</em> </td>
|
---|
3597 | <td class="md" valign="top">) </td>
|
---|
3598 | <td class="md" nowrap><code> [static]</code></td>
|
---|
3599 | </tr>
|
---|
3600 |
|
---|
3601 | </table>
|
---|
3602 | </td>
|
---|
3603 | </tr>
|
---|
3604 | </table>
|
---|
3605 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3606 | <tr>
|
---|
3607 | <td>
|
---|
3608 |
|
---|
3609 | </td>
|
---|
3610 | <td>
|
---|
3611 |
|
---|
3612 | <p>
|
---|
3613 | Release the parameter char string that was allocated by the implementation (i.e.the parser).
|
---|
3614 | <p>
|
---|
3615 | The implementation will call operator delete[] and then turn the string to a null pointer.<dl compact><dt><b>
|
---|
3616 | Parameters: </b><dd>
|
---|
3617 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3618 | <tr><td valign=top><em>buf</em> </td><td>
|
---|
3619 | The string to be deleted and become a null pointer. </td></tr>
|
---|
3620 | </table>
|
---|
3621 | </dl> </td>
|
---|
3622 | </tr>
|
---|
3623 | </table>
|
---|
3624 | <a name="z521_9" doxytag="XMLString::removeChar"></a><p>
|
---|
3625 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3626 | <tr>
|
---|
3627 | <td class="md">
|
---|
3628 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3629 | <tr>
|
---|
3630 | <td class="md" nowrap valign="top"> void XMLString::removeChar </td>
|
---|
3631 | <td class="md" valign="top">( </td>
|
---|
3632 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3633 | <td class="mdname" nowrap> <em>srcString</em>, </td>
|
---|
3634 | </tr>
|
---|
3635 | <tr>
|
---|
3636 | <td></td>
|
---|
3637 | <td></td>
|
---|
3638 | <td class="md" nowrap>const XMLCh & </td>
|
---|
3639 | <td class="mdname" nowrap> <em>toRemove</em>, </td>
|
---|
3640 | </tr>
|
---|
3641 | <tr>
|
---|
3642 | <td></td>
|
---|
3643 | <td></td>
|
---|
3644 | <td class="md" nowrap>XMLBuffer & </td>
|
---|
3645 | <td class="mdname" nowrap> <em>dstBuffer</em></td>
|
---|
3646 | </tr>
|
---|
3647 | <tr>
|
---|
3648 | <td></td>
|
---|
3649 | <td class="md">) </td>
|
---|
3650 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3651 | </tr>
|
---|
3652 |
|
---|
3653 | </table>
|
---|
3654 | </td>
|
---|
3655 | </tr>
|
---|
3656 | </table>
|
---|
3657 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3658 | <tr>
|
---|
3659 | <td>
|
---|
3660 |
|
---|
3661 | </td>
|
---|
3662 | <td>
|
---|
3663 |
|
---|
3664 | <p>
|
---|
3665 | Remove character.
|
---|
3666 | <p>
|
---|
3667 | <dl compact><dt><b>
|
---|
3668 | Parameters: </b><dd>
|
---|
3669 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3670 | <tr><td valign=top><em>srcString</em> </td><td>
|
---|
3671 | The string </td></tr>
|
---|
3672 | <tr><td valign=top><em>toRemove</em> </td><td>
|
---|
3673 | The character needs to be removed from the string </td></tr>
|
---|
3674 | <tr><td valign=top><em>dstBuffer</em> </td><td>
|
---|
3675 | The buffer containning the result </td></tr>
|
---|
3676 | </table>
|
---|
3677 | </dl> </td>
|
---|
3678 | </tr>
|
---|
3679 | </table>
|
---|
3680 | <a name="z521_8" doxytag="XMLString::removeWS"></a><p>
|
---|
3681 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3682 | <tr>
|
---|
3683 | <td class="md">
|
---|
3684 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3685 | <tr>
|
---|
3686 | <td class="md" nowrap valign="top"> void XMLString::removeWS </td>
|
---|
3687 | <td class="md" valign="top">( </td>
|
---|
3688 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
3689 | <td class="mdname" nowrap> <em>toConvert</em>, </td>
|
---|
3690 | </tr>
|
---|
3691 | <tr>
|
---|
3692 | <td></td>
|
---|
3693 | <td></td>
|
---|
3694 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
3695 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
3696 | </tr>
|
---|
3697 | <tr>
|
---|
3698 | <td></td>
|
---|
3699 | <td class="md">) </td>
|
---|
3700 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3701 | </tr>
|
---|
3702 |
|
---|
3703 | </table>
|
---|
3704 | </td>
|
---|
3705 | </tr>
|
---|
3706 | </table>
|
---|
3707 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3708 | <tr>
|
---|
3709 | <td>
|
---|
3710 |
|
---|
3711 | </td>
|
---|
3712 | <td>
|
---|
3713 |
|
---|
3714 | <p>
|
---|
3715 | Remove whitespace.
|
---|
3716 | <p>
|
---|
3717 | <dl compact><dt><b>
|
---|
3718 | Parameters: </b><dd>
|
---|
3719 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3720 | <tr><td valign=top><em>toConvert</em> </td><td>
|
---|
3721 | The string which needs to be whitespace removed. On return , this buffer also holds the converted string </td></tr>
|
---|
3722 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
3723 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
3724 | </table>
|
---|
3725 | </dl> </td>
|
---|
3726 | </tr>
|
---|
3727 | </table>
|
---|
3728 | <a name="z521_1" doxytag="XMLString::replaceTokens"></a><p>
|
---|
3729 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3730 | <tr>
|
---|
3731 | <td class="md">
|
---|
3732 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3733 | <tr>
|
---|
3734 | <td class="md" nowrap valign="top"> unsigned int XMLString::replaceTokens </td>
|
---|
3735 | <td class="md" valign="top">( </td>
|
---|
3736 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
3737 | <td class="mdname" nowrap> <em>errText</em>, </td>
|
---|
3738 | </tr>
|
---|
3739 | <tr>
|
---|
3740 | <td></td>
|
---|
3741 | <td></td>
|
---|
3742 | <td class="md" nowrap>const unsigned int </td>
|
---|
3743 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
3744 | </tr>
|
---|
3745 | <tr>
|
---|
3746 | <td></td>
|
---|
3747 | <td></td>
|
---|
3748 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3749 | <td class="mdname" nowrap> <em>text1</em>, </td>
|
---|
3750 | </tr>
|
---|
3751 | <tr>
|
---|
3752 | <td></td>
|
---|
3753 | <td></td>
|
---|
3754 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3755 | <td class="mdname" nowrap> <em>text2</em>, </td>
|
---|
3756 | </tr>
|
---|
3757 | <tr>
|
---|
3758 | <td></td>
|
---|
3759 | <td></td>
|
---|
3760 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3761 | <td class="mdname" nowrap> <em>text3</em>, </td>
|
---|
3762 | </tr>
|
---|
3763 | <tr>
|
---|
3764 | <td></td>
|
---|
3765 | <td></td>
|
---|
3766 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
3767 | <td class="mdname" nowrap> <em>text4</em>, </td>
|
---|
3768 | </tr>
|
---|
3769 | <tr>
|
---|
3770 | <td></td>
|
---|
3771 | <td></td>
|
---|
3772 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
3773 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
3774 | </tr>
|
---|
3775 | <tr>
|
---|
3776 | <td></td>
|
---|
3777 | <td class="md">) </td>
|
---|
3778 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3779 | </tr>
|
---|
3780 |
|
---|
3781 | </table>
|
---|
3782 | </td>
|
---|
3783 | </tr>
|
---|
3784 | </table>
|
---|
3785 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3786 | <tr>
|
---|
3787 | <td>
|
---|
3788 |
|
---|
3789 | </td>
|
---|
3790 | <td>
|
---|
3791 |
|
---|
3792 | <p>
|
---|
3793 | Internal function to perform token replacement for strings.
|
---|
3794 | <p>
|
---|
3795 | <dl compact><dt><b>
|
---|
3796 | Parameters: </b><dd>
|
---|
3797 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3798 | <tr><td valign=top><em>errText</em> </td><td>
|
---|
3799 | The text (NULL terminated) where the replacement is to be done. The size of this buffer should be 'maxChars + 1' to account for the final NULL. </td></tr>
|
---|
3800 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
3801 | The size of the output buffer, i.e. the maximum number of characters that it will hold. If the result is larger, it will be truncated. </td></tr>
|
---|
3802 | <tr><td valign=top><em>text1</em> </td><td>
|
---|
3803 | Replacement text-one </td></tr>
|
---|
3804 | <tr><td valign=top><em>text2</em> </td><td>
|
---|
3805 | Replacement text-two </td></tr>
|
---|
3806 | <tr><td valign=top><em>text3</em> </td><td>
|
---|
3807 | Replacement text-three </td></tr>
|
---|
3808 | <tr><td valign=top><em>text4</em> </td><td>
|
---|
3809 | Replacement text-four </td></tr>
|
---|
3810 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
3811 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
3812 | </table>
|
---|
3813 | </dl><dl compact><dt><b>
|
---|
3814 | Returns: </b><dd>
|
---|
3815 | Returns the count of characters that are outputted </dl> </td>
|
---|
3816 | </tr>
|
---|
3817 | </table>
|
---|
3818 | <a name="z521_6" doxytag="XMLString::replaceWS"></a><p>
|
---|
3819 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3820 | <tr>
|
---|
3821 | <td class="md">
|
---|
3822 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3823 | <tr>
|
---|
3824 | <td class="md" nowrap valign="top"> void XMLString::replaceWS </td>
|
---|
3825 | <td class="md" valign="top">( </td>
|
---|
3826 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
3827 | <td class="mdname" nowrap> <em>toConvert</em>, </td>
|
---|
3828 | </tr>
|
---|
3829 | <tr>
|
---|
3830 | <td></td>
|
---|
3831 | <td></td>
|
---|
3832 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
3833 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
3834 | </tr>
|
---|
3835 | <tr>
|
---|
3836 | <td></td>
|
---|
3837 | <td class="md">) </td>
|
---|
3838 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3839 | </tr>
|
---|
3840 |
|
---|
3841 | </table>
|
---|
3842 | </td>
|
---|
3843 | </tr>
|
---|
3844 | </table>
|
---|
3845 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3846 | <tr>
|
---|
3847 | <td>
|
---|
3848 |
|
---|
3849 | </td>
|
---|
3850 | <td>
|
---|
3851 |
|
---|
3852 | <p>
|
---|
3853 | Replace whitespace.
|
---|
3854 | <p>
|
---|
3855 | <dl compact><dt><b>
|
---|
3856 | Parameters: </b><dd>
|
---|
3857 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3858 | <tr><td valign=top><em>toConvert</em> </td><td>
|
---|
3859 | The string which needs to be whitespace replaced. On return , this buffer also holds the converted string </td></tr>
|
---|
3860 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
3861 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
3862 | </table>
|
---|
3863 | </dl> </td>
|
---|
3864 | </tr>
|
---|
3865 | </table>
|
---|
3866 | <a name="z518_3" doxytag="XMLString::replicate"></a><p>
|
---|
3867 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3868 | <tr>
|
---|
3869 | <td class="md">
|
---|
3870 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3871 | <tr>
|
---|
3872 | <td class="md" nowrap valign="top"> XMLCh * XMLString::replicate </td>
|
---|
3873 | <td class="md" valign="top">( </td>
|
---|
3874 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3875 | <td class="mdname" nowrap> <em>toRep</em>, </td>
|
---|
3876 | </tr>
|
---|
3877 | <tr>
|
---|
3878 | <td></td>
|
---|
3879 | <td></td>
|
---|
3880 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
3881 | <td class="mdname" nowrap> <em>manager</em></td>
|
---|
3882 | </tr>
|
---|
3883 | <tr>
|
---|
3884 | <td></td>
|
---|
3885 | <td class="md">) </td>
|
---|
3886 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3887 | </tr>
|
---|
3888 |
|
---|
3889 | </table>
|
---|
3890 | </td>
|
---|
3891 | </tr>
|
---|
3892 | </table>
|
---|
3893 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3894 | <tr>
|
---|
3895 | <td>
|
---|
3896 |
|
---|
3897 | </td>
|
---|
3898 | <td>
|
---|
3899 |
|
---|
3900 | <p>
|
---|
3901 | Replicates a string NOTE: The returned buffer is allocated with the <a class="el" href="classMemoryManager.html">MemoryManager</a>.
|
---|
3902 | <p>
|
---|
3903 | It is the responsibility of the caller to delete it when not longer needed.<dl compact><dt><b>
|
---|
3904 | Parameters: </b><dd>
|
---|
3905 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3906 | <tr><td valign=top><em>toRep</em> </td><td>
|
---|
3907 | The string to replicate </td></tr>
|
---|
3908 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
3909 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate the string </td></tr>
|
---|
3910 | </table>
|
---|
3911 | </dl><dl compact><dt><b>
|
---|
3912 | Returns: </b><dd>
|
---|
3913 | Returns a pointer to the replicated string </dl> </td>
|
---|
3914 | </tr>
|
---|
3915 | </table>
|
---|
3916 | <a name="z518_2" doxytag="XMLString::replicate"></a><p>
|
---|
3917 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3918 | <tr>
|
---|
3919 | <td class="md">
|
---|
3920 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3921 | <tr>
|
---|
3922 | <td class="md" nowrap valign="top"> XMLCh* XMLString::replicate </td>
|
---|
3923 | <td class="md" valign="top">( </td>
|
---|
3924 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
3925 | <td class="mdname1" valign="top" nowrap> <em>toRep</em> </td>
|
---|
3926 | <td class="md" valign="top">) </td>
|
---|
3927 | <td class="md" nowrap><code> [static]</code></td>
|
---|
3928 | </tr>
|
---|
3929 |
|
---|
3930 | </table>
|
---|
3931 | </td>
|
---|
3932 | </tr>
|
---|
3933 | </table>
|
---|
3934 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3935 | <tr>
|
---|
3936 | <td>
|
---|
3937 |
|
---|
3938 | </td>
|
---|
3939 | <td>
|
---|
3940 |
|
---|
3941 | <p>
|
---|
3942 | Replicates a string NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed.
|
---|
3943 | <p>
|
---|
3944 | You can call <a class="el" href="classXMLString.html#z522_0">XMLString::release</a> to release this returned buffer.<dl compact><dt><b>
|
---|
3945 | Parameters: </b><dd>
|
---|
3946 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3947 | <tr><td valign=top><em>toRep</em> </td><td>
|
---|
3948 | The string to replicate </td></tr>
|
---|
3949 | </table>
|
---|
3950 | </dl><dl compact><dt><b>
|
---|
3951 | Returns: </b><dd>
|
---|
3952 | Returns a pointer to the replicated string </dl><dl compact><dt><b>
|
---|
3953 | See also: </b><dd>
|
---|
3954 | <a class="el" href="classXMLString.html#z522_1">XMLString::release</a>(XMLCh**) </dl> </td>
|
---|
3955 | </tr>
|
---|
3956 | </table>
|
---|
3957 | <a name="z518_1" doxytag="XMLString::replicate"></a><p>
|
---|
3958 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
3959 | <tr>
|
---|
3960 | <td class="md">
|
---|
3961 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
3962 | <tr>
|
---|
3963 | <td class="md" nowrap valign="top"> char* XMLString::replicate </td>
|
---|
3964 | <td class="md" valign="top">( </td>
|
---|
3965 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
3966 | <td class="mdname" nowrap> <em>toRep</em>, </td>
|
---|
3967 | </tr>
|
---|
3968 | <tr>
|
---|
3969 | <td></td>
|
---|
3970 | <td></td>
|
---|
3971 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
3972 | <td class="mdname" nowrap> <em>manager</em></td>
|
---|
3973 | </tr>
|
---|
3974 | <tr>
|
---|
3975 | <td></td>
|
---|
3976 | <td class="md">) </td>
|
---|
3977 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
3978 | </tr>
|
---|
3979 |
|
---|
3980 | </table>
|
---|
3981 | </td>
|
---|
3982 | </tr>
|
---|
3983 | </table>
|
---|
3984 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
3985 | <tr>
|
---|
3986 | <td>
|
---|
3987 |
|
---|
3988 | </td>
|
---|
3989 | <td>
|
---|
3990 |
|
---|
3991 | <p>
|
---|
3992 | Replicates a string NOTE: The returned buffer is allocated with the <a class="el" href="classMemoryManager.html">MemoryManager</a>.
|
---|
3993 | <p>
|
---|
3994 | It is the responsibility of the caller to delete it when not longer needed.<dl compact><dt><b>
|
---|
3995 | Parameters: </b><dd>
|
---|
3996 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
3997 | <tr><td valign=top><em>toRep</em> </td><td>
|
---|
3998 | The string to replicate </td></tr>
|
---|
3999 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4000 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate the string </td></tr>
|
---|
4001 | </table>
|
---|
4002 | </dl><dl compact><dt><b>
|
---|
4003 | Returns: </b><dd>
|
---|
4004 | Returns a pointer to the replicated string </dl> </td>
|
---|
4005 | </tr>
|
---|
4006 | </table>
|
---|
4007 | <a name="z518_0" doxytag="XMLString::replicate"></a><p>
|
---|
4008 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4009 | <tr>
|
---|
4010 | <td class="md">
|
---|
4011 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4012 | <tr>
|
---|
4013 | <td class="md" nowrap valign="top"> char* XMLString::replicate </td>
|
---|
4014 | <td class="md" valign="top">( </td>
|
---|
4015 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4016 | <td class="mdname1" valign="top" nowrap> <em>toRep</em> </td>
|
---|
4017 | <td class="md" valign="top">) </td>
|
---|
4018 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4019 | </tr>
|
---|
4020 |
|
---|
4021 | </table>
|
---|
4022 | </td>
|
---|
4023 | </tr>
|
---|
4024 | </table>
|
---|
4025 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4026 | <tr>
|
---|
4027 | <td>
|
---|
4028 |
|
---|
4029 | </td>
|
---|
4030 | <td>
|
---|
4031 |
|
---|
4032 | <p>
|
---|
4033 | Replicates a string NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed.
|
---|
4034 | <p>
|
---|
4035 | You can call <a class="el" href="classXMLString.html#z522_0">XMLString::release</a> to release this returned buffer.<dl compact><dt><b>
|
---|
4036 | Parameters: </b><dd>
|
---|
4037 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4038 | <tr><td valign=top><em>toRep</em> </td><td>
|
---|
4039 | The string to replicate </td></tr>
|
---|
4040 | </table>
|
---|
4041 | </dl><dl compact><dt><b>
|
---|
4042 | Returns: </b><dd>
|
---|
4043 | Returns a pointer to the replicated string </dl><dl compact><dt><b>
|
---|
4044 | See also: </b><dd>
|
---|
4045 | <a class="el" href="classXMLString.html#z522_0">XMLString::release</a>(char**) </dl> </td>
|
---|
4046 | </tr>
|
---|
4047 | </table>
|
---|
4048 | <a name="z519_1" doxytag="XMLString::startsWith"></a><p>
|
---|
4049 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4050 | <tr>
|
---|
4051 | <td class="md">
|
---|
4052 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4053 | <tr>
|
---|
4054 | <td class="md" nowrap valign="top"> bool XMLString::startsWith </td>
|
---|
4055 | <td class="md" valign="top">( </td>
|
---|
4056 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4057 | <td class="mdname" nowrap> <em>toTest</em>, </td>
|
---|
4058 | </tr>
|
---|
4059 | <tr>
|
---|
4060 | <td></td>
|
---|
4061 | <td></td>
|
---|
4062 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
4063 | <td class="mdname" nowrap> <em>prefix</em></td>
|
---|
4064 | </tr>
|
---|
4065 | <tr>
|
---|
4066 | <td></td>
|
---|
4067 | <td class="md">) </td>
|
---|
4068 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4069 | </tr>
|
---|
4070 |
|
---|
4071 | </table>
|
---|
4072 | </td>
|
---|
4073 | </tr>
|
---|
4074 | </table>
|
---|
4075 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4076 | <tr>
|
---|
4077 | <td>
|
---|
4078 |
|
---|
4079 | </td>
|
---|
4080 | <td>
|
---|
4081 |
|
---|
4082 | <p>
|
---|
4083 | Tells if the sub-string appears within a string at the beginning.
|
---|
4084 | <p>
|
---|
4085 | <dl compact><dt><b>
|
---|
4086 | Parameters: </b><dd>
|
---|
4087 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4088 | <tr><td valign=top><em>toTest</em> </td><td>
|
---|
4089 | The string to test </td></tr>
|
---|
4090 | <tr><td valign=top><em>prefix</em> </td><td>
|
---|
4091 | The sub-string that needs to be checked </td></tr>
|
---|
4092 | </table>
|
---|
4093 | </dl><dl compact><dt><b>
|
---|
4094 | Returns: </b><dd>
|
---|
4095 | Returns true if the sub-string was found at the beginning of <code>toTest</code>, else false </dl> </td>
|
---|
4096 | </tr>
|
---|
4097 | </table>
|
---|
4098 | <a name="z519_0" doxytag="XMLString::startsWith"></a><p>
|
---|
4099 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4100 | <tr>
|
---|
4101 | <td class="md">
|
---|
4102 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4103 | <tr>
|
---|
4104 | <td class="md" nowrap valign="top"> bool XMLString::startsWith </td>
|
---|
4105 | <td class="md" valign="top">( </td>
|
---|
4106 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4107 | <td class="mdname" nowrap> <em>toTest</em>, </td>
|
---|
4108 | </tr>
|
---|
4109 | <tr>
|
---|
4110 | <td></td>
|
---|
4111 | <td></td>
|
---|
4112 | <td class="md" nowrap>const char *const </td>
|
---|
4113 | <td class="mdname" nowrap> <em>prefix</em></td>
|
---|
4114 | </tr>
|
---|
4115 | <tr>
|
---|
4116 | <td></td>
|
---|
4117 | <td class="md">) </td>
|
---|
4118 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4119 | </tr>
|
---|
4120 |
|
---|
4121 | </table>
|
---|
4122 | </td>
|
---|
4123 | </tr>
|
---|
4124 | </table>
|
---|
4125 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4126 | <tr>
|
---|
4127 | <td>
|
---|
4128 |
|
---|
4129 | </td>
|
---|
4130 | <td>
|
---|
4131 |
|
---|
4132 | <p>
|
---|
4133 | Tells if the sub-string appears within a string at the beginning.
|
---|
4134 | <p>
|
---|
4135 | <dl compact><dt><b>
|
---|
4136 | Parameters: </b><dd>
|
---|
4137 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4138 | <tr><td valign=top><em>toTest</em> </td><td>
|
---|
4139 | The string to test </td></tr>
|
---|
4140 | <tr><td valign=top><em>prefix</em> </td><td>
|
---|
4141 | The sub-string that needs to be checked </td></tr>
|
---|
4142 | </table>
|
---|
4143 | </dl><dl compact><dt><b>
|
---|
4144 | Returns: </b><dd>
|
---|
4145 | Returns true if the sub-string was found at the beginning of <code>toTest</code>, else false </dl> </td>
|
---|
4146 | </tr>
|
---|
4147 | </table>
|
---|
4148 | <a name="z519_3" doxytag="XMLString::startsWithI"></a><p>
|
---|
4149 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4150 | <tr>
|
---|
4151 | <td class="md">
|
---|
4152 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4153 | <tr>
|
---|
4154 | <td class="md" nowrap valign="top"> bool XMLString::startsWithI </td>
|
---|
4155 | <td class="md" valign="top">( </td>
|
---|
4156 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4157 | <td class="mdname" nowrap> <em>toTest</em>, </td>
|
---|
4158 | </tr>
|
---|
4159 | <tr>
|
---|
4160 | <td></td>
|
---|
4161 | <td></td>
|
---|
4162 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
4163 | <td class="mdname" nowrap> <em>prefix</em></td>
|
---|
4164 | </tr>
|
---|
4165 | <tr>
|
---|
4166 | <td></td>
|
---|
4167 | <td class="md">) </td>
|
---|
4168 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4169 | </tr>
|
---|
4170 |
|
---|
4171 | </table>
|
---|
4172 | </td>
|
---|
4173 | </tr>
|
---|
4174 | </table>
|
---|
4175 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4176 | <tr>
|
---|
4177 | <td>
|
---|
4178 |
|
---|
4179 | </td>
|
---|
4180 | <td>
|
---|
4181 |
|
---|
4182 | <p>
|
---|
4183 | Tells if the sub-string appears within a string at the beginning without regard to case.
|
---|
4184 | <p>
|
---|
4185 | <dl compact><dt><b>
|
---|
4186 | Parameters: </b><dd>
|
---|
4187 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4188 | <tr><td valign=top><em>toTest</em> </td><td>
|
---|
4189 | The string to test </td></tr>
|
---|
4190 | <tr><td valign=top><em>prefix</em> </td><td>
|
---|
4191 | The sub-string that needs to be checked</td></tr>
|
---|
4192 | </table>
|
---|
4193 | </dl><dl compact><dt><b>
|
---|
4194 | Returns: </b><dd>
|
---|
4195 | Returns true if the sub-string was found at the beginning of <code>toTest</code>, else false </dl> </td>
|
---|
4196 | </tr>
|
---|
4197 | </table>
|
---|
4198 | <a name="z519_2" doxytag="XMLString::startsWithI"></a><p>
|
---|
4199 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4200 | <tr>
|
---|
4201 | <td class="md">
|
---|
4202 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4203 | <tr>
|
---|
4204 | <td class="md" nowrap valign="top"> bool XMLString::startsWithI </td>
|
---|
4205 | <td class="md" valign="top">( </td>
|
---|
4206 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4207 | <td class="mdname" nowrap> <em>toTest</em>, </td>
|
---|
4208 | </tr>
|
---|
4209 | <tr>
|
---|
4210 | <td></td>
|
---|
4211 | <td></td>
|
---|
4212 | <td class="md" nowrap>const char *const </td>
|
---|
4213 | <td class="mdname" nowrap> <em>prefix</em></td>
|
---|
4214 | </tr>
|
---|
4215 | <tr>
|
---|
4216 | <td></td>
|
---|
4217 | <td class="md">) </td>
|
---|
4218 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4219 | </tr>
|
---|
4220 |
|
---|
4221 | </table>
|
---|
4222 | </td>
|
---|
4223 | </tr>
|
---|
4224 | </table>
|
---|
4225 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4226 | <tr>
|
---|
4227 | <td>
|
---|
4228 |
|
---|
4229 | </td>
|
---|
4230 | <td>
|
---|
4231 |
|
---|
4232 | <p>
|
---|
4233 | Tells if the sub-string appears within a string at the beginning without regard to case.
|
---|
4234 | <p>
|
---|
4235 | <dl compact><dt><b>
|
---|
4236 | Parameters: </b><dd>
|
---|
4237 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4238 | <tr><td valign=top><em>toTest</em> </td><td>
|
---|
4239 | The string to test </td></tr>
|
---|
4240 | <tr><td valign=top><em>prefix</em> </td><td>
|
---|
4241 | The sub-string that needs to be checked </td></tr>
|
---|
4242 | </table>
|
---|
4243 | </dl><dl compact><dt><b>
|
---|
4244 | Returns: </b><dd>
|
---|
4245 | Returns true if the sub-string was found at the beginning of <code>toTest</code>, else false </dl> </td>
|
---|
4246 | </tr>
|
---|
4247 | </table>
|
---|
4248 | <a name="z519_9" doxytag="XMLString::stringLen"></a><p>
|
---|
4249 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4250 | <tr>
|
---|
4251 | <td class="md">
|
---|
4252 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4253 | <tr>
|
---|
4254 | <td class="md" nowrap valign="top"> unsigned int XMLString::stringLen </td>
|
---|
4255 | <td class="md" valign="top">( </td>
|
---|
4256 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4257 | <td class="mdname1" valign="top" nowrap> <em>src</em> </td>
|
---|
4258 | <td class="md" valign="top">) </td>
|
---|
4259 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4260 | </tr>
|
---|
4261 |
|
---|
4262 | </table>
|
---|
4263 | </td>
|
---|
4264 | </tr>
|
---|
4265 | </table>
|
---|
4266 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4267 | <tr>
|
---|
4268 | <td>
|
---|
4269 |
|
---|
4270 | </td>
|
---|
4271 | <td>
|
---|
4272 |
|
---|
4273 | <p>
|
---|
4274 | Get the length of the string.
|
---|
4275 | <p>
|
---|
4276 | <dl compact><dt><b>
|
---|
4277 | Parameters: </b><dd>
|
---|
4278 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4279 | <tr><td valign=top><em>src</em> </td><td>
|
---|
4280 | The string whose length is to be determined </td></tr>
|
---|
4281 | </table>
|
---|
4282 | </dl><dl compact><dt><b>
|
---|
4283 | Returns: </b><dd>
|
---|
4284 | Returns the length of the string </dl> </td>
|
---|
4285 | </tr>
|
---|
4286 | </table>
|
---|
4287 | <a name="z519_8" doxytag="XMLString::stringLen"></a><p>
|
---|
4288 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4289 | <tr>
|
---|
4290 | <td class="md">
|
---|
4291 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4292 | <tr>
|
---|
4293 | <td class="md" nowrap valign="top"> unsigned int XMLString::stringLen </td>
|
---|
4294 | <td class="md" valign="top">( </td>
|
---|
4295 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4296 | <td class="mdname1" valign="top" nowrap> <em>src</em> </td>
|
---|
4297 | <td class="md" valign="top">) </td>
|
---|
4298 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4299 | </tr>
|
---|
4300 |
|
---|
4301 | </table>
|
---|
4302 | </td>
|
---|
4303 | </tr>
|
---|
4304 | </table>
|
---|
4305 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4306 | <tr>
|
---|
4307 | <td>
|
---|
4308 |
|
---|
4309 | </td>
|
---|
4310 | <td>
|
---|
4311 |
|
---|
4312 | <p>
|
---|
4313 | Get the length of the string.
|
---|
4314 | <p>
|
---|
4315 | <dl compact><dt><b>
|
---|
4316 | Parameters: </b><dd>
|
---|
4317 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4318 | <tr><td valign=top><em>src</em> </td><td>
|
---|
4319 | The string whose length is to be determined </td></tr>
|
---|
4320 | </table>
|
---|
4321 | </dl><dl compact><dt><b>
|
---|
4322 | Returns: </b><dd>
|
---|
4323 | Returns the length of the string </dl> </td>
|
---|
4324 | </tr>
|
---|
4325 | </table>
|
---|
4326 | <a name="z517_1" doxytag="XMLString::subString"></a><p>
|
---|
4327 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4328 | <tr>
|
---|
4329 | <td class="md">
|
---|
4330 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4331 | <tr>
|
---|
4332 | <td class="md" nowrap valign="top"> void XMLString::subString </td>
|
---|
4333 | <td class="md" valign="top">( </td>
|
---|
4334 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
4335 | <td class="mdname" nowrap> <em>targetStr</em>, </td>
|
---|
4336 | </tr>
|
---|
4337 | <tr>
|
---|
4338 | <td></td>
|
---|
4339 | <td></td>
|
---|
4340 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
4341 | <td class="mdname" nowrap> <em>srcStr</em>, </td>
|
---|
4342 | </tr>
|
---|
4343 | <tr>
|
---|
4344 | <td></td>
|
---|
4345 | <td></td>
|
---|
4346 | <td class="md" nowrap>const int </td>
|
---|
4347 | <td class="mdname" nowrap> <em>startIndex</em>, </td>
|
---|
4348 | </tr>
|
---|
4349 | <tr>
|
---|
4350 | <td></td>
|
---|
4351 | <td></td>
|
---|
4352 | <td class="md" nowrap>const int </td>
|
---|
4353 | <td class="mdname" nowrap> <em>endIndex</em>, </td>
|
---|
4354 | </tr>
|
---|
4355 | <tr>
|
---|
4356 | <td></td>
|
---|
4357 | <td></td>
|
---|
4358 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4359 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
4360 | </tr>
|
---|
4361 | <tr>
|
---|
4362 | <td></td>
|
---|
4363 | <td class="md">) </td>
|
---|
4364 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4365 | </tr>
|
---|
4366 |
|
---|
4367 | </table>
|
---|
4368 | </td>
|
---|
4369 | </tr>
|
---|
4370 | </table>
|
---|
4371 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4372 | <tr>
|
---|
4373 | <td>
|
---|
4374 |
|
---|
4375 | </td>
|
---|
4376 | <td>
|
---|
4377 |
|
---|
4378 | <p>
|
---|
4379 | Create a substring of a givend string.
|
---|
4380 | <p>
|
---|
4381 | The substring begins at the specified beginIndex and extends to the character at index endIndex - 1. <dl compact><dt><b>
|
---|
4382 | Parameters: </b><dd>
|
---|
4383 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4384 | <tr><td valign=top><em>targetStr</em> </td><td>
|
---|
4385 | The string to copy the chars to </td></tr>
|
---|
4386 | <tr><td valign=top><em>srcStr</em> </td><td>
|
---|
4387 | The string to copy the chars from </td></tr>
|
---|
4388 | <tr><td valign=top><em>startIndex</em> </td><td>
|
---|
4389 | beginning index, inclusive. </td></tr>
|
---|
4390 | <tr><td valign=top><em>endIndex</em> </td><td>
|
---|
4391 | the ending index, exclusive. </td></tr>
|
---|
4392 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4393 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
4394 | </table>
|
---|
4395 | </dl> </td>
|
---|
4396 | </tr>
|
---|
4397 | </table>
|
---|
4398 | <a name="z517_0" doxytag="XMLString::subString"></a><p>
|
---|
4399 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4400 | <tr>
|
---|
4401 | <td class="md">
|
---|
4402 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4403 | <tr>
|
---|
4404 | <td class="md" nowrap valign="top"> void XMLString::subString </td>
|
---|
4405 | <td class="md" valign="top">( </td>
|
---|
4406 | <td class="md" nowrap valign="top">char *const </td>
|
---|
4407 | <td class="mdname" nowrap> <em>targetStr</em>, </td>
|
---|
4408 | </tr>
|
---|
4409 | <tr>
|
---|
4410 | <td></td>
|
---|
4411 | <td></td>
|
---|
4412 | <td class="md" nowrap>const char *const </td>
|
---|
4413 | <td class="mdname" nowrap> <em>srcStr</em>, </td>
|
---|
4414 | </tr>
|
---|
4415 | <tr>
|
---|
4416 | <td></td>
|
---|
4417 | <td></td>
|
---|
4418 | <td class="md" nowrap>const int </td>
|
---|
4419 | <td class="mdname" nowrap> <em>startIndex</em>, </td>
|
---|
4420 | </tr>
|
---|
4421 | <tr>
|
---|
4422 | <td></td>
|
---|
4423 | <td></td>
|
---|
4424 | <td class="md" nowrap>const int </td>
|
---|
4425 | <td class="mdname" nowrap> <em>endIndex</em>, </td>
|
---|
4426 | </tr>
|
---|
4427 | <tr>
|
---|
4428 | <td></td>
|
---|
4429 | <td></td>
|
---|
4430 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4431 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
4432 | </tr>
|
---|
4433 | <tr>
|
---|
4434 | <td></td>
|
---|
4435 | <td class="md">) </td>
|
---|
4436 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4437 | </tr>
|
---|
4438 |
|
---|
4439 | </table>
|
---|
4440 | </td>
|
---|
4441 | </tr>
|
---|
4442 | </table>
|
---|
4443 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4444 | <tr>
|
---|
4445 | <td>
|
---|
4446 |
|
---|
4447 | </td>
|
---|
4448 | <td>
|
---|
4449 |
|
---|
4450 | <p>
|
---|
4451 | Create a substring of a givend string.
|
---|
4452 | <p>
|
---|
4453 | The substring begins at the specified beginIndex and extends to the character at index endIndex - 1. <dl compact><dt><b>
|
---|
4454 | Parameters: </b><dd>
|
---|
4455 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4456 | <tr><td valign=top><em>targetStr</em> </td><td>
|
---|
4457 | The string to copy the chars to </td></tr>
|
---|
4458 | <tr><td valign=top><em>srcStr</em> </td><td>
|
---|
4459 | The string to copy the chars from </td></tr>
|
---|
4460 | <tr><td valign=top><em>startIndex</em> </td><td>
|
---|
4461 | beginning index, inclusive. </td></tr>
|
---|
4462 | <tr><td valign=top><em>endIndex</em> </td><td>
|
---|
4463 | the ending index, exclusive. </td></tr>
|
---|
4464 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4465 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
4466 | </table>
|
---|
4467 | </dl> </td>
|
---|
4468 | </tr>
|
---|
4469 | </table>
|
---|
4470 | <a name="z520_8" doxytag="XMLString::textToBin"></a><p>
|
---|
4471 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4472 | <tr>
|
---|
4473 | <td class="md">
|
---|
4474 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4475 | <tr>
|
---|
4476 | <td class="md" nowrap valign="top"> bool XMLString::textToBin </td>
|
---|
4477 | <td class="md" valign="top">( </td>
|
---|
4478 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4479 | <td class="mdname" nowrap> <em>toConvert</em>, </td>
|
---|
4480 | </tr>
|
---|
4481 | <tr>
|
---|
4482 | <td></td>
|
---|
4483 | <td></td>
|
---|
4484 | <td class="md" nowrap>unsigned int & </td>
|
---|
4485 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
4486 | </tr>
|
---|
4487 | <tr>
|
---|
4488 | <td></td>
|
---|
4489 | <td></td>
|
---|
4490 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4491 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
4492 | </tr>
|
---|
4493 | <tr>
|
---|
4494 | <td></td>
|
---|
4495 | <td class="md">) </td>
|
---|
4496 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4497 | </tr>
|
---|
4498 |
|
---|
4499 | </table>
|
---|
4500 | </td>
|
---|
4501 | </tr>
|
---|
4502 | </table>
|
---|
4503 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4504 | <tr>
|
---|
4505 | <td>
|
---|
4506 |
|
---|
4507 | </td>
|
---|
4508 | <td>
|
---|
4509 |
|
---|
4510 | <p>
|
---|
4511 | Converts a string of decimal chars to a binary value.
|
---|
4512 | <p>
|
---|
4513 | Note that leading and trailng whitespace is legal and will be ignored but the remainder must be all decimal digits.<dl compact><dt><b>
|
---|
4514 | Parameters: </b><dd>
|
---|
4515 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4516 | <tr><td valign=top><em>toConvert</em> </td><td>
|
---|
4517 | The string of digits to convert </td></tr>
|
---|
4518 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
4519 | The unsigned int value to fill with the converted value. </td></tr>
|
---|
4520 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4521 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
4522 | </table>
|
---|
4523 | </dl> </td>
|
---|
4524 | </tr>
|
---|
4525 | </table>
|
---|
4526 | <a name="z520_19" doxytag="XMLString::tokenizeString"></a><p>
|
---|
4527 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4528 | <tr>
|
---|
4529 | <td class="md">
|
---|
4530 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4531 | <tr>
|
---|
4532 | <td class="md" nowrap valign="top"> BaseRefVectorOf<XMLCh>* XMLString::tokenizeString </td>
|
---|
4533 | <td class="md" valign="top">( </td>
|
---|
4534 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4535 | <td class="mdname" nowrap> <em>tokenizeSrc</em>, </td>
|
---|
4536 | </tr>
|
---|
4537 | <tr>
|
---|
4538 | <td></td>
|
---|
4539 | <td></td>
|
---|
4540 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4541 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
4542 | </tr>
|
---|
4543 | <tr>
|
---|
4544 | <td></td>
|
---|
4545 | <td class="md">) </td>
|
---|
4546 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4547 | </tr>
|
---|
4548 |
|
---|
4549 | </table>
|
---|
4550 | </td>
|
---|
4551 | </tr>
|
---|
4552 | </table>
|
---|
4553 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4554 | <tr>
|
---|
4555 | <td>
|
---|
4556 |
|
---|
4557 | </td>
|
---|
4558 | <td>
|
---|
4559 |
|
---|
4560 | <p>
|
---|
4561 | Break a string into tokens with space as delimiter, and stored in a string vector.
|
---|
4562 | <p>
|
---|
4563 | The caller owns the string vector that is returned, and is responsible for deleting it. <dl compact><dt><b>
|
---|
4564 | Parameters: </b><dd>
|
---|
4565 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4566 | <tr><td valign=top><em>tokenizeSrc</em> </td><td>
|
---|
4567 | String to be tokenized </td></tr>
|
---|
4568 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4569 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
4570 | </table>
|
---|
4571 | </dl><dl compact><dt><b>
|
---|
4572 | Returns: </b><dd>
|
---|
4573 | a vector of all the tokenized string </dl> </td>
|
---|
4574 | </tr>
|
---|
4575 | </table>
|
---|
4576 | <a name="z520_16" doxytag="XMLString::transcode"></a><p>
|
---|
4577 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4578 | <tr>
|
---|
4579 | <td class="md">
|
---|
4580 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4581 | <tr>
|
---|
4582 | <td class="md" nowrap valign="top"> bool XMLString::transcode </td>
|
---|
4583 | <td class="md" valign="top">( </td>
|
---|
4584 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4585 | <td class="mdname" nowrap> <em>toTranscode</em>, </td>
|
---|
4586 | </tr>
|
---|
4587 | <tr>
|
---|
4588 | <td></td>
|
---|
4589 | <td></td>
|
---|
4590 | <td class="md" nowrap>XMLCh *const </td>
|
---|
4591 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
4592 | </tr>
|
---|
4593 | <tr>
|
---|
4594 | <td></td>
|
---|
4595 | <td></td>
|
---|
4596 | <td class="md" nowrap>const unsigned int </td>
|
---|
4597 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
4598 | </tr>
|
---|
4599 | <tr>
|
---|
4600 | <td></td>
|
---|
4601 | <td></td>
|
---|
4602 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4603 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
4604 | </tr>
|
---|
4605 | <tr>
|
---|
4606 | <td></td>
|
---|
4607 | <td class="md">) </td>
|
---|
4608 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4609 | </tr>
|
---|
4610 |
|
---|
4611 | </table>
|
---|
4612 | </td>
|
---|
4613 | </tr>
|
---|
4614 | </table>
|
---|
4615 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4616 | <tr>
|
---|
4617 | <td>
|
---|
4618 |
|
---|
4619 | </td>
|
---|
4620 | <td>
|
---|
4621 |
|
---|
4622 | <p>
|
---|
4623 | Transcodes a string to native code-page.
|
---|
4624 | <p>
|
---|
4625 | <dl compact><dt><b>
|
---|
4626 | Parameters: </b><dd>
|
---|
4627 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4628 | <tr><td valign=top><em>toTranscode</em> </td><td>
|
---|
4629 | The string tobe transcoded </td></tr>
|
---|
4630 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
4631 | The buffer that is filled with the transcoded value. The size of this buffer should atleast be 'maxChars + 1'. </td></tr>
|
---|
4632 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
4633 | The maximum number of characters that the output buffer can hold (not including the null, which is why toFill should be at least maxChars+1.). </td></tr>
|
---|
4634 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4635 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
4636 | </table>
|
---|
4637 | </dl><dl compact><dt><b>
|
---|
4638 | Returns: </b><dd>
|
---|
4639 | Returns true if successful, false if there was an error </dl> </td>
|
---|
4640 | </tr>
|
---|
4641 | </table>
|
---|
4642 | <a name="z520_15" doxytag="XMLString::transcode"></a><p>
|
---|
4643 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4644 | <tr>
|
---|
4645 | <td class="md">
|
---|
4646 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4647 | <tr>
|
---|
4648 | <td class="md" nowrap valign="top"> XMLCh* XMLString::transcode </td>
|
---|
4649 | <td class="md" valign="top">( </td>
|
---|
4650 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4651 | <td class="mdname" nowrap> <em>toTranscode</em>, </td>
|
---|
4652 | </tr>
|
---|
4653 | <tr>
|
---|
4654 | <td></td>
|
---|
4655 | <td></td>
|
---|
4656 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4657 | <td class="mdname" nowrap> <em>manager</em></td>
|
---|
4658 | </tr>
|
---|
4659 | <tr>
|
---|
4660 | <td></td>
|
---|
4661 | <td class="md">) </td>
|
---|
4662 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4663 | </tr>
|
---|
4664 |
|
---|
4665 | </table>
|
---|
4666 | </td>
|
---|
4667 | </tr>
|
---|
4668 | </table>
|
---|
4669 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4670 | <tr>
|
---|
4671 | <td>
|
---|
4672 |
|
---|
4673 | </td>
|
---|
4674 | <td>
|
---|
4675 |
|
---|
4676 | <p>
|
---|
4677 | </td>
|
---|
4678 | </tr>
|
---|
4679 | </table>
|
---|
4680 | <a name="z520_14" doxytag="XMLString::transcode"></a><p>
|
---|
4681 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4682 | <tr>
|
---|
4683 | <td class="md">
|
---|
4684 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4685 | <tr>
|
---|
4686 | <td class="md" nowrap valign="top"> XMLCh* XMLString::transcode </td>
|
---|
4687 | <td class="md" valign="top">( </td>
|
---|
4688 | <td class="md" nowrap valign="top">const char *const </td>
|
---|
4689 | <td class="mdname1" valign="top" nowrap> <em>toTranscode</em> </td>
|
---|
4690 | <td class="md" valign="top">) </td>
|
---|
4691 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4692 | </tr>
|
---|
4693 |
|
---|
4694 | </table>
|
---|
4695 | </td>
|
---|
4696 | </tr>
|
---|
4697 | </table>
|
---|
4698 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4699 | <tr>
|
---|
4700 | <td>
|
---|
4701 |
|
---|
4702 | </td>
|
---|
4703 | <td>
|
---|
4704 |
|
---|
4705 | <p>
|
---|
4706 | Transcodes a string to native code-page.
|
---|
4707 | <p>
|
---|
4708 | NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed. You can call <a class="el" href="classXMLString.html#z522_0">XMLString::release</a> to release this returned buffer.<dl compact><dt><b>
|
---|
4709 | Parameters: </b><dd>
|
---|
4710 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4711 | <tr><td valign=top><em>toTranscode</em> </td><td>
|
---|
4712 | The string to be transcoded </td></tr>
|
---|
4713 | </table>
|
---|
4714 | </dl><dl compact><dt><b>
|
---|
4715 | Returns: </b><dd>
|
---|
4716 | Returns the transcoded string </dl><dl compact><dt><b>
|
---|
4717 | See also: </b><dd>
|
---|
4718 | <a class="el" href="classXMLString.html#z522_0">XMLString::release</a>(char**) </dl> </td>
|
---|
4719 | </tr>
|
---|
4720 | </table>
|
---|
4721 | <a name="z520_13" doxytag="XMLString::transcode"></a><p>
|
---|
4722 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4723 | <tr>
|
---|
4724 | <td class="md">
|
---|
4725 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4726 | <tr>
|
---|
4727 | <td class="md" nowrap valign="top"> bool XMLString::transcode </td>
|
---|
4728 | <td class="md" valign="top">( </td>
|
---|
4729 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4730 | <td class="mdname" nowrap> <em>toTranscode</em>, </td>
|
---|
4731 | </tr>
|
---|
4732 | <tr>
|
---|
4733 | <td></td>
|
---|
4734 | <td></td>
|
---|
4735 | <td class="md" nowrap>char *const </td>
|
---|
4736 | <td class="mdname" nowrap> <em>toFill</em>, </td>
|
---|
4737 | </tr>
|
---|
4738 | <tr>
|
---|
4739 | <td></td>
|
---|
4740 | <td></td>
|
---|
4741 | <td class="md" nowrap>const unsigned int </td>
|
---|
4742 | <td class="mdname" nowrap> <em>maxChars</em>, </td>
|
---|
4743 | </tr>
|
---|
4744 | <tr>
|
---|
4745 | <td></td>
|
---|
4746 | <td></td>
|
---|
4747 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4748 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
4749 | </tr>
|
---|
4750 | <tr>
|
---|
4751 | <td></td>
|
---|
4752 | <td class="md">) </td>
|
---|
4753 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4754 | </tr>
|
---|
4755 |
|
---|
4756 | </table>
|
---|
4757 | </td>
|
---|
4758 | </tr>
|
---|
4759 | </table>
|
---|
4760 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4761 | <tr>
|
---|
4762 | <td>
|
---|
4763 |
|
---|
4764 | </td>
|
---|
4765 | <td>
|
---|
4766 |
|
---|
4767 | <p>
|
---|
4768 | Transcodes a string to native code-page.
|
---|
4769 | <p>
|
---|
4770 | Be aware that when transcoding to an external encoding, that each Unicode char can create multiple output bytes. So you cannot assume a one to one correspondence of input chars to output bytes.<dl compact><dt><b>
|
---|
4771 | Parameters: </b><dd>
|
---|
4772 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4773 | <tr><td valign=top><em>toTranscode</em> </td><td>
|
---|
4774 | The string tobe transcoded </td></tr>
|
---|
4775 | <tr><td valign=top><em>toFill</em> </td><td>
|
---|
4776 | The buffer that is filled with the transcoded value. The size of this buffer should atleast be 'maxChars + 1'. </td></tr>
|
---|
4777 | <tr><td valign=top><em>maxChars</em> </td><td>
|
---|
4778 | The maximum number of bytes that the output buffer can hold (not including the null, which is why toFill should be at least maxChars+1.). </td></tr>
|
---|
4779 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
4780 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
4781 | </table>
|
---|
4782 | </dl><dl compact><dt><b>
|
---|
4783 | Returns: </b><dd>
|
---|
4784 | Returns true if successful, false if there was an error </dl> </td>
|
---|
4785 | </tr>
|
---|
4786 | </table>
|
---|
4787 | <a name="z520_12" doxytag="XMLString::transcode"></a><p>
|
---|
4788 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4789 | <tr>
|
---|
4790 | <td class="md">
|
---|
4791 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4792 | <tr>
|
---|
4793 | <td class="md" nowrap valign="top"> char* XMLString::transcode </td>
|
---|
4794 | <td class="md" valign="top">( </td>
|
---|
4795 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4796 | <td class="mdname" nowrap> <em>toTranscode</em>, </td>
|
---|
4797 | </tr>
|
---|
4798 | <tr>
|
---|
4799 | <td></td>
|
---|
4800 | <td></td>
|
---|
4801 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
4802 | <td class="mdname" nowrap> <em>manager</em></td>
|
---|
4803 | </tr>
|
---|
4804 | <tr>
|
---|
4805 | <td></td>
|
---|
4806 | <td class="md">) </td>
|
---|
4807 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
4808 | </tr>
|
---|
4809 |
|
---|
4810 | </table>
|
---|
4811 | </td>
|
---|
4812 | </tr>
|
---|
4813 | </table>
|
---|
4814 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4815 | <tr>
|
---|
4816 | <td>
|
---|
4817 |
|
---|
4818 | </td>
|
---|
4819 | <td>
|
---|
4820 |
|
---|
4821 | <p>
|
---|
4822 | </td>
|
---|
4823 | </tr>
|
---|
4824 | </table>
|
---|
4825 | <a name="z520_11" doxytag="XMLString::transcode"></a><p>
|
---|
4826 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4827 | <tr>
|
---|
4828 | <td class="md">
|
---|
4829 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4830 | <tr>
|
---|
4831 | <td class="md" nowrap valign="top"> char* XMLString::transcode </td>
|
---|
4832 | <td class="md" valign="top">( </td>
|
---|
4833 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
4834 | <td class="mdname1" valign="top" nowrap> <em>toTranscode</em> </td>
|
---|
4835 | <td class="md" valign="top">) </td>
|
---|
4836 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4837 | </tr>
|
---|
4838 |
|
---|
4839 | </table>
|
---|
4840 | </td>
|
---|
4841 | </tr>
|
---|
4842 | </table>
|
---|
4843 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4844 | <tr>
|
---|
4845 | <td>
|
---|
4846 |
|
---|
4847 | </td>
|
---|
4848 | <td>
|
---|
4849 |
|
---|
4850 | <p>
|
---|
4851 | Transcodes a string to native code-page.
|
---|
4852 | <p>
|
---|
4853 | NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed. You can call <a class="el" href="classXMLString.html#z522_0">XMLString::release</a> to release this returned buffer.<dl compact><dt><b>
|
---|
4854 | Parameters: </b><dd>
|
---|
4855 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4856 | <tr><td valign=top><em>toTranscode</em> </td><td>
|
---|
4857 | The string to be transcoded </td></tr>
|
---|
4858 | </table>
|
---|
4859 | </dl><dl compact><dt><b>
|
---|
4860 | Returns: </b><dd>
|
---|
4861 | Returns the transcoded string </dl><dl compact><dt><b>
|
---|
4862 | See also: </b><dd>
|
---|
4863 | <a class="el" href="classXMLString.html#z522_1">XMLString::release</a>(XMLCh**) </dl> </td>
|
---|
4864 | </tr>
|
---|
4865 | </table>
|
---|
4866 | <a name="z520_18" doxytag="XMLString::trim"></a><p>
|
---|
4867 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4868 | <tr>
|
---|
4869 | <td class="md">
|
---|
4870 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4871 | <tr>
|
---|
4872 | <td class="md" nowrap valign="top"> void XMLString::trim </td>
|
---|
4873 | <td class="md" valign="top">( </td>
|
---|
4874 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
4875 | <td class="mdname1" valign="top" nowrap> <em>toTrim</em> </td>
|
---|
4876 | <td class="md" valign="top">) </td>
|
---|
4877 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4878 | </tr>
|
---|
4879 |
|
---|
4880 | </table>
|
---|
4881 | </td>
|
---|
4882 | </tr>
|
---|
4883 | </table>
|
---|
4884 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4885 | <tr>
|
---|
4886 | <td>
|
---|
4887 |
|
---|
4888 | </td>
|
---|
4889 | <td>
|
---|
4890 |
|
---|
4891 | <p>
|
---|
4892 | Trims off extra space characters from the start and end of the string, moving the non-space string content back to the start.
|
---|
4893 | <p>
|
---|
4894 | <dl compact><dt><b>
|
---|
4895 | Parameters: </b><dd>
|
---|
4896 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4897 | <tr><td valign=top><em>toTrim</em> </td><td>
|
---|
4898 | The string to be trimmed. On return this contains the trimmed string </td></tr>
|
---|
4899 | </table>
|
---|
4900 | </dl> </td>
|
---|
4901 | </tr>
|
---|
4902 | </table>
|
---|
4903 | <a name="z520_17" doxytag="XMLString::trim"></a><p>
|
---|
4904 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4905 | <tr>
|
---|
4906 | <td class="md">
|
---|
4907 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4908 | <tr>
|
---|
4909 | <td class="md" nowrap valign="top"> void XMLString::trim </td>
|
---|
4910 | <td class="md" valign="top">( </td>
|
---|
4911 | <td class="md" nowrap valign="top">char *const </td>
|
---|
4912 | <td class="mdname1" valign="top" nowrap> <em>toTrim</em> </td>
|
---|
4913 | <td class="md" valign="top">) </td>
|
---|
4914 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4915 | </tr>
|
---|
4916 |
|
---|
4917 | </table>
|
---|
4918 | </td>
|
---|
4919 | </tr>
|
---|
4920 | </table>
|
---|
4921 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4922 | <tr>
|
---|
4923 | <td>
|
---|
4924 |
|
---|
4925 | </td>
|
---|
4926 | <td>
|
---|
4927 |
|
---|
4928 | <p>
|
---|
4929 | Trims off extra space characters from the start and end of the string, moving the non-space string content back to the start.
|
---|
4930 | <p>
|
---|
4931 | <dl compact><dt><b>
|
---|
4932 | Parameters: </b><dd>
|
---|
4933 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4934 | <tr><td valign=top><em>toTrim</em> </td><td>
|
---|
4935 | The string to be trimmed. On return this contains the trimmed string </td></tr>
|
---|
4936 | </table>
|
---|
4937 | </dl> </td>
|
---|
4938 | </tr>
|
---|
4939 | </table>
|
---|
4940 | <a name="z521_2" doxytag="XMLString::upperCase"></a><p>
|
---|
4941 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4942 | <tr>
|
---|
4943 | <td class="md">
|
---|
4944 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4945 | <tr>
|
---|
4946 | <td class="md" nowrap valign="top"> void XMLString::upperCase </td>
|
---|
4947 | <td class="md" valign="top">( </td>
|
---|
4948 | <td class="md" nowrap valign="top">XMLCh *const </td>
|
---|
4949 | <td class="mdname1" valign="top" nowrap> <em>toUpperCase</em> </td>
|
---|
4950 | <td class="md" valign="top">) </td>
|
---|
4951 | <td class="md" nowrap><code> [static]</code></td>
|
---|
4952 | </tr>
|
---|
4953 |
|
---|
4954 | </table>
|
---|
4955 | </td>
|
---|
4956 | </tr>
|
---|
4957 | </table>
|
---|
4958 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4959 | <tr>
|
---|
4960 | <td>
|
---|
4961 |
|
---|
4962 | </td>
|
---|
4963 | <td>
|
---|
4964 |
|
---|
4965 | <p>
|
---|
4966 | Converts a string to uppercase.
|
---|
4967 | <p>
|
---|
4968 | <dl compact><dt><b>
|
---|
4969 | Parameters: </b><dd>
|
---|
4970 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
4971 | <tr><td valign=top><em>toUpperCase</em> </td><td>
|
---|
4972 | The string which needs to be converted to uppercase. On return, this buffer also holds the converted uppercase string </td></tr>
|
---|
4973 | </table>
|
---|
4974 | </dl> </td>
|
---|
4975 | </tr>
|
---|
4976 | </table>
|
---|
4977 | <hr><h2>Friends And Related Function Documentation</h2>
|
---|
4978 | <a name="l0" doxytag="XMLString::XMLPlatformUtils"></a><p>
|
---|
4979 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
4980 | <tr>
|
---|
4981 | <td class="md">
|
---|
4982 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
4983 | <tr>
|
---|
4984 | <td class="md" nowrap valign="top"> friend class XMLPlatformUtils<code> [friend]</code>
|
---|
4985 | </table>
|
---|
4986 | </td>
|
---|
4987 | </tr>
|
---|
4988 | </table>
|
---|
4989 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
4990 | <tr>
|
---|
4991 | <td>
|
---|
4992 |
|
---|
4993 | </td>
|
---|
4994 | <td>
|
---|
4995 |
|
---|
4996 | <p>
|
---|
4997 | </td>
|
---|
4998 | </tr>
|
---|
4999 | </table>
|
---|
5000 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
5001 | <li><a class="el" href="XMLString_8hpp-source.html">XMLString.hpp</a></ul>
|
---|
5002 | </FONT></TD></TR></TABLE><BR>
|
---|
5003 | </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
|
---|
5004 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
5005 | All Rights Reserved.
|
---|
5006 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|