Sophie

Sophie

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

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++: XSIDCDefinition.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>XSIDCDefinition.hpp</h1><a href="XSIDCDefinition_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: XSIDCDefinition.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_XSIDCDEFINITION_HPP)</span>
<a name="l00023"></a><a class="code" href="XSIDCDefinition_8hpp.html#e241c541c99ebebc1cfd271232b03bab">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XSIDCDEFINITION_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="XSObject_8hpp.html">xercesc/framework/psvi/XSObject.hpp</a>&gt;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <a class="code" href="XercesDefs_8hpp.html#43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a>
<a name="l00028"></a>00028 
<a name="l00036"></a>00036 <span class="comment">// forward declarations</span>
<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="classXSAnnotation.html">XSAnnotation</a>;
<a name="l00038"></a>00038 <span class="keyword">class </span>IdentityConstraint;
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="classXSIDCDefinition.html">00040</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a> : <span class="keyword">public</span> <a class="code" href="classXSObject.html">XSObject</a>
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 <span class="keyword">public</span>:
<a name="l00043"></a>00043 
<a name="l00044"></a>00044     <span class="comment">// Identity Constraints</span>
<a name="l00045"></a><a class="code" href="classXSIDCDefinition.html#a72f1ea305fcda4182d29192711b072d">00045</a>     <span class="keyword">enum</span> <a class="code" href="classXSIDCDefinition.html#a72f1ea305fcda4182d29192711b072d">IC_CATEGORY</a> {
<a name="l00049"></a><a class="code" href="classXSIDCDefinition.html#a72f1ea305fcda4182d29192711b072db6aa7c93edfd2800e3900dac05d5e0c4">00049</a>         IC_KEY                    = 1,
<a name="l00053"></a><a class="code" href="classXSIDCDefinition.html#a72f1ea305fcda4182d29192711b072df20efcc244740c094f3afceba82261c6">00053</a>         IC_KEYREF                 = 2,
<a name="l00057"></a><a class="code" href="classXSIDCDefinition.html#a72f1ea305fcda4182d29192711b072d2a2d278ee3f0d76782bb6073b150f5ed">00057</a>         IC_UNIQUE                 = 3
<a name="l00058"></a>00058     };
<a name="l00059"></a>00059 
<a name="l00060"></a>00060     <span class="comment">//  Constructors and Destructor</span>
<a name="l00061"></a>00061     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00064"></a>00064 <span class="comment"></span>
<a name="l00075"></a>00075     <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>
<a name="l00076"></a>00076     (
<a name="l00077"></a>00077         IdentityConstraint* <span class="keyword">const</span> identityConstraint
<a name="l00078"></a>00078         , <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>*  <span class="keyword">const</span> keyIC
<a name="l00079"></a>00079         , <a class="code" href="classXSAnnotation.html">XSAnnotation</a>* <span class="keyword">const</span>     headAnnot
<a name="l00080"></a>00080         , <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a>* <span class="keyword">const</span>       stringList
<a name="l00081"></a>00081         , <a class="code" href="classXSModel.html">XSModel</a>* <span class="keyword">const</span>          xsModel
<a name="l00082"></a>00082         , <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="l00083"></a>00083     );
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00089"></a>00089     ~<a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>();
<a name="l00091"></a>00091 
<a name="l00092"></a>00092     <span class="comment">//---------------------</span>
<a name="l00096"></a>00096 <span class="comment"></span>
<a name="l00101"></a>00101     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXSObject.html#5dff916ecef1b6fb53506060370c6eb2" title="The name of type NCName of this declaration as defined in XML Namespaces.">getName</a>() <span class="keyword">const</span>;
<a name="l00102"></a>00102 
<a name="l00107"></a>00107     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXSObject.html#8826fc266bad97aea3d4f319b188bd0c" title="The [target namespace] of this object, or null if it is unspecified.">getNamespace</a>();
<a name="l00108"></a>00108 
<a name="l00114"></a>00114     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a> *<a class="code" href="classXSObject.html#f118c3c00b4df60399b070661aa3591f" title="A namespace schema information item corresponding to the target namespace of the...">getNamespaceItem</a>();
<a name="l00115"></a>00115 
<a name="l00117"></a>00117 
<a name="l00118"></a>00118     <span class="comment">//---------------------</span>
<a name="l00122"></a>00122 <span class="comment"></span>
<a name="l00126"></a>00126     IC_CATEGORY getCategory() <span class="keyword">const</span>;
<a name="l00127"></a>00127 
<a name="l00131"></a>00131     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *getSelectorStr();
<a name="l00132"></a>00132 
<a name="l00136"></a>00136     <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a> *getFieldStrs();
<a name="l00137"></a>00137 
<a name="l00143"></a>00143     <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a> *getRefKey() <span class="keyword">const</span>;
<a name="l00144"></a>00144 
<a name="l00148"></a>00148     <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a> *getAnnotations();
<a name="l00149"></a>00149 
<a name="l00151"></a>00151 
<a name="l00152"></a>00152     <span class="comment">//----------------------------------</span>
<a name="l00156"></a>00156 <span class="comment"></span>
<a name="l00158"></a>00158 <span class="keyword">private</span>:
<a name="l00159"></a>00159 
<a name="l00160"></a>00160     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00161"></a>00161     <span class="comment">//  Unimplemented constructors and operators</span>
<a name="l00162"></a>00162     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00163"></a>00163     <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>(<span class="keyword">const</span> <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>&amp;);
<a name="l00164"></a>00164     <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a> &amp; operator=(<span class="keyword">const</span> <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a> &amp;);
<a name="l00165"></a>00165 
<a name="l00166"></a>00166 <span class="keyword">protected</span>:
<a name="l00167"></a>00167 
<a name="l00168"></a>00168     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00169"></a>00169     <span class="comment">//  data members</span>
<a name="l00170"></a>00170     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00171"></a><a class="code" href="classXSIDCDefinition.html#a66cd7f1f9a86114dcd85adbfd1e01ca">00171</a>     IdentityConstraint* fIdentityConstraint;
<a name="l00172"></a><a class="code" href="classXSIDCDefinition.html#51fb18d41cda0ccfb0cfaf4a5615d8e0">00172</a>     <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>*    fKey;
<a name="l00173"></a><a class="code" href="classXSIDCDefinition.html#25e5d5a084d796a0ae73de95d5d986d9">00173</a>     <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a>*         fStringList;
<a name="l00174"></a><a class="code" href="classXSIDCDefinition.html#ece0405caa26ecf9073f5185799404f3">00174</a>     <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a>*   fXSAnnotationList;
<a name="l00175"></a>00175 };
<a name="l00176"></a>00176 
<a name="l00177"></a>00177 
<a name="l00178"></a><a class="code" href="classXSIDCDefinition.html#71cf20017f0d713393a6d1d8c8a505c7">00178</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a>* <a class="code" href="classXSIDCDefinition.html#71cf20017f0d713393a6d1d8c8a505c7" title="[fields]: a non-empty list of restricted XPath ([XPath]) expressions.">XSIDCDefinition::getFieldStrs</a>()
<a name="l00179"></a>00179 {
<a name="l00180"></a>00180     <span class="keywordflow">return</span> <a class="code" href="classXSIDCDefinition.html#25e5d5a084d796a0ae73de95d5d986d9">fStringList</a>;
<a name="l00181"></a>00181 }
<a name="l00182"></a>00182 
<a name="l00183"></a><a class="code" href="classXSIDCDefinition.html#98bcf2697942fd128adad859b1027798">00183</a> <span class="keyword">inline</span> <a class="code" href="classXSIDCDefinition.html">XSIDCDefinition</a>* <a class="code" href="classXSIDCDefinition.html#98bcf2697942fd128adad859b1027798" title="[referenced key]: required if [identity-constraint category] is IC_KEYREF, forbidden...">XSIDCDefinition::getRefKey</a>()<span class="keyword"> const</span>
<a name="l00184"></a>00184 <span class="keyword"></span>{
<a name="l00185"></a>00185     <span class="keywordflow">return</span> <a class="code" href="classXSIDCDefinition.html#51fb18d41cda0ccfb0cfaf4a5615d8e0">fKey</a>;
<a name="l00186"></a>00186 }
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00189"></a>00189 
<a name="l00190"></a>00190 <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>