Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > ee493823148ed6fb895c827f4e36eb1c > files > 1067

xerces-c-doc-2.7.0-7mdv2008.1.x86_64.rpm

<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XSModel.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>
  <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <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>
     <A href="../charter.html" onMouseOut="rolloverOff('side-charter');" onMouseOver="rolloverOn('side-charter');"><IMG alt="Charter" border="0" height="12" hspace="0" name="side-charter" onLoad="rolloverLoad('side-charter','../graphics/charter-label-2.jpg','../graphics/charter-label-3.jpg');" src="../graphics/charter-label-3.jpg" vspace="0" width="120"></A><BR>
     <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>
     
     




  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <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>
     <A href="http://xml.apache.org/xerces-c/download.cgi" onMouseOut="rolloverOff('side-ext-20');" onMouseOver="rolloverOn('side-ext-20');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-20" onLoad="rolloverLoad('side-ext-20','../graphics/ext-20-label-2.jpg','../graphics/ext-20-label-3.jpg');" src="../graphics/ext-20-label-3.jpg" vspace="0" width="120"></A><BR>
     <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build Instructions" 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>
     
     
     

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <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>

     <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>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

     <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

     <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-70');" onMouseOver="rolloverOn('side-ext-70');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-70" onLoad="rolloverLoad('side-ext-70','../graphics/ext-70-label-2.jpg','../graphics/ext-70-label-3.jpg');" src="../graphics/ext-70-label-3.jpg" vspace="0" width="120"></A><BR>

     <IMG alt="Programming" border="0" height="12" hspace="0" src="../graphics/program-label-1.jpg" vspace="0" width="120"><BR>
     
     
     
     
     
     
     

     <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>
     
     
  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <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>
  <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>
  <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

   
<A href="http://svn.apache.org/viewcvs.cgi/xerces/?root=Apache-SVN" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Source Repository" 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>

   
<A href="http://marc.theaimsgroup.com/?l=xerces-c-users" onMouseOut="rolloverOff('side-ext-104');" onMouseOver="rolloverOn('side-ext-104');"><IMG alt="User Mail Archive" border="0" height="12" hspace="0" name="side-ext-104" onLoad="rolloverLoad('side-ext-104','../graphics/ext-104-label-2.jpg','../graphics/ext-104-label-3.jpg');" src="../graphics/ext-104-label-3.jpg" vspace="0" width="120"></A><BR>

   
<A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-106');" onMouseOver="rolloverOn('side-ext-106');"><IMG alt="Devel Mail Archive" border="0" height="12" hspace="0" name="side-ext-106" onLoad="rolloverLoad('side-ext-106','../graphics/ext-106-label-2.jpg','../graphics/ext-106-label-3.jpg');" src="../graphics/ext-106-label-3.jpg" vspace="0" width="120"></A><BR>




<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>
    <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">

	    <P>
<!-- Generated by Doxygen 1.4.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">src</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">xercesc</a>&nbsp;/&nbsp;<a class="el" href="dir_000006.html">framework</a>&nbsp;/&nbsp;<a class="el" href="dir_000008.html">psvi</a></div>
<h1>XSModel.hpp</h1><a href="XSModel_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Copyright 2003,2004 The Apache Software Foundation.</span>
00003 <span class="comment"> * </span>
00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
00005 <span class="comment"> * you may not use this file except in compliance with the License.</span>
00006 <span class="comment"> * You may obtain a copy of the License at</span>
00007 <span class="comment"> * </span>
00008 <span class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</span>
00009 <span class="comment"> * </span>
00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00013 <span class="comment"> * See the License for the specific language governing permissions and</span>
00014 <span class="comment"> * limitations under the License.</span>
00015 <span class="comment"> */</span>
00016 
00017 <span class="comment">/*</span>
00018 <span class="comment"> * $Id: XSModel.hpp 191054 2005-06-17 02:56:35Z jberry $</span>
00019 <span class="comment"> */</span>
00020 
00021 <span class="preprocessor">#if !defined(XSMODEL_HPP)</span>
<a name="l00022"></a><a class="code" href="XSModel_8hpp.html#a0">00022</a> <span class="preprocessor"></span><span class="preprocessor">#define XSMODEL_HPP</span>
00023 <span class="preprocessor"></span>
00024 <span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span>
00025 <span class="preprocessor">#include &lt;<a class="code" href="XSObject_8hpp.html">xercesc/framework/psvi/XSObject.hpp</a>&gt;</span>
00026 <span class="preprocessor">#include &lt;<a class="code" href="XSNamedMap_8hpp.html">xercesc/framework/psvi/XSNamedMap.hpp</a>&gt;</span>
00027 
00028 <span class="preprocessor">#include &lt;xercesc/util/ValueVectorOf.hpp&gt;</span>
00029 <span class="preprocessor">#include &lt;xercesc/validators/schema/SchemaElementDecl.hpp&gt;</span>
00030 
00031 <a class="code" href="XercesDefs_8hpp.html#a3">XERCES_CPP_NAMESPACE_BEGIN</a>
00032 
00045 <span class="comment">// forward declarations</span>
00046 <span class="keyword">class </span>Grammar;
00047 <span class="keyword">class </span><a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a>;
00048 <span class="keyword">class </span><a class="code" href="classXSAnnotation.html">XSAnnotation</a>;
00049 <span class="keyword">class </span><a class="code" href="classXSAttributeDeclaration.html">XSAttributeDeclaration</a>;
00050 <span class="keyword">class </span><a class="code" href="classXSAttributeGroupDefinition.html">XSAttributeGroupDefinition</a>;
00051 <span class="keyword">class </span><a class="code" href="classXSElementDeclaration.html">XSElementDeclaration</a>;
00052 <span class="keyword">class </span><a class="code" href="classXSModelGroupDefinition.html">XSModelGroupDefinition</a>;
00053 <span class="keyword">class </span><a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>;
00054 <span class="keyword">class </span><a class="code" href="classXSNotationDeclaration.html">XSNotationDeclaration</a>;
00055 <span class="keyword">class </span><a class="code" href="classXSTypeDefinition.html">XSTypeDefinition</a>;
00056 <span class="keyword">class </span>XSObjectFactory;
00057 
<a name="l00058"></a><a class="code" href="classXSModel.html">00058</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a10"></a> XSModel : <span class="keyword">public</span> <a class="code" href="classXMemory.html">XMemory</a>
00059 {
00060 <span class="keyword">public</span>:
00061 
00062     <span class="comment">//  Constructors and Destructor</span>
00063     <span class="comment">// -----------------------------------------------------------------------</span>
00066 <span class="comment"></span>
00072     XSModel( <a class="code" href="classXMLGrammarPool.html">XMLGrammarPool</a> *grammarPool
00073                 , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager);
00074 
00084     XSModel( XSModel *baseModel
00085                 , GrammarResolver *grammarResolver
00086                 , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager);
00087 
00089 
00092     ~XSModel();
00094 
00095     <span class="comment">//---------------------</span>
00099 <span class="comment"></span>
00106     <a class="code" href="XSConstants_8hpp.html#a8">StringList</a> *getNamespaces();
00107 
00116     <a class="code" href="XSConstants_8hpp.html#a5">XSNamespaceItemList</a> *getNamespaceItems();
00117 
00128     <a class="code" href="classXSNamedMap.html">XSNamedMap&lt;XSObject&gt;</a> *getComponents(XSConstants::COMPONENT_TYPE objectType);
00129 
00142     <a class="code" href="classXSNamedMap.html">XSNamedMap&lt;XSObject&gt;</a> *getComponentsByNamespace(XSConstants::COMPONENT_TYPE objectType, 
00143                                                <span class="keyword">const</span> XMLCh *compNamespace);
00144 
00148     <a class="code" href="XSConstants_8hpp.html#a1">XSAnnotationList</a> *getAnnotations();
00149 
00157     <a class="code" href="classXSElementDeclaration.html">XSElementDeclaration</a> *getElementDeclaration(<span class="keyword">const</span> XMLCh *name
00158             , <span class="keyword">const</span> XMLCh *compNamespace);
00159 
00167     <a class="code" href="classXSAttributeDeclaration.html">XSAttributeDeclaration</a> *getAttributeDeclaration(<span class="keyword">const</span> XMLCh *name
00168             , <span class="keyword">const</span> XMLCh *compNamespace);
00169 
00178     <a class="code" href="classXSTypeDefinition.html">XSTypeDefinition</a> *getTypeDefinition(<span class="keyword">const</span> XMLCh *name
00179             , <span class="keyword">const</span> XMLCh *compNamespace);
00180 
00188     <a class="code" href="classXSAttributeGroupDefinition.html">XSAttributeGroupDefinition</a> *getAttributeGroup(<span class="keyword">const</span> XMLCh *name
00189             , <span class="keyword">const</span> XMLCh *compNamespace);
00190 
00198     <a class="code" href="classXSModelGroupDefinition.html">XSModelGroupDefinition</a> *getModelGroupDefinition(<span class="keyword">const</span> XMLCh *name
00199             , <span class="keyword">const</span> XMLCh *compNamespace);
00200 
00208     <a class="code" href="classXSNotationDeclaration.html">XSNotationDeclaration</a> *getNotationDeclaration(<span class="keyword">const</span> XMLCh *name
00209             , <span class="keyword">const</span> XMLCh *compNamespace);
00210 
00220     <a class="code" href="classXSObject.html">XSObject</a> *getXSObjectById(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>  compId
00221                 , XSConstants::COMPONENT_TYPE compType);
00222 
00224 
00225     <span class="comment">//----------------------------------</span>
00229 <span class="comment"></span>    XMLStringPool*  getURIStringPool();
00230 
00231     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>* getNamespaceItem(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> key);
00232 
00240     <a class="code" href="classXSObject.html">XSObject</a>* getXSObject(<span class="keywordtype">void</span>* key);
00241 
00243 <span class="keyword">private</span>:
00244 
00245     <span class="comment">// -----------------------------------------------------------------------</span>
00246     <span class="comment">//  Helper methods</span>
00247     <span class="comment">// -----------------------------------------------------------------------</span>
00248     <span class="keywordtype">void</span> addGrammarToXSModel
00249     (
00250         <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>* namespaceItem
00251     );
00252     <span class="keywordtype">void</span> addS4SToXSModel
00253     (
00254         <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>* <span class="keyword">const</span> namespaceItem
00255         , RefHashTableOf&lt;DatatypeValidator&gt;* <span class="keyword">const</span> builtInDV
00256     );
00257     <span class="keywordtype">void</span> addComponentToNamespace
00258     (
00259          <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>* <span class="keyword">const</span> namespaceItem
00260          , <a class="code" href="classXSObject.html">XSObject</a>* <span class="keyword">const</span> component
00261          , <span class="keywordtype">int</span> componentIndex
00262          , <span class="keywordtype">bool</span> addToXSModel = <span class="keyword">true</span>
00263     );
00264 
00265     <span class="keywordtype">void</span> addComponentToIdVector
00266     (
00267         <a class="code" href="classXSObject.html">XSObject</a>* <span class="keyword">const</span> component
00268         , <span class="keywordtype">int</span> componentIndex
00269     );
00270 
00271     <span class="comment">// -----------------------------------------------------------------------</span>
00272     <span class="comment">//  Unimplemented constructors and operators</span>
00273     <span class="comment">// -----------------------------------------------------------------------</span>
00274     XSModel(<span class="keyword">const</span> XSModel&amp;);
00275     XSModel &amp; operator=(<span class="keyword">const</span> XSModel &amp;);
00276 
00277 <span class="keyword">protected</span>:
<a name="l00278"></a><a class="code" href="classXSModel.html#n0">00278</a>     <span class="keyword">friend</span> <span class="keyword">class </span>XSObjectFactory;
<a name="l00279"></a><a class="code" href="classXSModel.html#n1">00279</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classXSObject.html">XSObject</a>;
00280 
00281     <span class="comment">// -----------------------------------------------------------------------</span>
00282     <span class="comment">//  data members</span>
00283     <span class="comment">// -----------------------------------------------------------------------</span>
00284     <span class="comment">// fMemoryManager:</span>
00285     <span class="comment">//  used for any memory allocations</span>
<a name="l00286"></a><a class="code" href="classXSModel.html#p0">00286</a>     <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span>                    fMemoryManager;
00287  
<a name="l00288"></a><a class="code" href="classXSModel.html#p1">00288</a>     <a class="code" href="XSConstants_8hpp.html#a8">StringList</a>*                             fNamespaceStringList;
<a name="l00289"></a><a class="code" href="classXSModel.html#p2">00289</a>     <a class="code" href="XSConstants_8hpp.html#a5">XSNamespaceItemList</a>*                    fXSNamespaceItemList;
00290 
<a name="l00291"></a><a class="code" href="classXSModel.html#p3">00291</a>     RefVectorOf&lt;XSObject&gt;*                  fIdVector[XSConstants::MULTIVALUE_FACET];    
00292 
00293     <span class="comment">/* Need a XSNamedMap for each component    top-level?</span>
00294 <span class="comment">          ATTRIBUTE_DECLARATION     = 1,       </span>
00295 <span class="comment">          ELEMENT_DECLARATION       = 2,        </span>
00296 <span class="comment">          TYPE_DEFINITION           = 3,        </span>
00297 <span class="comment">          ATTRIBUTE_USE             = 4,       no </span>
00298 <span class="comment">          ATTRIBUTE_GROUP_DEFINITION= 5,        </span>
00299 <span class="comment">          MODEL_GROUP_DEFINITION    = 6,       </span>
00300 <span class="comment">          MODEL_GROUP               = 7,       no </span>
00301 <span class="comment">          PARTICLE                  = 8,       no</span>
00302 <span class="comment">          WILDCARD                  = 9,       no</span>
00303 <span class="comment">          IDENTITY_CONSTRAINT       = 10,      no</span>
00304 <span class="comment">          NOTATION_DECLARATION      = 11,       </span>
00305 <span class="comment">          ANNOTATION                = 12,      no </span>
00306 <span class="comment">          FACET                     = 13,      no</span>
00307 <span class="comment">          MULTIVALUE_FACET          = 14       no</span>
00308 <span class="comment">    */</span>
<a name="l00309"></a><a class="code" href="classXSModel.html#p4">00309</a>     <a class="code" href="classXSNamedMap.html">XSNamedMap&lt;XSObject&gt;</a>*                   fComponentMap[XSConstants::MULTIVALUE_FACET];
<a name="l00310"></a><a class="code" href="classXSModel.html#p5">00310</a>     XMLStringPool*                          fURIStringPool;
<a name="l00311"></a><a class="code" href="classXSModel.html#p6">00311</a>     <a class="code" href="XSConstants_8hpp.html#a1">XSAnnotationList</a>*                       fXSAnnotationList;
<a name="l00312"></a><a class="code" href="classXSModel.html#p7">00312</a>     RefHashTableOf&lt;XSNamespaceItem&gt;*        fHashNamespace;
<a name="l00313"></a><a class="code" href="classXSModel.html#p8">00313</a>     XSObjectFactory*                        fObjFactory;
<a name="l00314"></a><a class="code" href="classXSModel.html#p9">00314</a>     RefVectorOf&lt;XSNamespaceItem&gt;*           fDeleteNamespace;
<a name="l00315"></a><a class="code" href="classXSModel.html#p10">00315</a>     XSModel*                                fParent;
<a name="l00316"></a><a class="code" href="classXSModel.html#p11">00316</a>     <span class="keywordtype">bool</span>                                    fDeleteParent;
<a name="l00317"></a><a class="code" href="classXSModel.html#p12">00317</a>     <span class="keywordtype">bool</span>                                    fAddedS4SGrammar;
00318 };
00319 
<a name="l00320"></a><a class="code" href="classXSModel.html#z710_0">00320</a> <span class="keyword">inline</span> XMLStringPool*  <a class="code" href="classXSModel.html#z710_0">XSModel::getURIStringPool</a>()
00321 {
00322     <span class="keywordflow">return</span> <a class="code" href="classXSModel.html#p5">fURIStringPool</a>;
00323 }
00324 
<a name="l00325"></a><a class="code" href="classXSModel.html#z709_0">00325</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#a8">StringList</a> *<a class="code" href="classXSModel.html#z709_0">XSModel::getNamespaces</a>()
00326 {
00327     <span class="keywordflow">return</span> <a class="code" href="classXSModel.html#p1">fNamespaceStringList</a>;
00328 }
00329 
<a name="l00330"></a><a class="code" href="classXSModel.html#z709_1">00330</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#a5">XSNamespaceItemList</a> *<a class="code" href="classXSModel.html#z709_1">XSModel::getNamespaceItems</a>()
00331 {
00332     <span class="keywordflow">return</span> <a class="code" href="classXSModel.html#p2">fXSNamespaceItemList</a>;
00333 }
00334 
00335 <a class="code" href="XercesDefs_8hpp.html#a4">XERCES_CPP_NAMESPACE_END</a>
00336 
00337 <span class="preprocessor">#endif</span>
</pre></div>    </FONT></TD></TR></TABLE><BR>
</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>
              Copyright &copy; 1994-2004 The Apache Software Foundation.
              All Rights Reserved.
            </I></FONT></TD></TR></TABLE></BODY></HTML>