Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ShortIdRefCount Class Reference

#include <ShortIdRefCount.H>

Inheritance diagram for ShortIdRefCount:

Table< K, V >::Default List of all members.

Public Types

typedef Table< ShortIdKey,
int >::Iterator 
Iterator

Public Member Functions

 ShortIdRefCount ()
int GetCount (ShortId sid, int count=0)
int Increment (ShortId sid)
int Decrement (ShortId sid, bool missing_ok)
bool Compare (const ShortIdRefCount &other)

Private Member Functions

 ShortIdRefCount (const ShortIdRefCount &other)

Member Typedef Documentation

typedef Table<ShortIdKey, int>::Iterator ShortIdRefCount::Iterator
 

Reimplemented from Table< K, V >::Default.

Definition at line 35 of file ShortIdRefCount.H.


Constructor & Destructor Documentation

ShortIdRefCount::ShortIdRefCount  )  [inline]
 

Definition at line 37 of file ShortIdRefCount.H.

ShortIdRefCount::ShortIdRefCount const ShortIdRefCount other  )  [inline, private]
 

Definition at line 99 of file ShortIdRefCount.H.


Member Function Documentation

bool ShortIdRefCount::Compare const ShortIdRefCount other  ) 
 

Definition at line 24 of file ShortIdRefCount.C.

References DBG_ALWAYS, Table< K, V >::Default::Delete(), Repos::dprintf(), GetCount(), Table< K, V >::Iterator::Next(), and ShortIdKey::sid.

int ShortIdRefCount::Decrement ShortId  sid,
bool  missing_ok
[inline]
 

Definition at line 69 of file ShortIdRefCount.H.

References Table< K, V >::Default::Delete(), Table< K, V >::Default::Get(), and Table< K, V >::Default::Put().

Referenced by VDirChangeable::freeTree().

int ShortIdRefCount::GetCount ShortId  sid,
int  count = 0
[inline]
 

Definition at line 42 of file ShortIdRefCount.H.

References Table< K, V >::Default::Get().

Referenced by Compare(), and VDirChangeable::getRefCount().

int ShortIdRefCount::Increment ShortId  sid  )  [inline]
 

Definition at line 51 of file ShortIdRefCount.H.

References Table< K, V >::Default::Get(), and Table< K, V >::Default::Put().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:13 2006 for Vesta by  doxygen 1.4.2