clang API Documentation
#include <OnDiskHashTable.h>

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 OnDiskChainedHashTable * | Create (const unsigned char *buckets, const unsigned char *const base, const Info &InfoObj=Info()) |
Definition at line 240 of file OnDiskHashTable.h.
| typedef Info::data_type clang::OnDiskChainedHashTable< Info >::data_type |
Definition at line 250 of file OnDiskHashTable.h.
| typedef Info::external_key_type clang::OnDiskChainedHashTable< Info >::external_key_type |
Definition at line 249 of file OnDiskHashTable.h.
| typedef Info::internal_key_type clang::OnDiskChainedHashTable< Info >::internal_key_type |
Definition at line 248 of file OnDiskHashTable.h.
| 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.
| 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().
| data_iterator clang::OnDiskChainedHashTable< Info >::data_begin | ( | ) | [inline] |
Definition at line 461 of file OnDiskHashTable.h.
| data_iterator clang::OnDiskChainedHashTable< Info >::data_end | ( | ) | [inline] |
Definition at line 464 of file OnDiskHashTable.h.
| iterator clang::OnDiskChainedHashTable< Info >::end | ( | ) | const [inline] |
Definition at line 336 of file OnDiskHashTable.h.
Referenced by clang::PTHManager::CreateLexer(), clang::PTHManager::get(), and clang::serialization::ReadMethodPoolVisitor::visit().
| iterator clang::OnDiskChainedHashTable< Info >::find | ( | const external_key_type & | eKey, |
| Info * | InfoPtr = 0 |
||
| ) | [inline] |
Definition at line 285 of file OnDiskHashTable.h.
Referenced by clang::PTHManager::CreateLexer(), clang::PTHManager::get(), and clang::serialization::ReadMethodPoolVisitor::visit().
| const unsigned char* clang::OnDiskChainedHashTable< Info >::getBase | ( | ) | const [inline] |
Definition at line 264 of file OnDiskHashTable.h.
| const unsigned char* clang::OnDiskChainedHashTable< Info >::getBuckets | ( | ) | const [inline] |
Definition at line 265 of file OnDiskHashTable.h.
| Info& clang::OnDiskChainedHashTable< Info >::getInfoObj | ( | ) | [inline] |
Definition at line 466 of file OnDiskHashTable.h.
| unsigned clang::OnDiskChainedHashTable< Info >::getNumBuckets | ( | ) | const [inline] |
Definition at line 262 of file OnDiskHashTable.h.
| unsigned clang::OnDiskChainedHashTable< Info >::getNumEntries | ( | ) | const [inline] |
Definition at line 263 of file OnDiskHashTable.h.
| bool clang::OnDiskChainedHashTable< Info >::isEmpty | ( | ) | const [inline] |
Definition at line 267 of file OnDiskHashTable.h.
| key_iterator clang::OnDiskChainedHashTable< Info >::key_begin | ( | ) | [inline] |
Definition at line 397 of file OnDiskHashTable.h.
Referenced by clang::ASTIdentifierIterator::ASTIdentifierIterator(), and clang::ASTIdentifierIterator::Next().
| key_iterator clang::OnDiskChainedHashTable< Info >::key_end | ( | ) | [inline] |
Definition at line 400 of file OnDiskHashTable.h.
Referenced by clang::ASTIdentifierIterator::ASTIdentifierIterator(), and clang::ASTIdentifierIterator::Next().