CACAO
Data Structures | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
InternTable< _Entry, concurrency_factor > Struct Template Reference

Data Structures

struct  Segment
 

Public Types

typedef _Entry Entry
 

Public Member Functions

 InternTable ()
 
void initialize (size_t initial_capacity=DEFAULT_INITIAL_CAPACITY, size_t load_factor=DEFAULT_LOAD_FACTOR)
 
void destroy ()
 
bool is_initialized () const
 
template<typename Thunk >
const Entryintern (const Thunk &t)
 

Static Public Attributes

static const size_t DEFAULT_INITIAL_CAPACITY = 256
 
static const size_t DEFAULT_LOAD_FACTOR = 85
 

Private Member Functions

 InternTable (const InternTable &)
 
InternTableoperator= (const InternTable &)
 

Private Attributes

Segmentsegments
 

Detailed Description

template<class _Entry, size_t concurrency_factor = 4>
struct InternTable< _Entry, concurrency_factor >

Definition at line 62 of file intern_table.hpp.

Member Typedef Documentation

template<class _Entry , size_t concurrency_factor = 4>
typedef _Entry InternTable< _Entry, concurrency_factor >::Entry

Definition at line 63 of file intern_table.hpp.

Constructor & Destructor Documentation

template<class _Entry , size_t concurrency_factor = 4>
InternTable< _Entry, concurrency_factor >::InternTable ( )
inline

Definition at line 68 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
InternTable< _Entry, concurrency_factor >::InternTable ( const InternTable< _Entry, concurrency_factor > &  )
private

Member Function Documentation

template<class _Entry , size_t concurrency_factor = 4>
void InternTable< _Entry, concurrency_factor >::destroy ( )
inline

Definition at line 86 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
void InternTable< _Entry, concurrency_factor >::initialize ( size_t  initial_capacity = DEFAULT_INITIAL_CAPACITY,
size_t  load_factor = DEFAULT_LOAD_FACTOR 
)
inline

Definition at line 70 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
template<typename Thunk >
const Entry& InternTable< _Entry, concurrency_factor >::intern ( const Thunk &  t)
inline

Definition at line 94 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
bool InternTable< _Entry, concurrency_factor >::is_initialized ( ) const
inline

Definition at line 91 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
InternTable& InternTable< _Entry, concurrency_factor >::operator= ( const InternTable< _Entry, concurrency_factor > &  )
private

Field Documentation

template<class _Entry , size_t concurrency_factor = 4>
const size_t InternTable< _Entry, concurrency_factor >::DEFAULT_INITIAL_CAPACITY = 256
static

Definition at line 65 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
const size_t InternTable< _Entry, concurrency_factor >::DEFAULT_LOAD_FACTOR = 85
static

Definition at line 66 of file intern_table.hpp.

template<class _Entry , size_t concurrency_factor = 4>
Segment* InternTable< _Entry, concurrency_factor >::segments
private

Definition at line 126 of file intern_table.hpp.


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