#include <store.h>
Public Types | |
typedef std::map< std::string, CrawlStoreValue > | hash_map_type |
typedef hash_map_type::iterator | iterator |
typedef hash_map_type::const_iterator | const_iterator |
Public Member Functions | |
CrawlHashTable () | |
CrawlHashTable (const CrawlHashTable &other) | |
~CrawlHashTable () | |
CrawlHashTable & | operator= (const CrawlHashTable &other) |
void | write (writer &) const |
void | read (reader &) |
bool | exists (const std::string &key) const |
void | assert_validity () const |
const CrawlStoreValue & | get_value (const std::string &key) const |
const CrawlStoreValue & | operator[] (const std::string &key) const |
CrawlStoreValue & | get_value (const std::string &key) |
CrawlStoreValue & | operator[] (const std::string &key) |
hash_size | size () const |
bool | empty () const |
void | erase (const std::string key) |
void | clear () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
Protected Member Functions | |
void | init_hash_map () |
Protected Attributes | |
hash_map_type * | hash_map |
Friends | |
class | CrawlStoreValue |
typedef std::map<std::string, CrawlStoreValue> CrawlHashTable::hash_map_type |
typedef hash_map_type::iterator CrawlHashTable::iterator |
typedef hash_map_type::const_iterator CrawlHashTable::const_iterator |
CrawlHashTable::CrawlHashTable | ( | ) |
CrawlHashTable::CrawlHashTable | ( | const CrawlHashTable & | other | ) |
CrawlHashTable::~CrawlHashTable | ( | ) |
void CrawlHashTable::init_hash_map | ( | ) | [protected] |
CrawlHashTable & CrawlHashTable::operator= | ( | const CrawlHashTable & | other | ) |
void CrawlHashTable::write | ( | writer & | th | ) | const |
void CrawlHashTable::read | ( | reader & | th | ) |
bool CrawlHashTable::exists | ( | const std::string & | key | ) | const |
void CrawlHashTable::assert_validity | ( | ) | const |
const CrawlStoreValue & CrawlHashTable::get_value | ( | const std::string & | key | ) | const |
const CrawlStoreValue & CrawlHashTable::operator[] | ( | const std::string & | key | ) | const |
CrawlStoreValue & CrawlHashTable::get_value | ( | const std::string & | key | ) |
CrawlStoreValue & CrawlHashTable::operator[] | ( | const std::string & | key | ) |
hash_size CrawlHashTable::size | ( | ) | const |
bool CrawlHashTable::empty | ( | ) | const |
void CrawlHashTable::erase | ( | const std::string | key | ) |
void CrawlHashTable::clear | ( | ) |
CrawlHashTable::const_iterator CrawlHashTable::begin | ( | ) | const |
CrawlHashTable::const_iterator CrawlHashTable::end | ( | ) | const |
CrawlHashTable::iterator CrawlHashTable::begin | ( | ) |
CrawlHashTable::iterator CrawlHashTable::end | ( | ) |
friend class CrawlStoreValue [friend] |
hash_map_type* CrawlHashTable::hash_map [protected] |