Index

SignedInteger Class Reference

This is a very simple component whose sole purpose is to wrap a signed integer value. More...

#include "universal__Numeric.h"


Inherited Class(es)


Public Functions

Related Functions


Detailed Description

This is a very simple component whose sole purpose is to wrap a signed integer value. The precise type is "long".

The cast operator to long() is often useful for getting the value of a long integer token as a long. This wrapper class features =,+,-,/ and * operators taking all the other possible numeric types.

It also features a conversion function to a universal::String.


Functions Documentation

SignedInteger ( ) 

Self-explanatory

See also:

Back to index

~SignedInteger ( )   [  virtual  ] 

Self-explanatory

See also:

Back to index

operator long ( ) const 

Self-explanatory

See also:

Back to index

SignedInteger & operator =( long lVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =( short lVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =( int lVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =( unsigned long uVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =( unsigned short uVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =( unsigned int uVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =float fVal 

Self-explanatory

See also:

Back to index

SignedInteger & operator =double dVal 

Self-explanatory

See also:

Back to index

String toString ( ) const 

Self-explanatory

See also:

Back to index

bool even ( ) const 

Self-explanatory

See also:

Back to index

bool odd ( ) const 

Self-explanatory

See also:

Back to index

float operator +( const Float & 

Self-explanatory

See also:

Back to index

double operator +( const Double & 

Self-explanatory

See also:

Back to index

long operator +( const SignedInteger & si 

Self-explanatory

See also:

Back to index

long operator +( const UnsignedInteger & ui 

Self-explanatory

See also:

Back to index

float operator -( const Float & 

Self-explanatory

See also:

Back to index

double operator -( const Double & 

Self-explanatory

See also:

Back to index

long operator -( const SignedInteger & si 

Self-explanatory

See also:

Back to index

long operator -( const UnsignedInteger & ui 

Self-explanatory

See also:

Back to index

float operator *( const Float & 

Self-explanatory

See also:

Back to index

double operator *( const Double & 

Self-explanatory

See also:

Back to index

long operator *( const SignedInteger & si 

Self-explanatory

See also:

Back to index

long operator *( const UnsignedInteger & ui 

Self-explanatory

See also:

Back to index

float operator /( const Float & 

Self-explanatory

See also:

Back to index

double operator /( const Double & 

Self-explanatory

See also:

Back to index

long operator /( const SignedInteger & si 

Self-explanatory

See also:

Back to index

long operator /( const UnsignedInteger & ui 

Self-explanatory

See also:

Back to index


Generated with makedoc.