亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xssimpletypedefinition.hpp

?? IBM的解析xml的工具Xerces的源代碼
?? HPP
字號:
/* * Copyright 2003,2004 The Apache Software Foundation. *  * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *  *      http://www.apache.org/licenses/LICENSE-2.0 *  * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *//* * $Log: XSSimpleTypeDefinition.hpp,v $ * Revision 1.12  2004/09/13 21:23:00  peiyongz * getDatatypeValidator() * * Revision 1.11  2004/09/08 13:56:09  peiyongz * Apache License Version 2.0 * * Revision 1.10  2003/12/24 17:42:02  knoaman * Misc. PSVI updates * * Revision 1.9  2003/12/01 23:23:26  neilg * fix for bug 25118; thanks to Jeroen Witmond * * Revision 1.8  2003/11/25 18:08:31  knoaman * Misc. PSVI updates. Thanks to David Cargill. * * Revision 1.7  2003/11/24 15:45:36  knoaman * PSVI: finish construction of XSSimpleTypeDefinition * * Revision 1.6  2003/11/21 17:34:04  knoaman * PSVI update * * Revision 1.5  2003/11/14 22:47:53  neilg * fix bogus log message from previous commit... * * Revision 1.4  2003/11/14 22:33:30  neilg * Second phase of schema component model implementation.   * Implement XSModel, XSNamespaceItem, and the plumbing necessary * to connect them to the other components. * Thanks to David Cargill. * * Revision 1.3  2003/11/06 21:50:33  neilg * fix compilation errors under gcc 3.3. * * Revision 1.2  2003/11/06 15:30:04  neilg * first part of PSVI/schema component model implementation, thanks to David Cargill.  This covers setting the PSVIHandler on parser objects, as well as implementing XSNotation, XSSimpleTypeDefinition, XSIDCDefinition, and most of XSWildcard, XSComplexTypeDefinition, XSElementDeclaration, XSAttributeDeclaration and XSAttributeUse. * * Revision 1.1  2003/09/16 14:33:36  neilg * PSVI/schema component model classes, with Makefile/configuration changes necessary to build them * */#if !defined(XSSIMPLETYPEDEFINITION_HPP)#define XSSIMPLETYPEDEFINITION_HPP#include <xercesc/framework/psvi/XSTypeDefinition.hpp>XERCES_CPP_NAMESPACE_BEGIN/** * This class represents a simpleType definition * schema component. * This is *always* owned by the validator /parser object from which * it is obtained.   * */// forward declarationsclass XSAnnotation;class XSFacet;class XSMultiValueFacet;class DatatypeValidator;class XMLPARSER_EXPORT XSSimpleTypeDefinition : public XSTypeDefinition{public:    // Variety definitions    enum VARIETY {	    /**	     * The variety is absent for the anySimpleType definition.	     */	    VARIETY_ABSENT            = 0,	    /**	     * <code>Atomic</code> type.	     */	    VARIETY_ATOMIC            = 1,	    /**	     * <code>List</code> type.	     */	    VARIETY_LIST              = 2,	    /**	     * <code>Union</code> type.	     */	    VARIETY_UNION             = 3    };    // Facets    enum FACET {	    /**	     * No facets defined.	     */	    FACET_NONE                = 0,	    /**	     * 4.3.1 Length	     */	    FACET_LENGTH              = 1,	    /**	     * 4.3.2 minLength. 	     */	    FACET_MINLENGTH           = 2,	    /**	     * 4.3.3 maxLength.	     */	    FACET_MAXLENGTH           = 4,	    /**	     * 4.3.4 pattern.	     */	    FACET_PATTERN             = 8,	    /**	     * 4.3.5 whitespace.	     */	    FACET_WHITESPACE          = 16,	    /**	     * 4.3.7 maxInclusive.	     */	    FACET_MAXINCLUSIVE        = 32,	    /**	     * 4.3.9 maxExclusive.	     */	    FACET_MAXEXCLUSIVE        = 64,	    /**	     * 4.3.9 minExclusive.	     */	    FACET_MINEXCLUSIVE        = 128,	    /**	     * 4.3.10 minInclusive.	     */	    FACET_MININCLUSIVE        = 256,	    /**	     * 4.3.11 totalDigits .	     */	    FACET_TOTALDIGITS         = 512,	    /**	     * 4.3.12 fractionDigits.	     */	    FACET_FRACTIONDIGITS      = 1024,	    /**	     * 4.3.5 enumeration.	     */	    FACET_ENUMERATION         = 2048    };    // possible order relations    enum ORDERING {	    /**	     * A constant defined for the 'ordered' fundamental facet: Not ordered.	     */	    ORDERED_FALSE             = 0,	    /**	     * A constant defined for the 'ordered' fundamental facet: partially 	     * ordered.	     */	    ORDERED_PARTIAL           = 1,	    /**	     * A constant defined for the 'ordered' fundamental facet: total ordered.	     */        ORDERED_TOTAL             = 2    };	//  Constructors and Destructor    // -----------------------------------------------------------------------    /** @name Constructors */    //@{    /**      * The default constructor       *      * @param  datatypeValidator      * @param  stVariety      * @param  xsBaseType      * @param  primitiveOrItemType      * @param  memberTypes      * @param  headAnnot      * @param  xsModel      * @param  manager     The configurable memory manager      */    XSSimpleTypeDefinition    (        DatatypeValidator* const            datatypeValidator        , VARIETY                           stVariety        , XSTypeDefinition* const           xsBaseType        , XSSimpleTypeDefinition* const     primitiveOrItemType        , XSSimpleTypeDefinitionList* const memberTypes        , XSAnnotation*                     headAnnot        , XSModel* const                    xsModel        , MemoryManager* const              manager = XMLPlatformUtils::fgMemoryManager    );    //@};    /** @name Destructor */    //@{    ~XSSimpleTypeDefinition();    //@}    //---------------------    /** @name XSSimpleTypeDefinition methods */    //@{    /**     * [variety]: one of {atomic, list, union} or absent      */    VARIETY getVariety() const;    /**     * If variety is <code>atomic</code> the primitive type definition (a      * built-in primitive datatype definition or the simple ur-type      * definition) is available, otherwise <code>null</code>.      */    XSSimpleTypeDefinition *getPrimitiveType();    /**     * If variety is <code>list</code> the item type definition (an atomic or      * union simple type definition) is available, otherwise      * <code>null</code>.      */    XSSimpleTypeDefinition *getItemType();    /**     * If variety is <code>union</code> the list of member type definitions (a      * non-empty sequence of simple type definitions) is available,      * otherwise <code>null</code>.      */    XSSimpleTypeDefinitionList *getMemberTypes() const;    /**     * [facets]: get all facets defined on this type. The value is a bit      * combination of FACET_XXX constants of all defined facets.      */    int getDefinedFacets() const;    /**     * Convenience method. [Facets]: check whether a facet is defined on this      * type.     * @param facetName  The name of the facet.      * @return  True if the facet is defined, false otherwise.     */    bool isDefinedFacet(FACET facetName);    /**     * [facets]: get all facets defined and fixed on this type.     */    int getFixedFacets() const;    /**     * Convenience method. [Facets]: check whether a facet is defined and      * fixed on this type.      * @param facetName  The name of the facet.      * @return  True if the facet is fixed, false otherwise.     */    bool isFixedFacet(FACET facetName);    /**     * Convenience method. Returns a value of a single constraining facet for      * this simple type definition. This method must not be used to retrieve      * values for <code>enumeration</code> and <code>pattern</code> facets.      * @param facetName The name of the facet, i.e.      *   <code>FACET_LENGTH, FACET_TOTALDIGITS </code> (see      *   <code>XSConstants</code>).To retrieve value for pattern or      *   enumeration, see <code>enumeration</code> and <code>pattern</code>.     * @return A value of the facet specified in <code>facetName</code> for      *   this simple type definition or <code>null</code>.      */    const XMLCh *getLexicalFacetValue(FACET facetName);    /**     * Returns a list of enumeration values.      */    StringList *getLexicalEnumeration();    /**     * Returns a list of pattern values.      */    StringList *getLexicalPattern();    /**     *  Fundamental Facet: ordered      */    ORDERING getOrdered() const;    /**     * Fundamental Facet: cardinality.      */    bool getFinite() const;    /**     * Fundamental Facet: bounded.      */    bool getBounded() const;    /**     * Fundamental Facet: numeric.      */    bool getNumeric() const;    /**     * Optional. A set of [annotation]s.      */    XSAnnotationList *getAnnotations();    /**      * @return list of constraining facets.     * This method must not be used to retrieve      * values for <code>enumeration</code> and <code>pattern</code> facets.     */    XSFacetList *getFacets();        /**      * @return list of enumeration and pattern facets.     */    XSMultiValueFacetList *getMultiValueFacets();        /**     * The name of type <code>NCName</code> of this declaration as defined in      * XML Namespaces.     */    const XMLCh* getName();    /**     *  The [target namespace] of this object, or <code>null</code> if it is      * unspecified.      */    const XMLCh* getNamespace();    /**     * A namespace schema information item corresponding to the target      * namespace of the component, if it's globally declared; or null      * otherwise.     */    XSNamespaceItem *getNamespaceItem();    /**     *  A boolean that specifies if the type definition is      * anonymous. Convenience attribute.      */    bool getAnonymous() const;    /**     * {base type definition}: either a simple type definition or a complex      * type definition.      */    XSTypeDefinition *getBaseType();    /**     * Convenience method: check if this type is derived from the given      * <code>ancestorType</code>.      * @param ancestorType  An ancestor type definition.      * @return  Return true if this type is derived from      *   <code>ancestorType</code>.     */    bool derivedFromType(const XSTypeDefinition* const ancestorType);    /**     *      */    inline DatatypeValidator* getDatatypeValidator() const;    //@}    //----------------------------------    /** methods needed by implementation */    //@{    //@}private:    // -----------------------------------------------------------------------    //  Unimplemented constructors and operators    // -----------------------------------------------------------------------    XSSimpleTypeDefinition(const XSSimpleTypeDefinition&);    XSSimpleTypeDefinition & operator=(const XSSimpleTypeDefinition &);    /**      * Helper method for construct      */    void setFacetInfo    (        int                            definedFacets        , int                          fixedFacets        , XSFacetList* const           xsFacetList        , XSMultiValueFacetList* const xsMultiValueFacetList        , StringList* const            patternList    );    void setPrimitiveType(XSSimpleTypeDefinition*  const toSet);    friend class XSObjectFactory;protected:    // -----------------------------------------------------------------------    //  data members    // -----------------------------------------------------------------------    int                         fDefinedFacets;    int                         fFixedFacets;    VARIETY                     fVariety;    DatatypeValidator*          fDatatypeValidator;    XSFacetList*                fXSFacetList;    XSMultiValueFacetList*      fXSMultiValueFacetList;    StringList*                 fPatternList;    XSSimpleTypeDefinition*     fPrimitiveOrItemType;    XSSimpleTypeDefinitionList* fMemberTypes;    XSAnnotationList*           fXSAnnotationList;};inline XSSimpleTypeDefinition::VARIETY XSSimpleTypeDefinition::getVariety() const{    return fVariety;}inline XSSimpleTypeDefinition* XSSimpleTypeDefinition::getPrimitiveType(){    if (fVariety == VARIETY_ATOMIC)        return fPrimitiveOrItemType;    return 0;}inline XSSimpleTypeDefinition* XSSimpleTypeDefinition::getItemType(){    if (fVariety == VARIETY_LIST)        return fPrimitiveOrItemType;    return 0;}inline XSSimpleTypeDefinitionList* XSSimpleTypeDefinition::getMemberTypes() const{    return fMemberTypes;}inline int XSSimpleTypeDefinition::getDefinedFacets() const{    return fDefinedFacets;}inline int XSSimpleTypeDefinition::getFixedFacets() const{    return fFixedFacets;}inline StringList* XSSimpleTypeDefinition::getLexicalPattern(){    return fPatternList;}inline XSFacetList* XSSimpleTypeDefinition::getFacets(){    return fXSFacetList;}inline XSMultiValueFacetList* XSSimpleTypeDefinition::getMultiValueFacets(){    return fXSMultiValueFacetList;}inline XSAnnotationList *XSSimpleTypeDefinition::getAnnotations(){    return fXSAnnotationList;}inline voidXSSimpleTypeDefinition::setPrimitiveType(XSSimpleTypeDefinition* const toSet){    fPrimitiveOrItemType = toSet;}inline DatatypeValidator* XSSimpleTypeDefinition::getDatatypeValidator() const{    return fDatatypeValidator;}XERCES_CPP_NAMESPACE_END#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美人动与zoxxxx乱| 亚洲精品视频在线看| 国产成人鲁色资源国产91色综 | 91精品福利视频| 五月婷婷激情综合网| 91精品综合久久久久久| 麻豆精品久久久| 国产精品热久久久久夜色精品三区| 91在线国内视频| 午夜久久福利影院| 久久久综合视频| 色综合久久中文综合久久97| 日韩电影一区二区三区四区| 久久亚洲综合av| 91在线精品一区二区| 日韩精彩视频在线观看| 国产亚洲一区二区三区四区| 成人国产在线观看| 亚洲成人免费观看| 精品电影一区二区| 色婷婷av一区| 麻豆精品一区二区三区| 91视视频在线观看入口直接观看www | 国产精品美女久久久久久2018| 欧亚洲嫩模精品一区三区| 美女视频黄频大全不卡视频在线播放 | 精品国产乱码久久久久久影片| gogo大胆日本视频一区| 亚洲777理论| 久久毛片高清国产| 欧美视频在线一区二区三区| 韩日av一区二区| 一区二区三区中文免费| 日韩欧美高清dvd碟片| 99久久99久久综合| 奇米亚洲午夜久久精品| 中文字幕一区二区三区四区不卡| 91精品国产综合久久小美女| av爱爱亚洲一区| 麻豆国产欧美日韩综合精品二区| 中文字幕亚洲视频| 亚洲欧美日韩国产手机在线| 亚洲精品国产无套在线观| 91精品国产综合久久婷婷香蕉 | 秋霞影院一区二区| 国产精品美女视频| 日韩午夜av一区| 色哟哟一区二区在线观看| 国模冰冰炮一区二区| 亚洲国产精品欧美一二99| 久久精品夜色噜噜亚洲a∨| 欧美精品自拍偷拍| 97se亚洲国产综合自在线| 精品亚洲国产成人av制服丝袜| 亚洲精品一二三区| 欧美国产日韩一二三区| 日韩一区和二区| 在线欧美小视频| 成人小视频免费观看| 美腿丝袜一区二区三区| 亚洲国产欧美在线人成| 自拍偷自拍亚洲精品播放| 久久久久久久久伊人| 91精品国产色综合久久不卡蜜臀| 一本大道av一区二区在线播放 | 国产精品一二三四| 欧美大片拔萝卜| 91久久久免费一区二区| 成人动漫一区二区| 国产精品一二三四五| 久久精品免费看| 日韩电影在线观看电影| 亚洲国产视频直播| 亚洲精品国产品国语在线app| 亚洲国产精品99久久久久久久久| 精品人在线二区三区| 91精品国产综合久久久蜜臀粉嫩| 欧美在线你懂得| 91丝袜美腿高跟国产极品老师 | 欧美性xxxxx极品少妇| www.欧美色图| 成人激情午夜影院| 国产成人自拍在线| 国产专区综合网| 极品美女销魂一区二区三区免费| 日本免费在线视频不卡一不卡二| 亚洲午夜在线视频| 一区二区三区美女| 一区二区高清免费观看影视大全| 亚洲情趣在线观看| 亚洲免费伊人电影| 亚洲男女一区二区三区| 91久久精品国产91性色tv | 欧美精品一区二区三区在线 | 国产制服丝袜一区| 精品在线播放免费| 久久激五月天综合精品| 久久99热国产| 国内成人免费视频| 国产黄人亚洲片| 国产成人综合亚洲91猫咪| 国产成人午夜精品影院观看视频 | 成人免费一区二区三区视频 | 欧美激情一区二区| 国产精品免费视频一区| 国产精品福利电影一区二区三区四区| 国产精品天干天干在观线| 欧美激情一区二区三区蜜桃视频 | 久久久久久久一区| 国产日韩欧美a| 成人小视频在线观看| 99综合影院在线| 色先锋资源久久综合| 欧美性大战xxxxx久久久| 欧美日韩高清一区| 91精品国产美女浴室洗澡无遮挡| 欧美一级日韩一级| 精品日韩欧美在线| 日本一二三不卡| 亚洲婷婷综合久久一本伊一区| 亚洲欧美日韩一区| 亚洲成人在线网站| 人人超碰91尤物精品国产| 狠狠色丁香久久婷婷综合丁香| 国产成人亚洲精品青草天美| aaa亚洲精品| 欧美日韩国产一级片| 日韩精品最新网址| 日本一区二区高清| 一区二区三区毛片| 免费观看一级欧美片| 国产成人免费高清| 一本久久a久久精品亚洲 | 欧美日韩三级在线| 欧美一区二区精品| 欧美国产乱子伦| 一区二区三区在线免费视频| 日本欧美加勒比视频| 国产精品88888| 色综合天天性综合| 欧美日产国产精品| 久久久国际精品| 亚洲精品国产成人久久av盗摄 | 国产成人免费视频| 91久久一区二区| 欧美videos大乳护士334| 国产精品久久网站| 555www色欧美视频| 国产肉丝袜一区二区| 一区二区三区影院| 蜜桃视频第一区免费观看| 粉嫩av一区二区三区粉嫩| 欧美综合色免费| 久久久蜜桃精品| 一区二区三区四区中文字幕| 久久精品国产澳门| 一本色道久久综合狠狠躁的推荐| 欧美一级片在线看| 中文字幕在线免费不卡| 亚洲一区二区三区四区五区黄 | 精品国产乱码久久久久久免费| 国产精品美女www爽爽爽| 日韩精品电影在线观看| 国产91精品久久久久久久网曝门 | 欧美xxxx老人做受| 亚洲人被黑人高潮完整版| 久久精品国产精品亚洲精品 | 色偷偷88欧美精品久久久| 欧美一级日韩免费不卡| 综合久久综合久久| 精品中文字幕一区二区小辣椒| 91小视频免费观看| 欧美不卡一区二区三区| 一区二区在线观看av| 国产一区二区三区久久久 | 亚洲精品水蜜桃| 国产麻豆精品在线| 欧美日韩mp4| 国产精品福利电影一区二区三区四区| 蜜臂av日日欢夜夜爽一区| 色成年激情久久综合| 久久久国产一区二区三区四区小说 | 久久99精品国产麻豆婷婷洗澡| 日本精品视频一区二区三区| 国产午夜精品一区二区三区嫩草| 亚洲成a人v欧美综合天堂下载| 成人黄色国产精品网站大全在线免费观看 | 久久久久88色偷偷免费| 爽好久久久欧美精品| 97se亚洲国产综合自在线不卡| 久久综合精品国产一区二区三区| 午夜不卡在线视频| 91小视频在线| 国产精品入口麻豆原神| 国内欧美视频一区二区| 欧美久久婷婷综合色| 亚洲精品乱码久久久久久久久 | 丰满少妇久久久久久久| 日韩精品一区二区三区三区免费| 亚洲国产精品欧美一二99|