Classes | Public Member Functions

js::detail::HashTable< T, HashPolicy, AllocPolicy > Class Template Reference

#include <jshashtable.h>

Inheritance diagram for js::detail::HashTable< T, HashPolicy, AllocPolicy >:
Collaboration diagram for js::detail::HashTable< T, HashPolicy, AllocPolicy >:

List of all members.

Classes

class  AddPtr
class  Entry
class  Enum
class  Ptr
class  Range

Public Member Functions

 HashTable (AllocPolicy ap)
bool init (uint32 length)
bool initialized () const
 ~HashTable ()
void clear ()
Range all () const
bool empty () const
uint32 count () const
uint32 generation () const
Ptr lookup (const Lookup &l) const
AddPtr lookupForAdd (const Lookup &l) const
bool add (AddPtr &p)
bool add (AddPtr &p, T **pentry)
bool add (AddPtr &p, const T &t)
bool relookupOrAdd (AddPtr &p, const Lookup &l, const T &t)
void remove (Ptr p)

template<class T, class HashPolicy, class AllocPolicy>
class js::detail::HashTable< T, HashPolicy, AllocPolicy >


Constructor & Destructor Documentation

template<class T, class HashPolicy, class AllocPolicy>
js::detail::HashTable< T, HashPolicy, AllocPolicy >::HashTable ( AllocPolicy  ap  )  [inline]
template<class T, class HashPolicy, class AllocPolicy>
js::detail::HashTable< T, HashPolicy, AllocPolicy >::~HashTable (  )  [inline]

Member Function Documentation

template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::add ( AddPtr p  )  [inline]
template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::add ( AddPtr p,
T **  pentry 
) [inline]
template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::add ( AddPtr p,
const T &  t 
) [inline]
template<class T, class HashPolicy, class AllocPolicy>
Range js::detail::HashTable< T, HashPolicy, AllocPolicy >::all (  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
void js::detail::HashTable< T, HashPolicy, AllocPolicy >::clear (  )  [inline]
template<class T, class HashPolicy, class AllocPolicy>
uint32 js::detail::HashTable< T, HashPolicy, AllocPolicy >::count (  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::empty (  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
uint32 js::detail::HashTable< T, HashPolicy, AllocPolicy >::generation (  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::init ( uint32  length  )  [inline]
template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::initialized (  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
Ptr js::detail::HashTable< T, HashPolicy, AllocPolicy >::lookup ( const Lookup &  l  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
AddPtr js::detail::HashTable< T, HashPolicy, AllocPolicy >::lookupForAdd ( const Lookup &  l  )  const [inline]
template<class T, class HashPolicy, class AllocPolicy>
bool js::detail::HashTable< T, HashPolicy, AllocPolicy >::relookupOrAdd ( AddPtr p,
const Lookup &  l,
const T &  t 
) [inline]
template<class T, class HashPolicy, class AllocPolicy>
void js::detail::HashTable< T, HashPolicy, AllocPolicy >::remove ( Ptr  p  )  [inline]

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