#include <mobject.h>
Inheritance diagram for Int::
Public Methods | |
Int () | |
Int (const Int &o) | |
Int (const String &o) | |
Int (int o) | |
Int (long o) | |
int | toInt () const |
long | toLong () const |
long& | toLongRef () |
int | operator< (const Int &o) |
int | operator== (const Int &o) |
int | hashfunc (int hashsize) const |
int | operator== (const Comparable &o) const |
int | operator!= (const Int &o) |
Object* | clone () const |
Definition at line 315 of file mobject.h.
|
Clone should perform a full recursive cloning of the object. The return type should vary by implementor. Reimplemented from Object. |
|
Hash function. Inheritors should overload this if they want to be used as a key in Map, etc.
Reimplemented from Comparable. |
|
Equality comparison. Must be overloaded. Reimplemented from Comparable. |