Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::PrimitiveType Class Reference

#include <PrimitiveType.h>

Inheritance diagram for util::PrimitiveType:

util::Computable util::Object util::Boolean util::Number util::Number::FloatTemplate< T > util::Number::IntegerTemplate< T > List of all members.

Detailed Description

A base class for all primitive type wrappers (numbers,Boolean).


Public Methods

virtual operator bool () const=0 throw (ComputationException&)
 All primitive types can be used as truth values.


Member Function Documentation

virtual util::PrimitiveType::operator bool   const throw (ComputationException&) [pure virtual]
 

All primitive types can be used as truth values.

Typically, this function should return true if the current value of the type is different from zero.

Reimplemented from util::Computable.

Implemented in util::Boolean, and util::Number.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.