MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KeyTableImpl< P, T > Class Template Reference

#include <KeyTable.hpp>

Inheritance diagram for KeyTableImpl< P, T >:
Collaboration diagram for KeyTableImpl< P, T >:

Public Member Functions

 KeyTableImpl (P &pool)
bool find (Ptr< T > &ptr, const T &rec) const
bool find (Ptr< T > &ptr, Uint32 key) const
- Public Member Functions inherited from DLHashTableImpl< P, T >
 DLHashTableImpl (P &thePool)
bool setSize (Uint32 noOfElements)
bool seize (Ptr< T > &)
void add (Ptr< T > &)
void getPtr (Ptr< T > &, Uint32 i) const
void getPtr (Ptr< T > &) const
T * getPtr (Uint32 i) const
void getPtr (Iterator &iter) const
void remove (Ptr< T > &, const T &key)
void remove (Uint32 i)
void remove (Ptr< T > &)
void removeAll ()
void release (Uint32 i)
void release (Ptr< T > &)
bool first (Iterator &iter) const
bool next (Iterator &iter) const
bool next (Uint32 bucket, Iterator &iter) const

Detailed Description

template<typename P, typename T>
class KeyTableImpl< P, T >

KeyTable2 is DLHashTable2 with hardcoded Uint32 key named "key".

Definition at line 28 of file KeyTable.hpp.

Member Function Documentation

template<typename P, typename T>
bool KeyTableImpl< P, T >::find ( Ptr< T > &  ,
const T &  key 
) const
inline

Find element key in hashtable update Ptr (i & p) (using key.equal(...))

Returns
true if found and false otherwise

Reimplemented from DLHashTableImpl< P, T >.

Definition at line 34 of file KeyTable.hpp.

Here is the caller graph for this function:


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