hash_table.cpp File Reference

#include "amorph.cpp"
#include "hash_table.h"
#include <basis/byte_array.h>
#include <basis/array.cpp>
#include <basis/function.h>
#include <basis/log_base.h>
#include <mathematics/math_ops.h>
#include <math.h>

Include dependency graph for hash_table.cpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define static_class_name()   "hash_table"
#define class_name()   "hash_table"

Functions

template<class key_type, class contents>
void copy_hash_table (hash_table< key_type, contents > &target, const hash_table< key_type, contents > &source)
 Copies the entire hash table, given a contents type that supports copying.


Define Documentation

 
#define class_name (  )     "hash_table"

Referenced by thread_cabinet::cancel_all(), copy_hash_table(), worker::draw(), nechung_oracle::pick_random(), bookmark_tree::process_category(), bookmark_tree::read_csv_file(), thread_cabinet::stop_all(), and safe_callback::~safe_callback().

 
#define static_class_name (  )     "hash_table"

Definition at line 82 of file hash_table.cpp.


Function Documentation

template<class key_type, class contents>
void copy_hash_table ( hash_table< key_type, contents > &  target,
const hash_table< key_type, contents > &  source 
)

Copies the entire hash table, given a contents type that supports copying.

Provides a copy operation on hash tables where the contents object supports a copy constructor, which is not appropriate to require in general. The hash_table held in "target" will be wiped out and replaced with items equivalent to those in "source".

Definition at line 107 of file hash_table.cpp.

References hash_table< key_type, contents >::add(), class_name, deadly_error, FUNCDEF, hash_table< key_type, contents >::reset(), hash_table< key_type, contents >::table_access(), and hash_table< key_type, contents >::verify().


Generated on Tue Aug 19 05:10:46 2008 for HOOPLE Libraries by  doxygen 1.5.1