source: NonGTP/Xerces/xerces/doc/html/apiDocs/XMLChar_8hpp-source.html @ 358

Revision 358, 46.2 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLChar.hpp Source File</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">&nbsp;</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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>XMLChar.hpp</h1><a href="XMLChar_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
4500002 <font class="comment"> * Copyright 2002,2004 The Apache Software Foundation.</font>
4600003 <font class="comment"> * </font>
4700004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
4800005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
4900006 <font class="comment"> * You may obtain a copy of the License at</font>
5000007 <font class="comment"> * </font>
5100008 <font class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</font>
5200009 <font class="comment"> * </font>
5300010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
5400011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
5500012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
5600013 <font class="comment"> * See the License for the specific language governing permissions and</font>
5700014 <font class="comment"> * limitations under the License.</font>
5800015 <font class="comment"> */</font>
5900016
6000017 <font class="comment">/*</font>
6100018 <font class="comment"> * $Log: XMLChar.hpp,v $</font>
6200019 <font class="comment"> * Revision 1.5  2004/09/08 13:56:24  peiyongz</font>
6300020 <font class="comment"> * Apache License Version 2.0</font>
6400021 <font class="comment"> *</font>
6500022 <font class="comment"> * Revision 1.4  2004/08/11 16:08:04  peiyongz</font>
6600023 <font class="comment"> * isValidNmToken</font>
6700024 <font class="comment"> *</font>
6800025 <font class="comment"> * Revision 1.3  2004/01/29 11:48:47  cargilld</font>
6900026 <font class="comment"> * Code cleanup changes to get rid of various compiler diagnostic messages.</font>
7000027 <font class="comment"> *</font>
7100028 <font class="comment"> * Revision 1.2  2003/08/14 02:57:27  knoaman</font>
7200029 <font class="comment"> * Code refactoring to improve performance of validation.</font>
7300030 <font class="comment"> *</font>
7400031 <font class="comment"> * Revision 1.1  2002/12/20 22:10:21  tng</font>
7500032 <font class="comment"> * XML 1.1</font>
7600033 <font class="comment"> *</font>
7700034 <font class="comment"> */</font>
7800035
7900036 <font class="preprocessor">#if !defined(XMLCHAR_HPP)</font>
80<a name="l00037"></a><a class="code" href="XMLChar_8hpp.html#a0">00037</a> <font class="preprocessor"></font><font class="preprocessor">#define XMLCHAR_HPP</font>
8100038 <font class="preprocessor"></font>
8200039 <font class="preprocessor">#include &lt;<a class="code" href="XMLUniDefs_8hpp.html">xercesc/util/XMLUniDefs.hpp</a>&gt;</font>
8300040
8400041 <a class="code" href="XercesDefs_8hpp.html#a2">XERCES_CPP_NAMESPACE_BEGIN</a>
8500042
8600043 <font class="comment">// ---------------------------------------------------------------------------</font>
8700044 <font class="comment">//  This file defines Char and utility that conforms to XML 1.0 and XML 1.1</font>
8800045 <font class="comment">// ---------------------------------------------------------------------------</font>
8900046 <font class="comment">// Masks for the fgCharCharsTable1_0 array</font>
90<a name="l00047"></a><a class="code" href="XMLChar_8hpp.html#a1">00047</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a1">gLetterCharMask</a>             = 0x1;
91<a name="l00048"></a><a class="code" href="XMLChar_8hpp.html#a2">00048</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a2">gFirstNameCharMask</a>          = 0x2;
92<a name="l00049"></a><a class="code" href="XMLChar_8hpp.html#a3">00049</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a3">gNameCharMask</a>               = 0x4;
93<a name="l00050"></a><a class="code" href="XMLChar_8hpp.html#a4">00050</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a4">gPlainContentCharMask</a>       = 0x8;
94<a name="l00051"></a><a class="code" href="XMLChar_8hpp.html#a5">00051</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a5">gSpecialStartTagCharMask</a>    = 0x10;
95<a name="l00052"></a><a class="code" href="XMLChar_8hpp.html#a6">00052</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a6">gControlCharMask</a>            = 0x20;
96<a name="l00053"></a><a class="code" href="XMLChar_8hpp.html#a7">00053</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a7">gXMLCharMask</a>                = 0x40;
97<a name="l00054"></a><a class="code" href="XMLChar_8hpp.html#a8">00054</a> <font class="keyword">const</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>   <a class="code" href="XMLChar_8hpp.html#a8">gWhitespaceCharMask</a>         = 0x80;
9800055
9900056 <font class="comment">// ---------------------------------------------------------------------------</font>
10000057 <font class="comment">//  This class is for XML 1.0</font>
10100058 <font class="comment">// ---------------------------------------------------------------------------</font>
102<a name="l00059"></a><a class="code" href="classXMLChar1__0.html">00059</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a8"></a> <a class="code" href="classXMLChar1__0.html">XMLChar1_0</a>
10300060 {
10400061 <font class="keyword">public</font>:
10500062     <font class="comment">// -----------------------------------------------------------------------</font>
10600063     <font class="comment">//  Public, static methods, check the string</font>
10700064     <font class="comment">// -----------------------------------------------------------------------</font>
10800065     <font class="keyword">static</font> <font class="keywordtype">bool</font> isAllSpaces
10900066     (
11000067         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
11100068         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
11200069     );
11300070
11400071     <font class="keyword">static</font> <font class="keywordtype">bool</font> containsWhiteSpace
11500072     (
11600073         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
11700074         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
11800075     );
11900076
12000077     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidNmtoken
12100078     (
12200079         <font class="keyword">const</font>   XMLCh*        <font class="keyword">const</font>    toCheck
12300080       , <font class="keyword">const</font>   <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>           count
12400081     );
12500082
12600083     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidName
12700084     (
12800085         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
12900086         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
13000087     );
13100088
13200089     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidNCName
13300090     (
13400091         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
13500092         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
13600093     );
13700094
13800095     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidQName
13900096     (
14000097         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
14100098         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
14200099     );
14300100
14400101     <font class="comment">// -----------------------------------------------------------------------</font>
14500102     <font class="comment">//  Public, static methods, check the XMLCh</font>
14600103     <font class="comment">//  surrogate pair is assumed if second parameter is not null</font>
14700104     <font class="comment">// -----------------------------------------------------------------------</font>
14800105     <font class="keyword">static</font> <font class="keywordtype">bool</font> isXMLLetter(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
14900106     <font class="keyword">static</font> <font class="keywordtype">bool</font> isFirstNameChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15000107     <font class="keyword">static</font> <font class="keywordtype">bool</font> isNameChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15100108     <font class="keyword">static</font> <font class="keywordtype">bool</font> isPlainContentChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15200109     <font class="keyword">static</font> <font class="keywordtype">bool</font> isSpecialStartTagChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15300110     <font class="keyword">static</font> <font class="keywordtype">bool</font> isXMLChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15400111     <font class="keyword">static</font> <font class="keywordtype">bool</font> isWhitespace(<font class="keyword">const</font> XMLCh toCheck);
15500112     <font class="keyword">static</font> <font class="keywordtype">bool</font> isWhitespace(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2);
15600113     <font class="keyword">static</font> <font class="keywordtype">bool</font> isControlChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15700114
15800115     <font class="keyword">static</font> <font class="keywordtype">bool</font> isPublicIdChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
15900116
16000117     <font class="comment">// -----------------------------------------------------------------------</font>
16100118     <font class="comment">//  Special Non-conformant Public, static methods</font>
16200119     <font class="comment">// -----------------------------------------------------------------------</font>
16300123 <font class="comment"></font>    <font class="keyword">static</font> <font class="keywordtype">bool</font> isNELRecognized();
16400124
16500128     <font class="keyword">static</font> <font class="keywordtype">void</font> enableNELWS();
16600129
16700130 <font class="keyword">private</font>:
16800131     <font class="comment">// -----------------------------------------------------------------------</font>
16900132     <font class="comment">//  Unimplemented constructors and operators</font>
17000133     <font class="comment">// -----------------------------------------------------------------------</font>
17100134     <a class="code" href="classXMLChar1__0.html">XMLChar1_0</a>();
17200135
17300136     <font class="comment">// -----------------------------------------------------------------------</font>
17400137     <font class="comment">//  Static data members</font>
17500138     <font class="comment">//</font>
17600139     <font class="comment">//  fgCharCharsTable1_0</font>
17700140     <font class="comment">//      The character characteristics table. Bits in each byte, represent</font>
17800141     <font class="comment">//      the characteristics of each character. It is generated via some</font>
17900142     <font class="comment">//      code and then hard coded into the cpp file for speed.</font>
18000143     <font class="comment">//</font>
18100144     <font class="comment">//  fNEL</font>
18200145     <font class="comment">//      Flag to respresents whether NEL and LSEP newline recognition is enabled</font>
18300146     <font class="comment">//      or disabled</font>
18400147     <font class="comment">// -----------------------------------------------------------------------</font>
18500148     <font class="keyword">static</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>  fgCharCharsTable1_0[0x10000];
18600149     <font class="keyword">static</font> <font class="keywordtype">bool</font>     enableNEL;
18700150
188<a name="l00151"></a><a class="code" href="classXMLChar1__0.html#l0">00151</a>     <font class="keyword">friend</font> <font class="keyword">class </font>XMLReader;
18900152 };
19000153
19100154
19200155 <font class="comment">// ---------------------------------------------------------------------------</font>
19300156 <font class="comment">//  XMLReader: Public, static methods</font>
19400157 <font class="comment">// ---------------------------------------------------------------------------</font>
195<a name="l00158"></a><a class="code" href="classXMLChar1__0.html#d6">00158</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d6">XMLChar1_0::isXMLLetter</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
19600159 {
19700160     <font class="keywordflow">if</font> (!toCheck2)
19800161         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a1">gLetterCharMask</a>) != 0);
19900162     <font class="keywordflow">return</font> <font class="keyword">false</font>;
20000163 }
20100164
202<a name="l00165"></a><a class="code" href="classXMLChar1__0.html#d7">00165</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d7">XMLChar1_0::isFirstNameChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
20300166 {
20400167     <font class="keywordflow">if</font> (!toCheck2)
20500168         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a2">gFirstNameCharMask</a>) != 0);
20600169     <font class="keywordflow">return</font> <font class="keyword">false</font>;
20700170 }
20800171
209<a name="l00172"></a><a class="code" href="classXMLChar1__0.html#d8">00172</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d8">XMLChar1_0::isNameChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
21000173 {
21100174     <font class="keywordflow">if</font> (!toCheck2)
21200175         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a3">gNameCharMask</a>) != 0);
21300176     <font class="keywordflow">return</font> <font class="keyword">false</font>;
21400177 }
21500178
216<a name="l00179"></a><a class="code" href="classXMLChar1__0.html#d9">00179</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d9">XMLChar1_0::isPlainContentChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
21700180 {
21800181     <font class="keywordflow">if</font> (!toCheck2)
21900182         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a4">gPlainContentCharMask</a>) != 0);
22000183     <font class="keywordflow">else</font> {
22100184         <font class="keywordflow">if</font> ((toCheck &gt;= 0xD800) &amp;&amp; (toCheck &lt;= 0xDBFF))
22200185            <font class="keywordflow">if</font> ((toCheck2 &gt;= 0xDC00) &amp;&amp; (toCheck2 &lt;= 0xDFFF))
22300186                <font class="keywordflow">return</font> <font class="keyword">true</font>;
22400187     }
22500188     <font class="keywordflow">return</font> <font class="keyword">false</font>;
22600189 }
22700190
22800191
229<a name="l00192"></a><a class="code" href="classXMLChar1__0.html#d10">00192</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d10">XMLChar1_0::isSpecialStartTagChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
23000193 {
23100194     <font class="keywordflow">if</font> (!toCheck2)
23200195         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a5">gSpecialStartTagCharMask</a>) != 0);
23300196     <font class="keywordflow">return</font> <font class="keyword">false</font>;
23400197 }
23500198
236<a name="l00199"></a><a class="code" href="classXMLChar1__0.html#d11">00199</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d11">XMLChar1_0::isXMLChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
23700200 {
23800201     <font class="keywordflow">if</font> (!toCheck2)
23900202         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a7">gXMLCharMask</a>) != 0);
24000203     <font class="keywordflow">else</font> {
24100204         <font class="keywordflow">if</font> ((toCheck &gt;= 0xD800) &amp;&amp; (toCheck &lt;= 0xDBFF))
24200205            <font class="keywordflow">if</font> ((toCheck2 &gt;= 0xDC00) &amp;&amp; (toCheck2 &lt;= 0xDFFF))
24300206                <font class="keywordflow">return</font> <font class="keyword">true</font>;
24400207     }
24500208     <font class="keywordflow">return</font> <font class="keyword">false</font>;
24600209 }
24700210
248<a name="l00211"></a><a class="code" href="classXMLChar1__0.html#d12">00211</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d12">XMLChar1_0::isWhitespace</a>(<font class="keyword">const</font> XMLCh toCheck)
24900212 {
25000213     <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a8">gWhitespaceCharMask</a>) != 0);
25100214 }
25200215
253<a name="l00216"></a><a class="code" href="classXMLChar1__0.html#d13">00216</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d12">XMLChar1_0::isWhitespace</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
25400217 {
25500218     <font class="keywordflow">if</font> (!toCheck2)
25600219         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a8">gWhitespaceCharMask</a>) != 0);
25700220     <font class="keywordflow">return</font> <font class="keyword">false</font>;
25800221 }
25900222
260<a name="l00223"></a><a class="code" href="classXMLChar1__0.html#d14">00223</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d14">XMLChar1_0::isControlChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
26100224 {
26200225     <font class="keywordflow">if</font> (!toCheck2)
26300226         <font class="keywordflow">return</font> ((fgCharCharsTable1_0[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a6">gControlCharMask</a>) != 0);
26400227     <font class="keywordflow">return</font> <font class="keyword">false</font>;
26500228 }
26600229
267<a name="l00230"></a><a class="code" href="classXMLChar1__0.html#d16">00230</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__0.html#d16">XMLChar1_0::isNELRecognized</a>() {
26800231
26900232     <font class="keywordflow">return</font> enableNEL;
27000233 }
27100234
27200235
27300236 <font class="comment">// ---------------------------------------------------------------------------</font>
27400237 <font class="comment">//  This class is for XML 1.1</font>
27500238 <font class="comment">// ---------------------------------------------------------------------------</font>
276<a name="l00239"></a><a class="code" href="classXMLChar1__1.html">00239</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a8"></a> XMLChar1_1
27700240 {
27800241 <font class="keyword">public</font>:
27900242     <font class="comment">// -----------------------------------------------------------------------</font>
28000243     <font class="comment">//  Public, static methods, check the string</font>
28100244     <font class="comment">// -----------------------------------------------------------------------</font>
28200245     <font class="keyword">static</font> <font class="keywordtype">bool</font> isAllSpaces
28300246     (
28400247         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
28500248         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
28600249     );
28700250
28800251     <font class="keyword">static</font> <font class="keywordtype">bool</font> containsWhiteSpace
28900252     (
29000253         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
29100254         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
29200255     );
29300256
29400257     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidNmtoken
29500258     (
29600259         <font class="keyword">const</font>   XMLCh*        <font class="keyword">const</font>    toCheck
29700260       , <font class="keyword">const</font>   <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>           count
29800261     );
29900262
30000263     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidName
30100264     (
30200265         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
30300266         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
30400267     );
30500268
30600269     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidNCName
30700270     (
30800271         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
30900272         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
31000273     );
31100274
31200275     <font class="keyword">static</font> <font class="keywordtype">bool</font> isValidQName
31300276     (
31400277         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toCheck
31500278         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    count
31600279     );
31700280
31800281     <font class="comment">// -----------------------------------------------------------------------</font>
31900282     <font class="comment">//  Public, static methods, check the XMLCh</font>
32000283     <font class="comment">// -----------------------------------------------------------------------</font>
32100284     <font class="keyword">static</font> <font class="keywordtype">bool</font> isXMLLetter(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32200285     <font class="keyword">static</font> <font class="keywordtype">bool</font> isFirstNameChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32300286     <font class="keyword">static</font> <font class="keywordtype">bool</font> isNameChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32400287     <font class="keyword">static</font> <font class="keywordtype">bool</font> isPlainContentChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32500288     <font class="keyword">static</font> <font class="keywordtype">bool</font> isSpecialStartTagChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32600289     <font class="keyword">static</font> <font class="keywordtype">bool</font> isXMLChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32700290     <font class="keyword">static</font> <font class="keywordtype">bool</font> isWhitespace(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32800291     <font class="keyword">static</font> <font class="keywordtype">bool</font> isControlChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
32900292
33000293     <font class="keyword">static</font> <font class="keywordtype">bool</font> isPublicIdChar(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2 = 0);
33100294
33200295 <font class="keyword">private</font>:
33300296     <font class="comment">// -----------------------------------------------------------------------</font>
33400297     <font class="comment">//  Unimplemented constructors and operators</font>
33500298     <font class="comment">// -----------------------------------------------------------------------</font>
33600299     XMLChar1_1();
33700300
33800301     <font class="comment">// -----------------------------------------------------------------------</font>
33900302     <font class="comment">//  Static data members</font>
34000303     <font class="comment">//</font>
34100304     <font class="comment">//  fgCharCharsTable1_1</font>
34200305     <font class="comment">//      The character characteristics table. Bits in each byte, represent</font>
34300306     <font class="comment">//      the characteristics of each character. It is generated via some</font>
34400307     <font class="comment">//      code and then hard coded into the cpp file for speed.</font>
34500308     <font class="comment">//</font>
34600309     <font class="comment">// -----------------------------------------------------------------------</font>
34700310     <font class="keyword">static</font> <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>  fgCharCharsTable1_1[0x10000];
34800311
349<a name="l00312"></a><a class="code" href="classXMLChar1__1.html#l0">00312</a>     <font class="keyword">friend</font> <font class="keyword">class </font>XMLReader;
35000313 };
35100314
35200315
35300316 <font class="comment">// ---------------------------------------------------------------------------</font>
35400317 <font class="comment">//  XMLReader: Public, static methods</font>
35500318 <font class="comment">// ---------------------------------------------------------------------------</font>
356<a name="l00319"></a><a class="code" href="classXMLChar1__1.html#d6">00319</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d6">XMLChar1_1::isXMLLetter</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
35700320 {
35800321     <font class="keywordflow">if</font> (!toCheck2)
35900322         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a1">gLetterCharMask</a>) != 0);
36000323     <font class="keywordflow">return</font> <font class="keyword">false</font>;
36100324 }
36200325
363<a name="l00326"></a><a class="code" href="classXMLChar1__1.html#d7">00326</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d7">XMLChar1_1::isFirstNameChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
36400327 {
36500328     <font class="keywordflow">if</font> (!toCheck2)
36600329         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a2">gFirstNameCharMask</a>) != 0);
36700330     <font class="keywordflow">else</font> {
36800331         <font class="keywordflow">if</font> ((toCheck &gt;= 0xD800) &amp;&amp; (toCheck &lt;= 0xDB7F))
36900332            <font class="keywordflow">if</font> ((toCheck2 &gt;= 0xDC00) &amp;&amp; (toCheck2 &lt;= 0xDFFF))
37000333                <font class="keywordflow">return</font> <font class="keyword">true</font>;
37100334     }
37200335     <font class="keywordflow">return</font> <font class="keyword">false</font>;
37300336 }
37400337
375<a name="l00338"></a><a class="code" href="classXMLChar1__1.html#d8">00338</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d8">XMLChar1_1::isNameChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
37600339 {
37700340     <font class="keywordflow">if</font> (!toCheck2)
37800341         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a3">gNameCharMask</a>) != 0);
37900342     <font class="keywordflow">else</font> {
38000343         <font class="keywordflow">if</font> ((toCheck &gt;= 0xD800) &amp;&amp; (toCheck &lt;= 0xDB7F))
38100344            <font class="keywordflow">if</font> ((toCheck2 &gt;= 0xDC00) &amp;&amp; (toCheck2 &lt;= 0xDFFF))
38200345                <font class="keywordflow">return</font> <font class="keyword">true</font>;
38300346     }
38400347     <font class="keywordflow">return</font> <font class="keyword">false</font>;
38500348 }
38600349
387<a name="l00350"></a><a class="code" href="classXMLChar1__1.html#d9">00350</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d9">XMLChar1_1::isPlainContentChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
38800351 {
38900352     <font class="keywordflow">if</font> (!toCheck2)
39000353         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a4">gPlainContentCharMask</a>) != 0);
39100354     <font class="keywordflow">else</font> {
39200355         <font class="keywordflow">if</font> ((toCheck &gt;= 0xD800) &amp;&amp; (toCheck &lt;= 0xDBFF))
39300356            <font class="keywordflow">if</font> ((toCheck2 &gt;= 0xDC00) &amp;&amp; (toCheck2 &lt;= 0xDFFF))
39400357                <font class="keywordflow">return</font> <font class="keyword">true</font>;
39500358     }
39600359     <font class="keywordflow">return</font> <font class="keyword">false</font>;
39700360 }
39800361
39900362
400<a name="l00363"></a><a class="code" href="classXMLChar1__1.html#d10">00363</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d10">XMLChar1_1::isSpecialStartTagChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
40100364 {
40200365     <font class="keywordflow">if</font> (!toCheck2)
40300366         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a5">gSpecialStartTagCharMask</a>) != 0);
40400367     <font class="keywordflow">return</font> <font class="keyword">false</font>;
40500368 }
40600369
407<a name="l00370"></a><a class="code" href="classXMLChar1__1.html#d11">00370</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d11">XMLChar1_1::isXMLChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
40800371 {
40900372     <font class="keywordflow">if</font> (!toCheck2)
41000373         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a7">gXMLCharMask</a>) != 0);
41100374     <font class="keywordflow">else</font> {
41200375         <font class="keywordflow">if</font> ((toCheck &gt;= 0xD800) &amp;&amp; (toCheck &lt;= 0xDBFF))
41300376            <font class="keywordflow">if</font> ((toCheck2 &gt;= 0xDC00) &amp;&amp; (toCheck2 &lt;= 0xDFFF))
41400377                <font class="keywordflow">return</font> <font class="keyword">true</font>;
41500378     }
41600379     <font class="keywordflow">return</font> <font class="keyword">false</font>;
41700380 }
41800381
419<a name="l00382"></a><a class="code" href="classXMLChar1__1.html#d12">00382</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d12">XMLChar1_1::isWhitespace</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
42000383 {
42100384     <font class="keywordflow">if</font> (!toCheck2)
42200385         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a8">gWhitespaceCharMask</a>) != 0);
42300386     <font class="keywordflow">return</font> <font class="keyword">false</font>;
42400387 }
42500388
426<a name="l00389"></a><a class="code" href="classXMLChar1__1.html#d13">00389</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> <a class="code" href="classXMLChar1__1.html#d13">XMLChar1_1::isControlChar</a>(<font class="keyword">const</font> XMLCh toCheck, <font class="keyword">const</font> XMLCh toCheck2)
42700390 {
42800391     <font class="keywordflow">if</font> (!toCheck2)
42900392         <font class="keywordflow">return</font> ((fgCharCharsTable1_1[toCheck] &amp; <a class="code" href="XMLChar_8hpp.html#a6">gControlCharMask</a>) != 0);
43000393     <font class="keywordflow">return</font> <font class="keyword">false</font>;
43100394 }
43200395
43300396
43400397 <a class="code" href="XercesDefs_8hpp.html#a3">XERCES_CPP_NAMESPACE_END</a>
43500398
43600399 <font class="preprocessor">#endif</font>
437</pre></div>    </FONT></TD></TR></TABLE><BR>
438</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>
439              Copyright &copy; 1994-2004 The Apache Software Foundation.
440              All Rights Reserved.
441            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.