Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release > by-pkgid > 59e136c5713357bec32fa00e9f43af8f > files > 384

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++: XSSimpleTypeDefinition.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>XSSimpleTypeDefinition.hpp</h1><a href="XSSimpleTypeDefinition_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: XSSimpleTypeDefinition.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_XSSIMPLETYPEDEFINITION_HPP)</span>
<a name="l00023"></a><a class="code" href="XSSimpleTypeDefinition_8hpp.html#f7f9a2c00d434df6a51bde71cf79cb0b">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XSSIMPLETYPEDEFINITION_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="XSTypeDefinition_8hpp.html">xercesc/framework/psvi/XSTypeDefinition.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="l00037"></a>00037 <span class="comment">// forward declarations</span>
<a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="classXSAnnotation.html">XSAnnotation</a>;
<a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="classXSFacet.html">XSFacet</a>;
<a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="classXSMultiValueFacet.html">XSMultiValueFacet</a>;
<a name="l00041"></a>00041 <span class="keyword">class </span>DatatypeValidator;
<a name="l00042"></a>00042 
<a name="l00043"></a><a class="code" href="classXSSimpleTypeDefinition.html">00043</a> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a> : <span class="keyword">public</span> <a class="code" href="classXSTypeDefinition.html" title="This class represents a complexType or simpleType definition.">XSTypeDefinition</a>
<a name="l00044"></a>00044 {
<a name="l00045"></a>00045 <span class="keyword">public</span>:
<a name="l00046"></a>00046 
<a name="l00047"></a>00047     <span class="comment">// Variety definitions</span>
<a name="l00048"></a><a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3">00048</a>     <span class="keyword">enum</span> <a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3">VARIETY</a> {
<a name="l00052"></a><a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3bc899a8dd85208f1a9345532f789b646">00052</a>         VARIETY_ABSENT            = 0,
<a name="l00056"></a><a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3c4223df418fcee753c80b5a224a3cdc5">00056</a>         VARIETY_ATOMIC            = 1,
<a name="l00060"></a><a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3051c56cc4c369b5d25bbb15b1cbb7f16">00060</a>         VARIETY_LIST              = 2,
<a name="l00064"></a><a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d38cfb98ee550fc60802834e82a45895c3">00064</a>         VARIETY_UNION             = 3
<a name="l00065"></a>00065     };
<a name="l00066"></a>00066 
<a name="l00067"></a>00067     <span class="comment">// Facets</span>
<a name="l00068"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e">00068</a>     <span class="keyword">enum</span> <a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e">FACET</a> {
<a name="l00072"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e107ded7c59be2753b7fab3d8e71097f5">00072</a>         FACET_NONE                = 0,
<a name="l00076"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8ea0853afb7abec493eb70da57e9e8cf6e">00076</a>         FACET_LENGTH              = 1,
<a name="l00080"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8ec11d68c683a0af390da625a75cc37da6">00080</a>         FACET_MINLENGTH           = 2,
<a name="l00084"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e2933b27cd98711c7cad2e7ee15661462">00084</a>         FACET_MAXLENGTH           = 4,
<a name="l00088"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8eca9733efc797005fdac5dc0623a43534">00088</a>         FACET_PATTERN             = 8,
<a name="l00092"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e7a2e052a8cb9b8708152978201068d58">00092</a>         FACET_WHITESPACE          = 16,
<a name="l00096"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8edf861cf535eb0b4cf8026fa146bab464">00096</a>         FACET_MAXINCLUSIVE        = 32,
<a name="l00100"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8ebcbfd100f87e3b75bb1ed9745e6ee0c2">00100</a>         FACET_MAXEXCLUSIVE        = 64,
<a name="l00104"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e8b9fb5d8e32cfcc8f23dff158b36817d">00104</a>         FACET_MINEXCLUSIVE        = 128,
<a name="l00108"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e5a48278b5d2dda26ebea062aede51d60">00108</a>         FACET_MININCLUSIVE        = 256,
<a name="l00112"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e8d84474db884bcb789afe7c033d56608">00112</a>         FACET_TOTALDIGITS         = 512,
<a name="l00116"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8ec5789665416c36ddab4244e8ac1ff2dd">00116</a>         FACET_FRACTIONDIGITS      = 1024,
<a name="l00120"></a><a class="code" href="classXSSimpleTypeDefinition.html#bf93afa37a40fd7b8a92d571375a0b8e4995951cd939bf0ba7c95c39a93ca8bb">00120</a>         FACET_ENUMERATION         = 2048
<a name="l00121"></a>00121     };
<a name="l00122"></a>00122 
<a name="l00123"></a>00123     <span class="comment">// possible order relations</span>
<a name="l00124"></a><a class="code" href="classXSSimpleTypeDefinition.html#4559ac38f84151cbb56c2f3eceeb61d2">00124</a>     <span class="keyword">enum</span> <a class="code" href="classXSSimpleTypeDefinition.html#4559ac38f84151cbb56c2f3eceeb61d2">ORDERING</a> {
<a name="l00128"></a><a class="code" href="classXSSimpleTypeDefinition.html#4559ac38f84151cbb56c2f3eceeb61d2e08239c262eb372f752dec563da72ac7">00128</a>         ORDERED_FALSE             = 0,
<a name="l00133"></a><a class="code" href="classXSSimpleTypeDefinition.html#4559ac38f84151cbb56c2f3eceeb61d298d7088e59068ba36910928a03010dbb">00133</a>         ORDERED_PARTIAL           = 1,
<a name="l00137"></a><a class="code" href="classXSSimpleTypeDefinition.html#4559ac38f84151cbb56c2f3eceeb61d22e01ef5bc1fc1517dac95ebe01b67fce">00137</a>         ORDERED_TOTAL             = 2
<a name="l00138"></a>00138     };
<a name="l00139"></a>00139 
<a name="l00140"></a>00140     <span class="comment">//  Constructors and Destructor</span>
<a name="l00141"></a>00141     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00144"></a>00144 <span class="comment"></span>
<a name="l00157"></a>00157     <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>
<a name="l00158"></a>00158     (
<a name="l00159"></a>00159         DatatypeValidator* <span class="keyword">const</span>            datatypeValidator
<a name="l00160"></a>00160         , VARIETY                           stVariety
<a name="l00161"></a>00161         , <a class="code" href="classXSTypeDefinition.html" title="This class represents a complexType or simpleType definition.">XSTypeDefinition</a>* <span class="keyword">const</span>           xsBaseType
<a name="l00162"></a>00162         , <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>* <span class="keyword">const</span>     primitiveOrItemType
<a name="l00163"></a>00163         , <a class="code" href="XSConstants_8hpp.html#bca59a4b38dfd3040f46895313698048">XSSimpleTypeDefinitionList</a>* <span class="keyword">const</span> memberTypes
<a name="l00164"></a>00164         , <a class="code" href="classXSAnnotation.html">XSAnnotation</a>*                     headAnnot
<a name="l00165"></a>00165         , <a class="code" href="classXSModel.html">XSModel</a>* <span class="keyword">const</span>                    xsModel
<a name="l00166"></a>00166         , <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="l00167"></a>00167     );
<a name="l00168"></a>00168 
<a name="l00170"></a>00170 
<a name="l00173"></a>00173     ~<a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>();
<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="l00184"></a>00184     VARIETY getVariety() <span class="keyword">const</span>;
<a name="l00185"></a>00185 
<a name="l00191"></a>00191     <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a> *getPrimitiveType();
<a name="l00192"></a>00192 
<a name="l00198"></a>00198     <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a> *getItemType();
<a name="l00199"></a>00199 
<a name="l00205"></a>00205     <a class="code" href="XSConstants_8hpp.html#bca59a4b38dfd3040f46895313698048">XSSimpleTypeDefinitionList</a> *getMemberTypes() <span class="keyword">const</span>;
<a name="l00206"></a>00206 
<a name="l00211"></a>00211     <span class="keywordtype">int</span> getDefinedFacets() <span class="keyword">const</span>;
<a name="l00212"></a>00212 
<a name="l00219"></a>00219     <span class="keywordtype">bool</span> isDefinedFacet(FACET facetName);
<a name="l00220"></a>00220 
<a name="l00224"></a>00224     <span class="keywordtype">int</span> getFixedFacets() <span class="keyword">const</span>;
<a name="l00225"></a>00225 
<a name="l00232"></a>00232     <span class="keywordtype">bool</span> isFixedFacet(FACET facetName);
<a name="l00233"></a>00233 
<a name="l00245"></a>00245     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *getLexicalFacetValue(FACET facetName);
<a name="l00246"></a>00246 
<a name="l00250"></a>00250     <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a> *getLexicalEnumeration();
<a name="l00251"></a>00251 
<a name="l00255"></a>00255     <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a> *getLexicalPattern();
<a name="l00256"></a>00256 
<a name="l00260"></a>00260     ORDERING getOrdered() <span class="keyword">const</span>;
<a name="l00261"></a>00261 
<a name="l00265"></a>00265     <span class="keywordtype">bool</span> getFinite() <span class="keyword">const</span>;
<a name="l00266"></a>00266 
<a name="l00270"></a>00270     <span class="keywordtype">bool</span> getBounded() <span class="keyword">const</span>;
<a name="l00271"></a>00271 
<a name="l00275"></a>00275     <span class="keywordtype">bool</span> getNumeric() <span class="keyword">const</span>;
<a name="l00276"></a>00276 
<a name="l00280"></a>00280     <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a> *getAnnotations();
<a name="l00286"></a>00286     <a class="code" href="XSConstants_8hpp.html#fcadf64027fb9bdea7b1937931a81d19">XSFacetList</a> *getFacets();
<a name="l00287"></a>00287     
<a name="l00291"></a>00291     <a class="code" href="XSConstants_8hpp.html#77e1b1628a6857ba4cf4a39a9e1b03f4">XSMultiValueFacetList</a> *getMultiValueFacets();
<a name="l00292"></a>00292     
<a name="l00297"></a>00297     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXSTypeDefinition.html#b89d2146773110c7c303cbd6d3c17930" title="The name of type NCName of this declaration as defined in XML Namespaces.">getName</a>() <span class="keyword">const</span>;
<a name="l00298"></a>00298 
<a name="l00303"></a>00303     <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXSTypeDefinition.html#7447cf7b677b8b6ce6210fca7b1b91ee" title="The [target namespace] of this object, or null if it is unspecified.">getNamespace</a>();
<a name="l00304"></a>00304 
<a name="l00310"></a>00310     <a class="code" href="classXSNamespaceItem.html">XSNamespaceItem</a> *<a class="code" href="classXSTypeDefinition.html#03eda9b3b838672be352a90b4fc6be8e" title="A namespace schema information item corresponding to the target namespace of the...">getNamespaceItem</a>();
<a name="l00311"></a>00311 
<a name="l00316"></a>00316     <span class="keywordtype">bool</span> <a class="code" href="classXSTypeDefinition.html#d10c04658d38dc1cc8a566bc65ab93ab" title="A boolean that specifies if the type definition is anonymous.">getAnonymous</a>() <span class="keyword">const</span>;
<a name="l00317"></a>00317 
<a name="l00322"></a>00322     <a class="code" href="classXSTypeDefinition.html" title="This class represents a complexType or simpleType definition.">XSTypeDefinition</a> *<a class="code" href="classXSTypeDefinition.html#ac9f9ecba9b43ef6c70bec4029082a03" title="{base type definition}: either a simple type definition or a complex type definition...">getBaseType</a>();
<a name="l00323"></a>00323 
<a name="l00331"></a>00331     <span class="keywordtype">bool</span> <a class="code" href="classXSTypeDefinition.html#2b9faf29aad92753f1ef1ed596bbfd7f" title="Convenience method: check if this type is derived from the given ancestorType.">derivedFromType</a>(<span class="keyword">const</span> <a class="code" href="classXSTypeDefinition.html" title="This class represents a complexType or simpleType definition.">XSTypeDefinition</a>* <span class="keyword">const</span> ancestorType);
<a name="l00332"></a>00332 
<a name="l00336"></a>00336     <span class="keyword">inline</span> DatatypeValidator* getDatatypeValidator() <span class="keyword">const</span>;
<a name="l00337"></a>00337 
<a name="l00339"></a>00339 
<a name="l00340"></a>00340     <span class="comment">//----------------------------------</span>
<a name="l00344"></a>00344 <span class="comment"></span>
<a name="l00345"></a>00345 
<a name="l00347"></a>00347 
<a name="l00348"></a>00348 <span class="keyword">private</span>:
<a name="l00349"></a>00349 
<a name="l00350"></a>00350     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00351"></a>00351     <span class="comment">//  Unimplemented constructors and operators</span>
<a name="l00352"></a>00352     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00353"></a>00353     <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>(<span class="keyword">const</span> <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>&amp;);
<a name="l00354"></a>00354     <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a> &amp; operator=(<span class="keyword">const</span> <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a> &amp;);
<a name="l00355"></a>00355 
<a name="l00359"></a>00359     <span class="keywordtype">void</span> setFacetInfo
<a name="l00360"></a>00360     (
<a name="l00361"></a>00361         <span class="keywordtype">int</span>                            definedFacets
<a name="l00362"></a>00362         , <span class="keywordtype">int</span>                          fixedFacets
<a name="l00363"></a>00363         , <a class="code" href="XSConstants_8hpp.html#fcadf64027fb9bdea7b1937931a81d19">XSFacetList</a>* <span class="keyword">const</span>           xsFacetList
<a name="l00364"></a>00364         , <a class="code" href="XSConstants_8hpp.html#77e1b1628a6857ba4cf4a39a9e1b03f4">XSMultiValueFacetList</a>* <span class="keyword">const</span> xsMultiValueFacetList
<a name="l00365"></a>00365         , <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a>* <span class="keyword">const</span>            patternList
<a name="l00366"></a>00366     );
<a name="l00367"></a>00367     <span class="keywordtype">void</span> setPrimitiveType(<a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>*  <span class="keyword">const</span> toSet);
<a name="l00368"></a>00368 
<a name="l00369"></a><a class="code" href="classXSSimpleTypeDefinition.html#19b0b061d2d22217269b8ba1b42eaab5">00369</a>     <span class="keyword">friend</span> <span class="keyword">class </span>XSObjectFactory;
<a name="l00370"></a>00370 
<a name="l00371"></a>00371 <span class="keyword">protected</span>:
<a name="l00372"></a>00372 
<a name="l00373"></a>00373     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00374"></a>00374     <span class="comment">//  data members</span>
<a name="l00375"></a>00375     <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00376"></a><a class="code" href="classXSSimpleTypeDefinition.html#366010f6b2c06c90a560b05312599272">00376</a>     <span class="keywordtype">int</span>                         fDefinedFacets;
<a name="l00377"></a><a class="code" href="classXSSimpleTypeDefinition.html#4c318c8f68260b99595a2e374e588026">00377</a>     <span class="keywordtype">int</span>                         fFixedFacets;
<a name="l00378"></a><a class="code" href="classXSSimpleTypeDefinition.html#bb80430cce844a282486714e9bb8f664">00378</a>     <a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3">VARIETY</a>                     fVariety;
<a name="l00379"></a><a class="code" href="classXSSimpleTypeDefinition.html#ff52b6acdb1af9d7747315a7f22c105d">00379</a>     DatatypeValidator*          fDatatypeValidator;
<a name="l00380"></a><a class="code" href="classXSSimpleTypeDefinition.html#6d13d76ff456eccc2323293ccf935f64">00380</a>     <a class="code" href="XSConstants_8hpp.html#fcadf64027fb9bdea7b1937931a81d19">XSFacetList</a>*                fXSFacetList;
<a name="l00381"></a><a class="code" href="classXSSimpleTypeDefinition.html#6d46e16cc5ae0fb119630d1ce7455369">00381</a>     <a class="code" href="XSConstants_8hpp.html#77e1b1628a6857ba4cf4a39a9e1b03f4">XSMultiValueFacetList</a>*      fXSMultiValueFacetList;
<a name="l00382"></a><a class="code" href="classXSSimpleTypeDefinition.html#696bac07f252bb1ee4a933da20f076be">00382</a>     <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a>*                 fPatternList;
<a name="l00383"></a><a class="code" href="classXSSimpleTypeDefinition.html#3d21890ded87b8cfe70289012e40120e">00383</a>     <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>*     fPrimitiveOrItemType;
<a name="l00384"></a><a class="code" href="classXSSimpleTypeDefinition.html#3bc40e498ae7a06a2d4adc1069b06711">00384</a>     <a class="code" href="XSConstants_8hpp.html#bca59a4b38dfd3040f46895313698048">XSSimpleTypeDefinitionList</a>* fMemberTypes;
<a name="l00385"></a><a class="code" href="classXSSimpleTypeDefinition.html#c0704316fa402a0e520a3fec6d41a910">00385</a>     <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a>*           fXSAnnotationList;
<a name="l00386"></a>00386 };
<a name="l00387"></a>00387 
<a name="l00388"></a><a class="code" href="classXSSimpleTypeDefinition.html#5c32ad4dbf87017d037bbacef247a16f">00388</a> <span class="keyword">inline</span> <a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3">XSSimpleTypeDefinition::VARIETY</a> <a class="code" href="classXSSimpleTypeDefinition.html#5c32ad4dbf87017d037bbacef247a16f" title="[variety]: one of {atomic, list, union} or absent">XSSimpleTypeDefinition::getVariety</a>()<span class="keyword"> const</span>
<a name="l00389"></a>00389 <span class="keyword"></span>{
<a name="l00390"></a>00390     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#bb80430cce844a282486714e9bb8f664">fVariety</a>;
<a name="l00391"></a>00391 }
<a name="l00392"></a>00392 
<a name="l00393"></a><a class="code" href="classXSSimpleTypeDefinition.html#3b60dc99f9fe335c4072b4f6d82e9f3d">00393</a> <span class="keyword">inline</span> <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>* <a class="code" href="classXSSimpleTypeDefinition.html#3b60dc99f9fe335c4072b4f6d82e9f3d" title="If variety is atomic the primitive type definition (a built-in primitive datatype...">XSSimpleTypeDefinition::getPrimitiveType</a>()
<a name="l00394"></a>00394 {
<a name="l00395"></a>00395     <span class="keywordflow">if</span> (<a class="code" href="classXSSimpleTypeDefinition.html#bb80430cce844a282486714e9bb8f664">fVariety</a> == <a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3c4223df418fcee753c80b5a224a3cdc5" title="Atomic type.">VARIETY_ATOMIC</a>)
<a name="l00396"></a>00396         <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#3d21890ded87b8cfe70289012e40120e">fPrimitiveOrItemType</a>;
<a name="l00397"></a>00397 
<a name="l00398"></a>00398     <span class="keywordflow">return</span> 0;
<a name="l00399"></a>00399 }
<a name="l00400"></a>00400 
<a name="l00401"></a><a class="code" href="classXSSimpleTypeDefinition.html#da5bbd4dff24e5c1be8ffcc44c95dc50">00401</a> <span class="keyword">inline</span> <a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>* <a class="code" href="classXSSimpleTypeDefinition.html#da5bbd4dff24e5c1be8ffcc44c95dc50" title="If variety is list the item type definition (an atomic or union simple type definition)...">XSSimpleTypeDefinition::getItemType</a>()
<a name="l00402"></a>00402 {
<a name="l00403"></a>00403     <span class="keywordflow">if</span> (<a class="code" href="classXSSimpleTypeDefinition.html#bb80430cce844a282486714e9bb8f664">fVariety</a> == <a class="code" href="classXSSimpleTypeDefinition.html#41edfb74df5ad1915f8c74914de7b5d3051c56cc4c369b5d25bbb15b1cbb7f16" title="List type.">VARIETY_LIST</a>)
<a name="l00404"></a>00404         <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#3d21890ded87b8cfe70289012e40120e">fPrimitiveOrItemType</a>;
<a name="l00405"></a>00405 
<a name="l00406"></a>00406     <span class="keywordflow">return</span> 0;
<a name="l00407"></a>00407 }
<a name="l00408"></a>00408 
<a name="l00409"></a><a class="code" href="classXSSimpleTypeDefinition.html#b06df3530837d43d65e5eabed9990c73">00409</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#bca59a4b38dfd3040f46895313698048">XSSimpleTypeDefinitionList</a>* <a class="code" href="classXSSimpleTypeDefinition.html#b06df3530837d43d65e5eabed9990c73" title="If variety is union the list of member type definitions (a non-empty sequence of...">XSSimpleTypeDefinition::getMemberTypes</a>()<span class="keyword"> const</span>
<a name="l00410"></a>00410 <span class="keyword"></span>{
<a name="l00411"></a>00411     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#3bc40e498ae7a06a2d4adc1069b06711">fMemberTypes</a>;
<a name="l00412"></a>00412 }
<a name="l00413"></a>00413 
<a name="l00414"></a><a class="code" href="classXSSimpleTypeDefinition.html#0701449d34494a9d50c44fb65a1f3d74">00414</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classXSSimpleTypeDefinition.html#0701449d34494a9d50c44fb65a1f3d74" title="[facets]: get all facets defined on this type.">XSSimpleTypeDefinition::getDefinedFacets</a>()<span class="keyword"> const</span>
<a name="l00415"></a>00415 <span class="keyword"></span>{
<a name="l00416"></a>00416     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#366010f6b2c06c90a560b05312599272">fDefinedFacets</a>;
<a name="l00417"></a>00417 }
<a name="l00418"></a>00418 
<a name="l00419"></a><a class="code" href="classXSSimpleTypeDefinition.html#d03424a6ab4b27297eb7c4552b7e2a06">00419</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classXSSimpleTypeDefinition.html#d03424a6ab4b27297eb7c4552b7e2a06" title="[facets]: get all facets defined and fixed on this type.">XSSimpleTypeDefinition::getFixedFacets</a>()<span class="keyword"> const</span>
<a name="l00420"></a>00420 <span class="keyword"></span>{
<a name="l00421"></a>00421     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#4c318c8f68260b99595a2e374e588026">fFixedFacets</a>;
<a name="l00422"></a>00422 }
<a name="l00423"></a>00423 
<a name="l00424"></a><a class="code" href="classXSSimpleTypeDefinition.html#dd9482067ba28ccab5a1e1bb352f61e3">00424</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#ef973c7ee42adc6b41aa1bf50b8e19aa">StringList</a>* <a class="code" href="classXSSimpleTypeDefinition.html#dd9482067ba28ccab5a1e1bb352f61e3" title="Returns a list of pattern values.">XSSimpleTypeDefinition::getLexicalPattern</a>()
<a name="l00425"></a>00425 {
<a name="l00426"></a>00426     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#696bac07f252bb1ee4a933da20f076be">fPatternList</a>;
<a name="l00427"></a>00427 }
<a name="l00428"></a>00428 
<a name="l00429"></a><a class="code" href="classXSSimpleTypeDefinition.html#892c39535f644903696b7fa6cd692de0">00429</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#fcadf64027fb9bdea7b1937931a81d19">XSFacetList</a>* <a class="code" href="classXSSimpleTypeDefinition.html#892c39535f644903696b7fa6cd692de0">XSSimpleTypeDefinition::getFacets</a>()
<a name="l00430"></a>00430 {
<a name="l00431"></a>00431     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#6d13d76ff456eccc2323293ccf935f64">fXSFacetList</a>;
<a name="l00432"></a>00432 }
<a name="l00433"></a>00433 
<a name="l00434"></a><a class="code" href="classXSSimpleTypeDefinition.html#30a1640e35d539fa3bb196f0a56c65a1">00434</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#77e1b1628a6857ba4cf4a39a9e1b03f4">XSMultiValueFacetList</a>* <a class="code" href="classXSSimpleTypeDefinition.html#30a1640e35d539fa3bb196f0a56c65a1">XSSimpleTypeDefinition::getMultiValueFacets</a>()
<a name="l00435"></a>00435 {
<a name="l00436"></a>00436     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#6d46e16cc5ae0fb119630d1ce7455369">fXSMultiValueFacetList</a>;
<a name="l00437"></a>00437 }
<a name="l00438"></a>00438 
<a name="l00439"></a><a class="code" href="classXSSimpleTypeDefinition.html#07097deff1bd0f7d901c0ae1e43ba09d">00439</a> <span class="keyword">inline</span> <a class="code" href="XSConstants_8hpp.html#d1b2b08f8735f909f69d8dc7dfb301b5">XSAnnotationList</a> *<a class="code" href="classXSSimpleTypeDefinition.html#07097deff1bd0f7d901c0ae1e43ba09d" title="Optional.">XSSimpleTypeDefinition::getAnnotations</a>()
<a name="l00440"></a>00440 {
<a name="l00441"></a>00441     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#c0704316fa402a0e520a3fec6d41a910">fXSAnnotationList</a>;
<a name="l00442"></a>00442 }
<a name="l00443"></a>00443 
<a name="l00444"></a>00444 <span class="keyword">inline</span> <span class="keywordtype">void</span>
<a name="l00445"></a>00445 XSSimpleTypeDefinition::setPrimitiveType(<a class="code" href="classXSSimpleTypeDefinition.html">XSSimpleTypeDefinition</a>* <span class="keyword">const</span> toSet)
<a name="l00446"></a>00446 {
<a name="l00447"></a>00447     <a class="code" href="classXSSimpleTypeDefinition.html#3d21890ded87b8cfe70289012e40120e">fPrimitiveOrItemType</a> = toSet;
<a name="l00448"></a>00448 }
<a name="l00449"></a>00449 
<a name="l00450"></a>00450 <span class="keyword">inline</span> DatatypeValidator* 
<a name="l00451"></a><a class="code" href="classXSSimpleTypeDefinition.html#9e6f76f1426c0cf55035c4dc5dd2efca">00451</a> <a class="code" href="classXSSimpleTypeDefinition.html#9e6f76f1426c0cf55035c4dc5dd2efca">XSSimpleTypeDefinition::getDatatypeValidator</a>()<span class="keyword"> const</span>
<a name="l00452"></a>00452 <span class="keyword"></span>{
<a name="l00453"></a>00453     <span class="keywordflow">return</span> <a class="code" href="classXSSimpleTypeDefinition.html#ff52b6acdb1af9d7747315a7f22c105d">fDatatypeValidator</a>;
<a name="l00454"></a>00454 }
<a name="l00455"></a>00455 
<a name="l00456"></a>00456 <a class="code" href="XercesDefs_8hpp.html#f03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a>
<a name="l00457"></a>00457 
<a name="l00458"></a>00458 <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>