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

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

?? refhash2keystableof.hpp

?? IBM的解析xml的工具Xerces的源代碼
?? HPP
字號:
/* * Copyright 2001-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: RefHash2KeysTableOf.hpp,v $ * Revision 1.12  2004/09/08 13:56:22  peiyongz * Apache License Version 2.0 * * Revision 1.11  2004/08/30 15:18:35  amassari * - Added transferElement API * - The iterator class now can iterate over the items having the same primary key * * Revision 1.10  2004/03/01 15:03:08  peiyongz * new getter: getHashModulus * * Revision 1.9  2004/01/29 11:48:46  cargilld * Code cleanup changes to get rid of various compiler diagnostic messages. * * Revision 1.8  2003/12/17 00:18:35  cargilld * Update to memory management so that the static memory manager (one used to call Initialize) is only for static data. * * Revision 1.7  2003/10/20 11:45:06  gareth * Made enumerators inherit from XMemory. * * Revision 1.6  2003/10/17 21:10:40  peiyongz * nextElementKey() added * * Revision 1.5  2003/05/18 14:02:05  knoaman * Memory manager implementation: pass per instance manager. * * Revision 1.4  2003/05/15 19:04:35  knoaman * Partial implementation of the configurable memory manager. * * Revision 1.3  2002/11/04 15:22:04  tng * C++ Namespace Support. * * Revision 1.2  2002/06/12 17:15:12  tng * Remove redundant include header file. * * Revision 1.1.1.1  2002/02/01 22:22:12  peiyongz * sane_include * * Revision 1.4  2001/12/22 01:06:08  jasons * Made the destructors virtual for: * * * ~RefHash2KeysTableOfEnumerator * * ~RefHash3KeysIdPoolEnumerator * * This fixes bug #5514 * * Revision 1.3  2001/06/04 13:45:03  tng * The "hash" argument clashes with STL hash.  Fixed by Pei Yong Zhang. * * Revision 1.2  2001/05/11 13:26:28  tng * Copyright update. * * Revision 1.1  2001/02/27 18:24:01  tng * Schema: Add utility RefHash2KeysTableOf. * */#if !defined(REFHASH2KEYSTABLEOF_HPP)#define REFHASH2KEYSTABLEOF_HPP#include <xercesc/util/HashBase.hpp>#include <xercesc/util/IllegalArgumentException.hpp>#include <xercesc/util/NoSuchElementException.hpp>#include <xercesc/util/RuntimeException.hpp>#include <xercesc/util/XMLString.hpp>#include <xercesc/util/HashXMLCh.hpp>#include <xercesc/util/PlatformUtils.hpp>XERCES_CPP_NAMESPACE_BEGIN// This hash table is similar to RefHashTableOf with an additional integer as key2////  Forward declare the enumerator so he can be our friend. Can you say//  friend? Sure...//template <class TVal> class RefHash2KeysTableOfEnumerator;template <class TVal> struct RefHash2KeysTableBucketElem;////  This should really be a nested class, but some of the compilers we//  have to support cannot deal with that!//template <class TVal> struct RefHash2KeysTableBucketElem : public XMemory{    RefHash2KeysTableBucketElem(void* key1, int key2, TVal* const value, RefHash2KeysTableBucketElem<TVal>* next)		: fData(value), fNext(next), fKey1(key1), fKey2(key2)        {        }    ~RefHash2KeysTableBucketElem() {};    TVal*                           fData;    RefHash2KeysTableBucketElem<TVal>*   fNext;	void*							fKey1;	int							fKey2;private:    // -----------------------------------------------------------------------    //  Unimplemented constructors and operators    // -----------------------------------------------------------------------    RefHash2KeysTableBucketElem(const RefHash2KeysTableBucketElem<TVal>&);    RefHash2KeysTableBucketElem<TVal>& operator=(const RefHash2KeysTableBucketElem<TVal>&);};template <class TVal> class RefHash2KeysTableOf : public XMemory{public:    // -----------------------------------------------------------------------    //  Constructors and Destructor    // -----------------------------------------------------------------------	// backwards compatability - default hasher is HashXMLCh    RefHash2KeysTableOf    (        const unsigned int modulus		, MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager    );	// backwards compatability - default hasher is HashXMLCh    RefHash2KeysTableOf    (        const unsigned int modulus        , const bool adoptElems        , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager    );	// 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.    RefHash2KeysTableOf    (        const unsigned int modulus        , const bool adoptElems        , HashBase* hashBase        , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager    );    ~RefHash2KeysTableOf();    // -----------------------------------------------------------------------    //  Element management    // -----------------------------------------------------------------------    bool isEmpty() const;    bool containsKey(const void* const key1, const int key2) const;    void removeKey(const void* const key1, const int key2);    void removeAll();    void transferElement(const void* const key1, void* key2);    // -----------------------------------------------------------------------    //  Getters    // -----------------------------------------------------------------------    TVal* get(const void* const key1, const int key2);    const TVal* get(const void* const key1, const int key2) const;    MemoryManager* getMemoryManager() const;    unsigned int   getHashModulus()   const;    // -----------------------------------------------------------------------    //  Putters    // -----------------------------------------------------------------------	void put(void* key1, int key2, TVal* const valueToAdopt);private :    // -----------------------------------------------------------------------    //  Declare our friends    // -----------------------------------------------------------------------    friend class RefHash2KeysTableOfEnumerator<TVal>;    private:    // -----------------------------------------------------------------------    //  Unimplemented constructors and operators    // -----------------------------------------------------------------------    RefHash2KeysTableOf(const RefHash2KeysTableOf<TVal>&);    RefHash2KeysTableOf<TVal>& operator=(const RefHash2KeysTableOf<TVal>&);    // -----------------------------------------------------------------------    //  Private methods    // -----------------------------------------------------------------------    RefHash2KeysTableBucketElem<TVal>* findBucketElem(const void* const key1, const int key2, unsigned int& hashVal);    const RefHash2KeysTableBucketElem<TVal>* findBucketElem(const void* const key1, const int key2, unsigned int& hashVal) const;    void removeBucketElem(const void* const key1, const int key2, unsigned int& hashVal);	void initialize(const unsigned int modulus);    // -----------------------------------------------------------------------    //  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.    // -----------------------------------------------------------------------    MemoryManager*                      fMemoryManager;    bool                                fAdoptedElems;    RefHash2KeysTableBucketElem<TVal>** fBucketList;    unsigned int                        fHashModulus;	HashBase*							fHash;};////  An enumerator for a value array. It derives from the basic enumerator//  class, so that value vectors can be generically enumerated.//template <class TVal> class RefHash2KeysTableOfEnumerator : public XMLEnumerator<TVal>, public XMemory{public :    // -----------------------------------------------------------------------    //  Constructors and Destructor    // -----------------------------------------------------------------------    RefHash2KeysTableOfEnumerator(RefHash2KeysTableOf<TVal>* const toEnum        , const bool adopt = false        , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);    virtual ~RefHash2KeysTableOfEnumerator();    // -----------------------------------------------------------------------    //  Enum interface    // -----------------------------------------------------------------------    bool hasMoreElements() const;    TVal& nextElement();    void Reset();    // -----------------------------------------------------------------------    //  New interface     // -----------------------------------------------------------------------    void nextElementKey(void*&, int&);    void setPrimaryKey(const void* key);private :    // -----------------------------------------------------------------------    //  Unimplemented constructors and operators    // -----------------------------------------------------------------------    RefHash2KeysTableOfEnumerator(const RefHash2KeysTableOfEnumerator<TVal>&);    RefHash2KeysTableOfEnumerator<TVal>& operator=(const RefHash2KeysTableOfEnumerator<TVal>&);    // -----------------------------------------------------------------------    //  Private methods    // -----------------------------------------------------------------------    void findNext();    // -----------------------------------------------------------------------    //  Data Members    //    //  fAdopted    //      Indicates whether we have adopted the passed vector. If so then    //      we delete the vector when we are destroyed.    //    //  fCurElem    //      This is the current bucket bucket element that we are on.    //    //  fCurHash    //      The is the current hash buck that we are working on. Once we hit    //      the end of the bucket that fCurElem is in, then we have to start    //      working this one up to the next non-empty bucket.    //    //  fToEnum    //      The value array being enumerated.    //    //  fLockPrimaryKey    //      Indicates that we are requested to iterate over the secondary keys    //      associated with the given primary key    //    // -----------------------------------------------------------------------    bool                                    fAdopted;    RefHash2KeysTableBucketElem<TVal>*      fCurElem;    unsigned int                            fCurHash;    RefHash2KeysTableOf<TVal>*              fToEnum;    MemoryManager* const                    fMemoryManager;    const void*                             fLockPrimaryKey;};XERCES_CPP_NAMESPACE_END#if !defined(XERCES_TMPLSINC)#include <xercesc/util/RefHash2KeysTableOf.c>#endif#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久一区二区三区四区| 亚洲欧美日韩综合aⅴ视频| 欧美大尺度电影在线| 欧美激情一区二区三区四区 | 日韩不卡手机在线v区| 国产在线精品一区二区三区不卡| 91女厕偷拍女厕偷拍高清| 日韩精品一区二区三区在线播放 | 精品亚洲porn| 欧美日韩性生活| 国产精品电影院| 国产精品自在欧美一区| 欧美精品少妇一区二区三区 | av在线免费不卡| 精品国产a毛片| 日韩福利电影在线观看| 91丨porny丨在线| 国产精品美女久久久久高潮| 精品在线亚洲视频| 欧美一区二区三区播放老司机| 亚洲精品日日夜夜| av中文字幕不卡| 国产精品久久毛片| 风间由美一区二区三区在线观看 | 成人av资源在线观看| 久久中文字幕电影| 激情欧美日韩一区二区| 欧美一区二区三区思思人| 天天av天天翘天天综合网色鬼国产| 一本色道久久综合亚洲aⅴ蜜桃| 国产蜜臀97一区二区三区| 国产精品影视网| 久久伊人蜜桃av一区二区| 国产在线麻豆精品观看| 久久久综合激的五月天| 国内精品在线播放| 国产日韩欧美在线一区| 成人午夜av在线| 亚洲欧美自拍偷拍色图| 91老司机福利 在线| 亚洲综合无码一区二区| 欧美日韩一区高清| 日本aⅴ亚洲精品中文乱码| 日韩一级欧美一级| 国产麻豆精品theporn| 国产欧美日产一区| 99久久婷婷国产综合精品| 亚洲日本在线视频观看| 欧美色网站导航| 久久精品久久精品| 国产欧美一区二区精品忘忧草| 成人一级视频在线观看| 亚洲精品高清在线观看| 欧美日韩高清影院| 国产一区二区三区日韩| 中文字幕欧美一区| 欧美男生操女生| 国产自产v一区二区三区c| 国产精品不卡视频| 欧美日韩国产高清一区二区| 狠狠色丁香久久婷婷综合_中| 中文字幕高清不卡| 欧美午夜精品一区| 国产乱码精品一区二区三| 日韩美女视频一区二区| 欧美丰满少妇xxxbbb| 国产福利一区二区三区视频| 亚洲精品老司机| 精品国产一区a| 色婷婷久久久久swag精品| 美女视频黄久久| 亚洲欧美一区二区三区久本道91 | 欧美日韩国产综合久久 | 国产精品日产欧美久久久久| 一本大道av一区二区在线播放| 日韩av电影一区| 综合分类小说区另类春色亚洲小说欧美| 色av成人天堂桃色av| 紧缚奴在线一区二区三区| 亚洲人成小说网站色在线| 精品日韩成人av| 色猫猫国产区一区二在线视频| 老司机精品视频一区二区三区| 亚洲女同一区二区| 久久亚洲一区二区三区四区| 在线亚洲人成电影网站色www| 国产专区综合网| 欧美aaaaaa午夜精品| 亚洲精品免费播放| 中文字幕一区免费在线观看| 日韩视频不卡中文| 欧美日韩精品电影| 日本韩国欧美一区| 成人激情电影免费在线观看| 精品一区精品二区高清| 午夜精品国产更新| 一区二区三区中文在线| 国产精品国产三级国产普通话99| 精品国产网站在线观看| 欧美日韩成人激情| 在线亚洲一区观看| 色欧美日韩亚洲| 91网站在线观看视频| 成人午夜看片网址| 波多野结衣中文一区| 国产精品一卡二卡在线观看| 久久精品国产一区二区三区免费看| 亚洲一区二区av电影| 一区二区国产视频| 亚洲激情欧美激情| 亚洲激情自拍视频| 一区二区三区小说| 亚洲一线二线三线久久久| 亚洲欧美另类小说视频| 最新国产の精品合集bt伙计| 亚洲欧洲性图库| 中文字幕亚洲电影| 亚洲欧美激情小说另类| 亚洲与欧洲av电影| 亚洲www啪成人一区二区麻豆| 亚洲成a天堂v人片| 偷拍一区二区三区| 美女网站色91| 国产一区二区h| 丰满白嫩尤物一区二区| 91小宝寻花一区二区三区| 色老头久久综合| 欧美裸体bbwbbwbbw| 欧美刺激午夜性久久久久久久| 久久蜜臀精品av| 国产精品久久久久久久岛一牛影视| 亚洲欧洲日韩综合一区二区| 亚洲一区免费视频| 日本视频在线一区| 国产不卡视频在线观看| 一本大道综合伊人精品热热| 欧美日韩中文另类| 精品国产区一区| 中文字幕在线一区| 午夜欧美视频在线观看| 精品无人码麻豆乱码1区2区 | 亚洲欧美日韩成人高清在线一区| 一区二区三区av电影| 蜜臀av一区二区在线免费观看| 国产一区二区三区美女| 91久久精品一区二区二区| 日韩一区二区三区在线| 欧美国产欧美亚州国产日韩mv天天看完整| 自拍偷拍国产精品| 久久se这里有精品| 91社区在线播放| 欧美电视剧在线观看完整版| 国产精品情趣视频| 日韩精品视频网| av不卡在线播放| 日韩精品最新网址| 成人欧美一区二区三区1314| 日韩精品一区第一页| 风间由美一区二区三区在线观看| 欧美视频三区在线播放| 国产精品视频第一区| 日韩精品免费专区| 99久久精品国产导航| 欧美tickling挠脚心丨vk| 一区二区在线观看视频| 国产成人免费在线观看不卡| 欧美一区二区在线免费播放| 中文字幕一区二区三区不卡| 久久精品国产色蜜蜜麻豆| 在线观看成人小视频| 中国色在线观看另类| 久久精品国产亚洲5555| 717成人午夜免费福利电影| 亚洲色图制服丝袜| 国产成人免费在线视频| 精品第一国产综合精品aⅴ| 亚洲电影中文字幕在线观看| 成人av电影免费在线播放| 久久综合色一综合色88| 男人的天堂亚洲一区| 欧美日韩高清在线播放| 亚洲国产日韩一区二区| 91性感美女视频| 中文字幕视频一区二区三区久| 国产成人免费高清| 久久久精品免费网站| 精品一区二区久久久| 日韩免费高清av| 免费日韩伦理电影| 777午夜精品视频在线播放| 一区二区三区免费观看| 91麻豆免费看片| 国产精品三级视频| 国产成人在线看| 久久精品视频免费| 国产很黄免费观看久久| 久久精品一区蜜桃臀影院| 国产精品69毛片高清亚洲| 久久奇米777| 高清在线不卡av|