Coda Distributed File System
Public Member Functions | Friends | List of all members
rec_ohashtab Class Reference

#include <rec_ohash.h>

Public Member Functions

void * operator new (size_t) REQUIRES_TRANSACTION
 
void operator delete (void *) REQUIRES_TRANSACTION
 
 rec_ohashtab (int, RHFN)
 
 rec_ohashtab (rec_ohashtab &)
 
void Init (int, RHFN) REQUIRES_TRANSACTION
 
int operator= (rec_ohashtab &)
 
 ~rec_ohashtab ()
 
void DeInit () REQUIRES_TRANSACTION
 
void SetHFn (RHFN)
 
void insert (void *, rec_olink *) REQUIRES_TRANSACTION
 
void append (void *, rec_olink *) REQUIRES_TRANSACTION
 
rec_olinkremove (void *, rec_olink *) REQUIRES_TRANSACTION
 
rec_olinkfirst ()
 
rec_olinklast ()
 
rec_olinkget (void *) REQUIRES_TRANSACTION
 
int count ()
 
int IsMember (void *, rec_olink *)
 
int bucket (const void *)
 
void print ()
 
void print (FILE *)
 
void print (int)
 

Friends

class rec_ohashtab_iterator
 

Constructor & Destructor Documentation

◆ rec_ohashtab() [1/2]

rec_ohashtab::rec_ohashtab ( int  hashtabsize,
RHFN  hashfn 
)

◆ rec_ohashtab() [2/2]

rec_ohashtab::rec_ohashtab ( rec_ohashtab ht)

◆ ~rec_ohashtab()

rec_ohashtab::~rec_ohashtab ( )

Member Function Documentation

◆ append()

void rec_ohashtab::append ( void *  key,
rec_olink p 
)

◆ bucket()

int rec_ohashtab::bucket ( const void *  key)

◆ count()

int rec_ohashtab::count ( )

◆ DeInit()

void rec_ohashtab::DeInit ( )

◆ first()

rec_olink * rec_ohashtab::first ( )

◆ get()

rec_olink * rec_ohashtab::get ( void *  key)

◆ Init()

void rec_ohashtab::Init ( int  hashtabsize,
RHFN  hashfn 
)

◆ insert()

void rec_ohashtab::insert ( void *  key,
rec_olink p 
)

◆ IsMember()

int rec_ohashtab::IsMember ( void *  key,
rec_olink p 
)

◆ last()

rec_olink * rec_ohashtab::last ( )

◆ operator delete()

void rec_ohashtab::operator delete ( void *  deadobj)

◆ operator new()

void * rec_ohashtab::operator new ( size_t  size)

◆ operator=()

int rec_ohashtab::operator= ( rec_ohashtab ht)

◆ print() [1/3]

void rec_ohashtab::print ( void  )

◆ print() [2/3]

void rec_ohashtab::print ( FILE *  fp)

◆ print() [3/3]

void rec_ohashtab::print ( int  fd)

◆ remove()

rec_olink * rec_ohashtab::remove ( void *  key,
rec_olink p 
)

◆ SetHFn()

void rec_ohashtab::SetHFn ( RHFN  hashfn)

Friends And Related Function Documentation

◆ rec_ohashtab_iterator

friend class rec_ohashtab_iterator
friend

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