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

Int Class Reference

Object-integer. More...

#include <mobject.h>

Inheritance diagram for Int:

Comparable List of all members.

Public Methods

int hashfunc (int hashsize) const
int operator== (const Comparable &o) const

Detailed Description

Object-integer.

Definition at line 217 of file mobject.h.


Member Function Documentation

int hashfunc int    hashsize const [inline, virtual]
 

Hash function.

Inheritors should overload this if they want to be used as a key in Map, etc.

Returns:
Hash value.
Parameters:
hashsize  Hash size.

Reimplemented from Comparable.

Definition at line 232 of file mobject.h.

int operator== const Comparable   o const [virtual]
 

Equality comparison.

Must be overloaded.

Implements Comparable.

Definition at line 381 of file mobject.cc.


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18