#include <Number.h>
Inheritance diagram for util::Number::FloatTemplate< T >:

Public Methods | |
| FloatTemplate (T value=0) | |
| FloatTemplate (const FloatTemplate &other) | |
| FloatTemplate (const Number &other) | |
| char | charValue () const |
| short | shortValue () const |
| int | intValue () const |
| long | longValue () const |
| float | floatValue () const |
| double | doubleValue () const |
| Object * | clone () const throw (NotCloneableException&) |
| Create a clone of this object. | |
| std::string | toString () const |
| Convert object to a string. | |
| SmartPtr< Computable > | negate () const throw (ComputationException&) |
| If a negation can be defined for this, then return it. | |
| SmartPtr< Computable > | operator- () const |
| Negation operator calls negate(). | |
|
|||||||||
|
Create a clone of this object. Each cloneable class should make this method to return an exact copy of itself. The default implementation throws a NotCloneableException. Reimplemented from util::Object. |