30#ifndef __NUMBER_TEMPLATE_H__
31#define __NUMBER_TEMPLATE_H__
60 virtual void print(ostream &)
const;
Definition number_template.h:37
virtual void print(ostream &) const
Definition number_template.cpp:71
virtual Number_template & operator*=(Number_template const &n)
Definition number_template.cpp:59
virtual Number_template operator*(Number_template const &n) const
Definition number_template.cpp:55
virtual bool operator==(Number_template const &) const
Definition number_template.cpp:31
virtual Number_template operator/(Number_template const &n) const
Definition number_template.cpp:63
bool isOne
Definition number_template.h:41
bool isMinusOne
Definition number_template.h:40
virtual Number_template & operator-=(Number_template const &n)
Definition number_template.cpp:51
virtual bool operator!=(Number_template const &) const
Definition number_template.cpp:35
virtual Number_template operator-(Number_template const &n) const
Definition number_template.cpp:47
bool isInt
Definition number_template.h:42
virtual Number_template operator+(Number_template const &n) const
Definition number_template.cpp:39
virtual Number_template & operator+=(Number_template const &n)
Definition number_template.cpp:43
bool isZero
Definition number_template.h:39
virtual Number_template & operator/=(Number_template const &n)
Definition number_template.cpp:67
ostream & operator<<(ostream &, Number_template const &)