Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

HashVal Class Reference

A sixteen-byte hash value sent to the crypt library. More...

#include <hashVal.h>

List of all members.

Public Member Functions

 HashVal ()
 HashVal (const HashVal &copy)
bool operator== (const HashVal &other) const
bool operator!= (const HashVal &other) const
uint get_value (int val) const
 Returns the integer value of the indicated component.

void set_value (int val, uint hash)
 Sets the hash value at index val.

void output (ostream &out) const
 The output method does not itself output enclosing brackets, but the ostream operator << does.

string as_string () const
 Returns the HashVal as a string with four numbers.


Public Attributes

uint hv [4]


Detailed Description

A sixteen-byte hash value sent to the crypt library.

Definition at line 36 of file hashVal.h.


Constructor & Destructor Documentation

HashVal::HashVal  )  [inline]
 

Definition at line 31 of file hashVal.I.

References hv, and INLINE.

HashVal::HashVal const HashVal &  copy  )  [inline]
 

Definition at line 43 of file hashVal.I.

References hv, and INLINE.


Member Function Documentation

string HashVal::as_string  )  const
 

Returns the HashVal as a string with four numbers.

Definition at line 34 of file hashVal.cxx.

uint HashVal::get_value int  val  )  const [inline]
 

Returns the integer value of the indicated component.

Definition at line 86 of file hashVal.I.

References hv.

bool HashVal::operator!= const HashVal &  other  )  const [inline]
 

Definition at line 73 of file hashVal.I.

References hv.

bool HashVal::operator== const HashVal &  other  )  const [inline]
 

Definition at line 58 of file hashVal.I.

References INLINE.

void HashVal::output ostream &  out  )  const [inline]
 

The output method does not itself output enclosing brackets, but the ostream operator << does.

Definition at line 118 of file hashVal.I.

void HashVal::set_value int  val,
uint  hash
[inline]
 

Sets the hash value at index val.

Definition at line 101 of file hashVal.I.


Member Data Documentation

uint HashVal::hv[4]
 

Definition at line 49 of file hashVal.h.

Referenced by get_value(), HashVal(), and operator!=().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:51:29 2003 for Panda by doxygen1.3