#include <tools.h>
|
unsigned int | hashfn (unsigned int Id) const |
|
unsigned int | hashfn (unsigned int Id) const |
|
Definition at line 903 of file include/vdr/tools.h.
◆ cHashBase() [1/2]
cHashBase::cHashBase |
( |
int |
Size, |
|
|
bool |
OwnObjects |
|
) |
| |
|
protected |
Creates a new hash of the given Size.
If OwnObjects is true, the hash takes ownership of the objects given in the calls to Add(), and deletes them when Clear() is called or the hash is destroyed (unless the object has been removed from the hash by calling Del()).
Definition at line 2370 of file tools.c.
References hashTable, ownObjects, and size.
◆ ~cHashBase() [1/2]
cHashBase::~cHashBase |
( |
void |
| ) |
|
|
virtual |
◆ cHashBase() [2/2]
cHashBase::cHashBase |
( |
int |
Size, |
|
|
bool |
OwnObjects |
|
) |
| |
|
protected |
Creates a new hash of the given Size.
If OwnObjects is true, the hash takes ownership of the objects given in the calls to Add(), and deletes them when Clear() is called or the hash is destroyed (unless the object has been removed from the hash by calling Del()).
◆ ~cHashBase() [2/2]
virtual cHashBase::~cHashBase |
( |
| ) |
|
|
virtual |
◆ Add() [1/2]
void cHashBase::Add |
( |
cListObject * |
Object, |
|
|
unsigned int |
Id |
|
) |
| |
◆ Add() [2/2]
void cHashBase::Add |
( |
cListObject * |
Object, |
|
|
unsigned int |
Id |
|
) |
| |
◆ Clear() [1/2]
void cHashBase::Clear |
( |
void |
| ) |
|
◆ Clear() [2/2]
void cHashBase::Clear |
( |
void |
| ) |
|
◆ Del() [1/2]
void cHashBase::Del |
( |
cListObject * |
Object, |
|
|
unsigned int |
Id |
|
) |
| |
◆ Del() [2/2]
void cHashBase::Del |
( |
cListObject * |
Object, |
|
|
unsigned int |
Id |
|
) |
| |
◆ Get() [1/2]
◆ Get() [2/2]
◆ GetList() [1/2]
◆ GetList() [2/2]
◆ hashfn() [1/2]
unsigned int cHashBase::hashfn |
( |
unsigned int |
Id | ) |
const |
|
inlineprivate |
◆ hashfn() [2/2]
unsigned int cHashBase::hashfn |
( |
unsigned int |
Id | ) |
const |
|
inlineprivate |
◆ hashTable
◆ ownObjects
bool cHashBase::ownObjects |
|
private |
◆ size
The documentation for this class was generated from the following files: