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

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

?? domdeepnodelistpool.hpp

?? IBM的解析xml的工具Xerces的源代碼
?? HPP
字號:
/* * Copyright 2001-2002,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. *//* * $Id: DOMDeepNodeListPool.hpp,v 1.9 2004/09/08 13:55:51 peiyongz Exp $ */////  This file is part of the internal implementation of the C++ XML DOM.//  It should NOT be included or used directly by application programs.////  Applications should include the file <xercesc/dom/DOM.hpp> for the entire//  DOM API, or xercesc/dom/DOM*.hpp for individual DOM classes, where the class//  name is substituded for the *.//#if !defined(DOMDeepNODELISTPOOL_HPP)#define DOMDeepNODELISTPOOL_HPP#include <xercesc/util/HashBase.hpp>#include <xercesc/util/IllegalArgumentException.hpp>#include <xercesc/util/NoSuchElementException.hpp>#include <xercesc/util/RuntimeException.hpp>#include <xercesc/util/XMLExceptMsgs.hpp>#include <xercesc/util/XMLEnumerator.hpp>#include <xercesc/util/XMLString.hpp>#include <xercesc/util/HashXMLCh.hpp>#include <xercesc/util/HashPtr.hpp>XERCES_CPP_NAMESPACE_BEGIN// This hash table is modified from RefHash3KeysIdPool with first key as object ptr (DOMNode),// second and third keys are both XMLCh* stringtemplate <class TVal> struct DOMDeepNodeListPoolTableBucketElem;////  This should really be a nested class, but some of the compilers we//  have to support cannot deal with that!//template <class TVal>struct DOMDeepNodeListPoolTableBucketElem : public XMemory{    DOMDeepNodeListPoolTableBucketElem    (        void* key1        , XMLCh* key2        , XMLCh* key3        , TVal* const value        , DOMDeepNodeListPoolTableBucketElem<TVal>* next        , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager    ) :    fData(value)    , fNext(next)    , fKey1(key1)    , fKey2(0)    , fKey3(0)    {        if (key2)            fKey2 = XMLString::replicate(key2, manager);        if (key3)            fKey3 = XMLString::replicate(key3, manager);    }    TVal*                                     fData;    DOMDeepNodeListPoolTableBucketElem<TVal>* fNext;    void*                                     fKey1;    XMLCh*                                    fKey2;    XMLCh*                                    fKey3;    ~DOMDeepNodeListPoolTableBucketElem() {};};template <class TVal> class DOMDeepNodeListPool{public:    // -----------------------------------------------------------------------    //  Constructors and Destructor    // -----------------------------------------------------------------------    // backwards compatability - default hasher is HashXMLCh    DOMDeepNodeListPool    (        const XMLSize_t modulus      , const XMLSize_t initSize = 128    );    // backwards compatability - default hasher is HashXMLCh    DOMDeepNodeListPool    (        const XMLSize_t modulus      , const bool adoptElems      , const XMLSize_t initSize = 128    );    // if a hash function is passed in, it will be deleted when the hashtable is deleted.    // use a new instance of the hasher class for each hashtable, otherwise one hashtable    // may delete the hasher of a different hashtable if both use the same hasher.    DOMDeepNodeListPool    (         const XMLSize_t modulus       , const bool adoptElems       , HashBase* hashBase       , const XMLSize_t initSize = 128    );    ~DOMDeepNodeListPool();    // -----------------------------------------------------------------------    //  Element management    // -----------------------------------------------------------------------    bool isEmpty() const;    bool containsKey(const void* const key1, const XMLCh* const key2, const XMLCh* const key3) const;    void removeAll();    void cleanup();    // -----------------------------------------------------------------------    //  Getters    // -----------------------------------------------------------------------    TVal* getByKey(const void* const key1, const XMLCh* const key2, const XMLCh* const key3);    const TVal* getByKey(const void* const key1, const XMLCh* const key2, const XMLCh* const key3) const;    TVal* getById(const XMLSize_t elemId);    const TVal* getById(const XMLSize_t elemId) const;    // -----------------------------------------------------------------------    //  Putters    // -----------------------------------------------------------------------	XMLSize_t put(void* key1, XMLCh* key2, XMLCh* key3, TVal* const valueToAdopt);private:    // -----------------------------------------------------------------------    //  Private methods    // -----------------------------------------------------------------------    DOMDeepNodeListPoolTableBucketElem<TVal>* findBucketElem(const void* const key1, const XMLCh* const key2, const XMLCh* const key3, XMLSize_t& hashVal);    const DOMDeepNodeListPoolTableBucketElem<TVal>* findBucketElem(const void* const key1, const XMLCh* const key2, const XMLCh* const key3, XMLSize_t& hashVal) const;    void initialize(const XMLSize_t modulus);    // -----------------------------------------------------------------------    // Unimplemented constructors and operators    // -----------------------------------------------------------------------    DOMDeepNodeListPool(const DOMDeepNodeListPool<TVal> &);    DOMDeepNodeListPool<TVal> & operator = (const DOMDeepNodeListPool<TVal> &);    // -----------------------------------------------------------------------    //  Data members    //    //  fAdoptedElems    //      Indicates whether the values added are adopted or just referenced.    //      If adopted, then they are deleted when they are removed from the    //      hash table.    //    //  fBucketList    //      This is the array that contains the heads of all of the list    //      buckets, one for each possible hash value.    //    //  fHashModulus    //      The modulus used for this hash table, to hash the keys. This is    //      also the number of elements in the bucket list.    //    //  fHash    //      The hasher for the key1 data type.    //    //  fIdPtrs    //  fIdPtrsCount    //      This is the array of pointers to the bucket elements in order of    //      their assigned ids. So taking id N and referencing this array    //      gives you the element with that id. The count field indicates    //      the current size of this list. When fIdCounter+1 reaches this    //      value the list must be expanded.    //    //  fIdCounter    //      This is used to give out unique ids to added elements. It starts    //      at zero (which means empty), and is bumped up for each newly added    //      element. So the first element is 1, the next is 2, etc... This    //      means that this value is set to the top index of the fIdPtrs array.    // -----------------------------------------------------------------------    bool                                       fAdoptedElems;    DOMDeepNodeListPoolTableBucketElem<TVal>** fBucketList;    XMLSize_t                                  fHashModulus;    HashBase*                                  fHash;    TVal**                                     fIdPtrs;    XMLSize_t                                  fIdPtrsCount;    XMLSize_t                                  fIdCounter;    MemoryManager*                             fMemoryManager;};XERCES_CPP_NAMESPACE_END#if !defined(XERCES_TMPLSINC)#include <xercesc/dom/impl/DOMDeepNodeListPool.c>#endif#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线免费播放| 日韩理论在线观看| 欧美视频在线观看一区| caoporen国产精品视频| 国产91丝袜在线播放0| 成人综合激情网| 成人免费视频国产在线观看| 国产福利视频一区二区三区| 高清不卡一区二区| 99re这里只有精品首页| 97久久精品人人爽人人爽蜜臀| 成人性生交大片免费| gogogo免费视频观看亚洲一| 色久优优欧美色久优优| 欧美精选在线播放| 精品福利一二区| 中文字幕精品三区| 亚洲免费看黄网站| 日本欧美大码aⅴ在线播放| 久久99国产精品麻豆| 国产91色综合久久免费分享| 在线精品视频免费观看| 日韩一级二级三级| 国产日韩欧美精品综合| 亚洲一区二区三区爽爽爽爽爽| 天天综合色天天综合色h| 男人的j进女人的j一区| 国产黄色精品视频| 欧美在线制服丝袜| 国产无遮挡一区二区三区毛片日本| 欧美激情一区二区三区不卡| 一区二区三区 在线观看视频| 日韩国产欧美三级| bt7086福利一区国产| 91精品国产色综合久久不卡电影 | 久久精品欧美一区二区三区不卡| 中文字幕在线不卡视频| 亚洲一卡二卡三卡四卡无卡久久| 久99久精品视频免费观看| 99久久国产综合精品女不卡| 欧美精品亚洲二区| 最新国产の精品合集bt伙计| 无码av免费一区二区三区试看| 国产精品一级片在线观看| 欧美三级午夜理伦三级中视频| 久久综合九色欧美综合狠狠 | 欧美日韩一二三区| 日本一区二区三区电影| 免费高清在线一区| 欧美性大战xxxxx久久久| 国产日产欧产精品推荐色| 天天av天天翘天天综合网| 高清在线观看日韩| 精品久久久久久最新网址| 午夜视黄欧洲亚洲| 色婷婷av久久久久久久| 国产婷婷精品av在线| 蜜臀久久99精品久久久久久9| 色噜噜狠狠成人网p站| 国产精品另类一区| 国产成人精品影视| 久久男人中文字幕资源站| 久久国产福利国产秒拍| 制服丝袜一区二区三区| 亚洲高清中文字幕| 欧美性猛片aaaaaaa做受| 亚洲丝袜美腿综合| 成人av免费观看| 国产精品视频线看| 国产精品99久久久久久似苏梦涵| 欧美一区二区三区播放老司机| 亚洲www啪成人一区二区麻豆| 91碰在线视频| 尤物av一区二区| 欧美视频三区在线播放| 亚洲综合精品久久| 欧美日韩成人综合在线一区二区| 亚洲自拍另类综合| 欧美另类一区二区三区| 午夜精品福利一区二区蜜股av| 欧美日韩中文另类| 天堂精品中文字幕在线| 欧美一区二区三区影视| 免费成人在线播放| 久久精品人人做人人爽97 | 亚洲欧洲日产国码二区| 色综合久久九月婷婷色综合| 亚洲综合清纯丝袜自拍| 欧美精品丝袜久久久中文字幕| 免费观看久久久4p| 亚洲综合精品久久| 欧美日本国产一区| 美女一区二区三区在线观看| 欧美成人三级在线| 成人av影院在线| 亚洲精品国产一区二区精华液 | 国产麻豆视频一区| 久久久激情视频| 色噜噜狠狠成人中文综合| 天天操天天干天天综合网| 久久久久久一级片| 在线看国产一区| 精品在线亚洲视频| 亚洲男女一区二区三区| 91精品国产综合久久久久久| 国产精品一区二区不卡| 一区二区三区在线观看欧美| 日韩欧美一二三四区| 成人三级在线视频| 免费观看日韩av| 中文字幕一区二区三区乱码在线| 91精品国产入口在线| 岛国一区二区三区| 肉肉av福利一精品导航| 中文字幕一区二区三区不卡在线| 欧美日韩一卡二卡| 国产91在线观看丝袜| 亚洲成av人片一区二区三区| 久久久无码精品亚洲日韩按摩| 日本电影欧美片| 国产丶欧美丶日本不卡视频| 日韩成人午夜电影| 国产精品不卡在线| 久久亚洲二区三区| 精品视频在线视频| 不卡电影一区二区三区| 国产在线乱码一区二区三区| 一区二区三区在线视频观看58 | 亚洲精品一区二区三区蜜桃下载| 色视频欧美一区二区三区| 国产精品一区二区在线观看网站| 日韩高清电影一区| 亚洲成人激情自拍| 亚洲一区在线看| 亚洲天堂福利av| 国产精品超碰97尤物18| 国产性天天综合网| 久久久久亚洲蜜桃| 欧美刺激午夜性久久久久久久| 欧美日韩一区二区欧美激情 | 欧美日韩国产精品成人| 一本色道a无线码一区v| 成人app在线| 成人av网站免费| 成人永久看片免费视频天堂| 免费高清不卡av| 免费久久99精品国产| 日韩电影一区二区三区四区| 亚洲成av人**亚洲成av**| 亚洲一区二区在线免费看| 一级日本不卡的影视| 亚洲综合一区二区精品导航| 一区二区三区日本| 国产在线视频不卡二| 久久成人免费网| 精品在线免费视频| 国产精品77777| 成人精品小蝌蚪| 99国产精品视频免费观看| 色综合久久综合| 欧美色窝79yyyycom| 欧美精品乱码久久久久久| 91精品在线一区二区| 日韩欧美卡一卡二| 国产午夜精品一区二区三区嫩草| 欧美激情资源网| 一区二区高清在线| 人人狠狠综合久久亚洲| 六月丁香综合在线视频| 国产精品一区三区| 在线观看亚洲a| 日韩美女在线视频| 综合网在线视频| 午夜精品123| 国产乱码字幕精品高清av| 成人国产免费视频| 欧美电影一区二区三区| 2023国产一二三区日本精品2022| 久久久99精品免费观看不卡| 亚洲精品欧美激情| 久久国产人妖系列| 色av成人天堂桃色av| 日韩亚洲欧美中文三级| 国产蜜臀97一区二区三区| 亚洲永久免费av| 国产福利一区二区三区| 在线免费一区三区| 国产亚洲制服色| 亚洲成a天堂v人片| 成人一区在线观看| 69堂国产成人免费视频| 国产精品网曝门| 日韩av电影天堂| 日本韩国一区二区| 久久综合九色综合97_久久久| 亚洲高清视频中文字幕| 成人免费三级在线| 日韩欧美一级二级三级| 亚洲网友自拍偷拍| 成人福利视频在线看|