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

#include <vrdb.h>

Inheritance diagram for vrtab:
Inheritance graph
[legend]
Collaboration diagram for vrtab:
Collaboration graph
[legend]

Public Member Functions

 vrtab (const char *name="anonymous vrtab")
 
 ~vrtab ()
 
void add (vrent *)
 
void remove (vrent *)
 
vrentfind (VolumeId)
 
vrentfind (char *)
 
vrentReverseFind (VolumeId, int *)
 
void clear ()
 
void print ()
 
void print (FILE *)
 
void print (int)
 
int dump (int)
 
- Public Member Functions inherited from ohashtab
 ohashtab (int size, intptr_t(*hashfn)(void *))
 
 ohashtab (ohashtab &)
 
int operator= (ohashtab &)
 
virtual ~ohashtab ()
 
void insert (void *, olink *)
 
void append (void *, olink *)
 
olinkremove (void *, olink *)
 
olinkfirst ()
 
olinklast ()
 
olinkget (void *)
 
void clear ()
 
int count ()
 
int IsMember (void *, olink *)
 
int bucket (void *)
 
virtual void print ()
 
virtual void print (FILE *)
 
virtual void print (int)
 
olinkFindObject (void *key, void *tag, otagcompare_t cmpfn)
 

Friends

void PrintVRDB ()
 

Constructor & Destructor Documentation

◆ vrtab()

vrtab::vrtab ( const char *  name = "anonymous vrtab")

◆ ~vrtab()

vrtab::~vrtab ( )

Member Function Documentation

◆ add()

void vrtab::add ( vrent vre)

◆ clear()

void vrtab::clear ( )

◆ dump()

int vrtab::dump ( int  afd)

◆ find() [1/2]

vrent * vrtab::find ( char *  grpname)

◆ find() [2/2]

vrent * vrtab::find ( VolumeId  grpvolnum)

◆ print() [1/3]

void vrtab::print ( void  )
virtual

Reimplemented from ohashtab.

◆ print() [2/3]

void vrtab::print ( FILE *  fp)
virtual

Reimplemented from ohashtab.

◆ print() [3/3]

void vrtab::print ( int  afd)
virtual

Reimplemented from ohashtab.

◆ remove()

void vrtab::remove ( vrent vre)

◆ ReverseFind()

vrent * vrtab::ReverseFind ( VolumeId  rwvolnum,
int *  idx 
)

Friends And Related Function Documentation

◆ PrintVRDB

void PrintVRDB ( )
friend

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