~ubuntu-branches/ubuntu/precise/xerces-c/precise-security

« back to all changes in this revision

Viewing changes to src/xercesc/dom/impl/DOMDeepNodeListPool.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Jay Berkenbilt
  • Date: 2009-12-05 14:58:32 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091205145832-378dg3x72mdzfzup
Tags: 3.1.0~rc1-1
* New upstream release; public release candidate uploaded at request of
  upstream.
* Updated source format to '3.0 (quilt)'

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 */
17
17
 
18
18
/*
19
 
 * $Id: DOMDeepNodeListPool.hpp 679340 2008-07-24 10:28:29Z borisk $
 
19
 * $Id: DOMDeepNodeListPool.hpp 883368 2009-11-23 15:28:19Z amassari $
20
20
 */
21
21
 
22
22
//
125
125
    TVal* getByKey(const void* const key1, const XMLCh* const key2, const XMLCh* const key3);
126
126
    const TVal* getByKey(const void* const key1, const XMLCh* const key2, const XMLCh* const key3) const;
127
127
 
128
 
    TVal* getById(const unsigned int elemId);
129
 
    const TVal* getById(const unsigned int elemId) const;
 
128
    TVal* getById(const XMLSize_t elemId);
 
129
    const TVal* getById(const XMLSize_t elemId) const;
130
130
 
131
131
    // -----------------------------------------------------------------------
132
132
    //  Putters
133
133
    // -----------------------------------------------------------------------
134
 
    unsigned int put(void* key1, XMLCh* key2, XMLCh* key3, TVal* const valueToAdopt);
 
134
    XMLSize_t put(void* key1, XMLCh* key2, XMLCh* key3, TVal* const valueToAdopt);
135
135
 
136
136
private:
137
137
 
184
184
    bool                                       fAdoptedElems;
185
185
    DOMDeepNodeListPoolTableBucketElem<TVal>** fBucketList;
186
186
    XMLSize_t                                  fHashModulus;
187
 
    THasher                                    fHasher;
188
187
    TVal**                                     fIdPtrs;
189
188
    XMLSize_t                                  fIdPtrsCount;
190
 
    unsigned int                               fIdCounter;
 
189
    XMLSize_t                                  fIdCounter;
191
190
    MemoryManager*                             fMemoryManager;
 
191
    THasher                                    fHasher;
192
192
};
193
193
 
194
194
XERCES_CPP_NAMESPACE_END