clang API Documentation

Classes | Public Types | Public Member Functions | Static Public Member Functions
clang::OnDiskChainedHashTable< Info > Class Template Reference

#include <OnDiskHashTable.h>

Inheritance diagram for clang::OnDiskChainedHashTable< Info >:
Inheritance graph
[legend]

List of all members.

Classes

class  data_iterator
 Iterates over all the entries in the table, returning the data. More...
class  iterator
class  key_iterator
 Iterates over all of the keys in the table. More...

Public Types

typedef Info::internal_key_type internal_key_type
typedef Info::external_key_type external_key_type
typedef Info::data_type data_type

Public Member Functions

 OnDiskChainedHashTable (unsigned numBuckets, unsigned numEntries, const unsigned char *buckets, const unsigned char *base, const Info &InfoObj=Info())
unsigned getNumBuckets () const
unsigned getNumEntries () const
const unsigned char * getBase () const
const unsigned char * getBuckets () const
bool isEmpty () const
iterator find (const external_key_type &eKey, Info *InfoPtr=0)
iterator end () const
key_iterator key_begin ()
key_iterator key_end ()
data_iterator data_begin ()
data_iterator data_end ()
Info & getInfoObj ()

Static Public Member Functions

static OnDiskChainedHashTableCreate (const unsigned char *buckets, const unsigned char *const base, const Info &InfoObj=Info())

Detailed Description

template<typename Info>
class clang::OnDiskChainedHashTable< Info >

Definition at line 240 of file OnDiskHashTable.h.


Member Typedef Documentation

template<typename Info>
typedef Info::data_type clang::OnDiskChainedHashTable< Info >::data_type

Definition at line 250 of file OnDiskHashTable.h.

template<typename Info>
typedef Info::external_key_type clang::OnDiskChainedHashTable< Info >::external_key_type

Definition at line 249 of file OnDiskHashTable.h.

template<typename Info>
typedef Info::internal_key_type clang::OnDiskChainedHashTable< Info >::internal_key_type

Definition at line 248 of file OnDiskHashTable.h.


Constructor & Destructor Documentation

template<typename Info>
clang::OnDiskChainedHashTable< Info >::OnDiskChainedHashTable ( unsigned  numBuckets,
unsigned  numEntries,
const unsigned char *  buckets,
const unsigned char *  base,
const Info &  InfoObj = Info() 
) [inline]

Definition at line 252 of file OnDiskHashTable.h.


Member Function Documentation

template<typename Info>
static OnDiskChainedHashTable* clang::OnDiskChainedHashTable< Info >::Create ( const unsigned char *  buckets,
const unsigned char *const  base,
const Info &  InfoObj = Info() 
) [inline, static]

Definition at line 468 of file OnDiskHashTable.h.

Referenced by clang::PTHManager::Create().

template<typename Info>
data_iterator clang::OnDiskChainedHashTable< Info >::data_begin ( ) [inline]

Definition at line 461 of file OnDiskHashTable.h.

template<typename Info>
data_iterator clang::OnDiskChainedHashTable< Info >::data_end ( ) [inline]

Definition at line 464 of file OnDiskHashTable.h.

template<typename Info>
iterator clang::OnDiskChainedHashTable< Info >::end ( ) const [inline]
template<typename Info>
iterator clang::OnDiskChainedHashTable< Info >::find ( const external_key_type eKey,
Info *  InfoPtr = 0 
) [inline]
template<typename Info>
const unsigned char* clang::OnDiskChainedHashTable< Info >::getBase ( ) const [inline]

Definition at line 264 of file OnDiskHashTable.h.

template<typename Info>
const unsigned char* clang::OnDiskChainedHashTable< Info >::getBuckets ( ) const [inline]

Definition at line 265 of file OnDiskHashTable.h.

template<typename Info>
Info& clang::OnDiskChainedHashTable< Info >::getInfoObj ( ) [inline]

Definition at line 466 of file OnDiskHashTable.h.

template<typename Info>
unsigned clang::OnDiskChainedHashTable< Info >::getNumBuckets ( ) const [inline]

Definition at line 262 of file OnDiskHashTable.h.

template<typename Info>
unsigned clang::OnDiskChainedHashTable< Info >::getNumEntries ( ) const [inline]

Definition at line 263 of file OnDiskHashTable.h.

template<typename Info>
bool clang::OnDiskChainedHashTable< Info >::isEmpty ( ) const [inline]

Definition at line 267 of file OnDiskHashTable.h.

template<typename Info>
key_iterator clang::OnDiskChainedHashTable< Info >::key_begin ( ) [inline]
template<typename Info>
key_iterator clang::OnDiskChainedHashTable< Info >::key_end ( ) [inline]

The documentation for this class was generated from the following file: