Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > 59e136c5713357bec32fa00e9f43af8f > files > 376

xerces-c-doc-3.1.0-2mdv2010.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: XSNamespaceItem.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>XSNamespaceItem.hpp</h1><a href="XSNamespaceItem_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment"> * the License.  You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment"> * </span>
<a name="l00009"></a>00009 <span class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment"> * </span>
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment"> */</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="comment">/*</span>
<a name="l00019"></a>00019 <span class="comment"> * $Id: XSNamespaceItem.hpp 527149 2007-04-10 14:56:39Z amassari $</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XSNAMESPACEITEM_HPP)</span>
<a name="l00023"></a><a class="code" href="XSNamespaceItem_8hpp.html#37b557465af489ed7fb6b9a15eb8775b">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XSNAMESPACEITEM_HPP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;<a class="code" href="XSObject_8hpp.html">xercesc/framework/psvi/XSObject.hpp</a>&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;<a class="code" href="XSNamedMap_8hpp.html">xercesc/framework/psvi/XSNamedMap.hpp</a>&gt;</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00030"></a>00030 
<a name="l00042"></a>00042 <span class="comment">// forward declarations</span>
<a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="classXSAnnotation.html">XSAnnotation</a>;
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="classXSAttributeDeclaration.html">XSAttributeDeclaration</a>;
<a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="classXSAttributeGroupDefinition.html">XSAttributeGroupDefinition</a>;
<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="classXSElementDeclaration.html">XSElementDeclaration</a>;
<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="classXSModelGroupDefinition.html">XSModelGroupDefinition</a>;
<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="classXSNotationDeclaration.html">XSNotationDeclaration</a>;
<a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="classXSTypeDefinition.html" title="This class represents a complexType or simpleType definition.">XSTypeDefinition</a>;
<a name="l00050"></a>00050 <span class="keyword">class </span>SchemaGrammar;
<a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="classXSModel.html">XSModel</a>;
<a name="l00052"></a>00052 
<a name="l00053"></a><a class="code" href="classXSNamespaceItem.html">00053</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a> : <span class="keyword">public</span> <a class="code" href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete...">XMemory</a>
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055 <span class="keyword">public</span>:
<a name="l00056"></a>00056 
<a name="l00057"></a>00057     <span class="comment">//  Constructors and Destructor</span>
<a name="l00058"></a>00058     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00061"></a>00061 <span class="comment"></span>
<a name="l00069"></a>00069     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>
<a name="l00070"></a>00070     (
<a name="l00071"></a>00071         <a class="code" href="classXSModel.html">XSModel</a>* <span class="keyword">const</span>         xsModel
<a name="l00072"></a>00072         , SchemaGrammar* <span class="keyword">const</span> grammar
<a name="l00073"></a>00073         , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00074"></a>00074     );
<a name="l00075"></a>00075 
<a name="l00076"></a>00076     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>
<a name="l00077"></a>00077     (
<a name="l00078"></a>00078         <a class="code" href="classXSModel.html">XSModel</a>* <span class="keyword">const</span>         xsModel
<a name="l00079"></a>00079         , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span>   schemaNamespace
<a name="l00080"></a>00080         , <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252" title="The configurable memory manager.">XMLPlatformUtils::fgMemoryManager</a>
<a name="l00081"></a>00081     );
<a name="l00082"></a>00082 
<a name="l00084"></a>00084 
<a name="l00087"></a>00087     ~<a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>();
<a name="l00089"></a>00089 
<a name="l00090"></a>00090     <span class="comment">//---------------------</span>
<a name="l00094"></a>00094 <span class="comment"></span>
<a name="l00099"></a>00099     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *getSchemaNamespace() <span class="keyword">const</span>;
<a name="l00100"></a>00100 
<a name="l00111"></a>00111     <a class="code" href="classXSNamedMap.html">XSNamedMap&lt;XSObject&gt;</a> *getComponents(<a class="code" href="classXSConstants.html#60daf162650cd8e58f53b85d8b93b99a">XSConstants::COMPONENT_TYPE</a> objectType);
<a name="l00112"></a>00112 
<a name="l00116"></a>00116     <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a> *getAnnotations();
<a name="l00117"></a>00117     <span class="keyword">const</span> <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a> *getAnnotations() <span class="keyword">const</span>;
<a name="l00118"></a>00118 
<a name="l00125"></a>00125     <a class="code" href="classXSElementDeclaration.html">XSElementDeclaration</a> *getElementDeclaration(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *name);
<a name="l00126"></a>00126 
<a name="l00133"></a>00133     <a class="code" href="classXSAttributeDeclaration.html">XSAttributeDeclaration</a> *getAttributeDeclaration(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *name);
<a name="l00134"></a>00134 
<a name="l00142"></a>00142     <a class="code" href="classXSTypeDefinition.html" title="This class represents a complexType or simpleType definition.">XSTypeDefinition</a> *getTypeDefinition(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *name);
<a name="l00143"></a>00143 
<a name="l00150"></a>00150     <a class="code" href="classXSAttributeGroupDefinition.html">XSAttributeGroupDefinition</a> *getAttributeGroup(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *name);
<a name="l00151"></a>00151 
<a name="l00158"></a>00158     <a class="code" href="classXSModelGroupDefinition.html">XSModelGroupDefinition</a> *getModelGroupDefinition(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *name);
<a name="l00159"></a>00159 
<a name="l00166"></a>00166     <a class="code" href="classXSNotationDeclaration.html">XSNotationDeclaration</a> *getNotationDeclaration(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *name);
<a name="l00167"></a>00167 
<a name="l00172"></a>00172     <span class="keyword">const</span> <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a> *getDocumentLocations();
<a name="l00173"></a>00173 
<a name="l00175"></a>00175 
<a name="l00176"></a>00176     <span class="comment">//----------------------------------</span>
<a name="l00180"></a>00180 <span class="comment"></span>
<a name="l00181"></a>00181 
<a name="l00183"></a>00183 <span class="keyword">private</span>:
<a name="l00184"></a>00184 
<a name="l00185"></a>00185     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00186"></a>00186     <span class="comment">//  Unimplemented constructors and operators</span>
<a name="l00187"></a>00187     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00188"></a>00188     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>(<span class="keyword">const</span> <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a>&amp;);
<a name="l00189"></a>00189     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a> &amp; operator=(<span class="keyword">const</span> <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a> &amp;);
<a name="l00190"></a>00190 
<a name="l00191"></a>00191 <span class="keyword">protected</span>:
<a name="l00192"></a><a class="code" href="classXSNamespaceItem.html#2972633a053c7fa57369ad460c4ccdfb">00192</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classXSModel.html">XSModel</a>;
<a name="l00193"></a><a class="code" href="classXSNamespaceItem.html#19b0b061d2d22217269b8ba1b42eaab5">00193</a>     <span class="keyword">friend</span> <span class="keyword">class </span>XSObjectFactory;
<a name="l00194"></a>00194     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00195"></a>00195     <span class="comment">//  data members</span>
<a name="l00196"></a>00196     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00197"></a>00197     <span class="comment">// fMemoryManager:</span>
<a name="l00198"></a>00198     <span class="comment">//  used for any memory allocations</span>
<a name="l00199"></a><a class="code" href="classXSNamespaceItem.html#46061e077396339b5193fb496997da8f">00199</a>     <a class="code" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span>    fMemoryManager;
<a name="l00200"></a><a class="code" href="classXSNamespaceItem.html#58ad6d7e789ffe683b99226fb4a3de04">00200</a>     SchemaGrammar*          fGrammar;
<a name="l00201"></a><a class="code" href="classXSNamespaceItem.html#7fb03582e2502ecb59ab2f8b1a800d83">00201</a>     <a class="code" href="classXSModel.html">XSModel</a>*                fXSModel;
<a name="l00202"></a>00202 
<a name="l00203"></a>00203     <span class="comment">/* Need a XSNamedMap for each component    top-level?</span>
<a name="l00204"></a>00204 <span class="comment">       that is top level.</span>
<a name="l00205"></a>00205 <span class="comment">          ATTRIBUTE_DECLARATION     = 1,       </span>
<a name="l00206"></a>00206 <span class="comment">          ELEMENT_DECLARATION       = 2,        </span>
<a name="l00207"></a>00207 <span class="comment">          TYPE_DEFINITION           = 3,        </span>
<a name="l00208"></a>00208 <span class="comment">          ATTRIBUTE_USE             = 4,       no </span>
<a name="l00209"></a>00209 <span class="comment">          ATTRIBUTE_GROUP_DEFINITION= 5,        </span>
<a name="l00210"></a>00210 <span class="comment">          MODEL_GROUP_DEFINITION    = 6,       </span>
<a name="l00211"></a>00211 <span class="comment">          MODEL_GROUP               = 7,       no </span>
<a name="l00212"></a>00212 <span class="comment">          PARTICLE                  = 8,       no</span>
<a name="l00213"></a>00213 <span class="comment">          WILDCARD                  = 9,       no</span>
<a name="l00214"></a>00214 <span class="comment">          IDENTITY_CONSTRAINT       = 10,      no</span>
<a name="l00215"></a>00215 <span class="comment">          NOTATION_DECLARATION      = 11,       </span>
<a name="l00216"></a>00216 <span class="comment">          ANNOTATION                = 12,      no</span>
<a name="l00217"></a>00217 <span class="comment">          FACET                     = 13,      no</span>
<a name="l00218"></a>00218 <span class="comment">          MULTIVALUE_FACET          = 14       no</span>
<a name="l00219"></a>00219 <span class="comment">    */</span>
<a name="l00220"></a><a class="code" href="classXSNamespaceItem.html#288aff21dd512d1580befd0180d2a3b7">00220</a>     <a class="code" href="classXSNamedMap.html">XSNamedMap&lt;XSObject&gt;</a>*                   fComponentMap[<a class="code" href="classXSConstants.html#60daf162650cd8e58f53b85d8b93b99a7984774a8db9a3a5fdb4aa811b3ac068" title="The object describes enumeration/pattern facets.">XSConstants::MULTIVALUE_FACET</a>];
<a name="l00221"></a><a class="code" href="classXSNamespaceItem.html#df48ee4fc7e17786f3a9bd1d45ca4bc6">00221</a>     <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a>*                       fXSAnnotationList;
<a name="l00222"></a><a class="code" href="classXSNamespaceItem.html#780749177dad06358eea2f08e3038ecf">00222</a>     RefHashTableOf&lt;XSObject&gt;*               fHashMap[<a class="code" href="classXSConstants.html#60daf162650cd8e58f53b85d8b93b99a7984774a8db9a3a5fdb4aa811b3ac068" title="The object describes enumeration/pattern facets.">XSConstants::MULTIVALUE_FACET</a>];
<a name="l00223"></a><a class="code" href="classXSNamespaceItem.html#44d93772cf79a578e89036d8e74288ac">00223</a>     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*                            fSchemaNamespace;
<a name="l00224"></a>00224 };
<a name="l00225"></a>00225 
<a name="l00226"></a><a class="code" href="classXSNamespaceItem.html#6eaed0d2fa0bf54df7e8df7f35aa20ee">00226</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a>* <a class="code" href="classXSNamespaceItem.html#6eaed0d2fa0bf54df7e8df7f35aa20ee" title="[annotations]: a set of annotations.">XSNamespaceItem::getAnnotations</a>()
<a name="l00227"></a>00227 {
<a name="l00228"></a>00228     <span class="keywordflow">return</span> <a class="code" href="classXSNamespaceItem.html#df48ee4fc7e17786f3a9bd1d45ca4bc6">fXSAnnotationList</a>;
<a name="l00229"></a>00229 }
<a name="l00230"></a>00230 
<a name="l00231"></a><a class="code" href="classXSNamespaceItem.html#65e3eef8b138c03657d24413b10318fa">00231</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a>* <a class="code" href="classXSNamespaceItem.html#6eaed0d2fa0bf54df7e8df7f35aa20ee" title="[annotations]: a set of annotations.">XSNamespaceItem::getAnnotations</a>()<span class="keyword"> const</span>
<a name="l00232"></a>00232 <span class="keyword"></span>{
<a name="l00233"></a>00233     <span class="keywordflow">return</span> <a class="code" href="classXSNamespaceItem.html#df48ee4fc7e17786f3a9bd1d45ca4bc6">fXSAnnotationList</a>;
<a name="l00234"></a>00234 }
<a name="l00235"></a>00235 
<a name="l00236"></a><a class="code" href="classXSNamespaceItem.html#adc6e3c1a7c6e9d27c535e4083f36915">00236</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *<a class="code" href="classXSNamespaceItem.html#adc6e3c1a7c6e9d27c535e4083f36915" title="[schema namespace]: A namespace name or null corresponding to the target namespace...">XSNamespaceItem::getSchemaNamespace</a>()<span class="keyword"> const</span>
<a name="l00237"></a>00237 <span class="keyword"></span>{
<a name="l00238"></a>00238     <span class="keywordflow">return</span> <a class="code" href="classXSNamespaceItem.html#44d93772cf79a578e89036d8e74288ac">fSchemaNamespace</a>;
<a name="l00239"></a>00239 }
<a name="l00240"></a>00240 
<a name="l00241"></a>00241 
<a name="l00242"></a>00242 
<a name="l00243"></a>00243 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00244"></a>00244 
<a name="l00245"></a>00245 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 29 15:30:48 2010 for Xerces-C++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>