LLOOP Index | GSP Language | GSP Library | Framework Classes | Component Classes

UnsignedInteger Class Reference

#include "universal__Numeric.h"

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


Inherited Class(es)


Public Functions

UnsignedInteger ( ) 
operator unsigned long ( ) const 
~UnsignedInteger ( ) 
  • bool 
even ( ) const 
  • bool 
odd ( ) const 
operator =( unsigned long ) 
operator =( unsigned short ) 
operator =( unsigned int ) 
operator =( long ) 
operator =( short ) 
operator =( int ) 
operator =float ) 
operator =double ) 
operator +( const Float & 
operator +( const Double & 
  • long 
operator +( const SignedInteger & si 
  • unsigned long 
operator +( const UnsignedInteger & ui 
operator -( const Float & 
operator -( const Double & 
  • long 
operator -( const SignedInteger & si 
  • unsigned long 
operator -( const UnsignedInteger & ui 
operator *( const Float & 
operator *( const Double & 
  • long 
operator *( const SignedInteger & si 
  • unsigned long 
operator *( const UnsignedInteger & ui 
operator /( const Float & 
operator /( const Double & 
  • long 
operator /( const SignedInteger & si 
  • unsigned long 
operator /( const UnsignedInteger & ui 
toString ( ) const 

Related Functions

  • std::ostream & 
operator <<( std::ostream & os , const SignedInteger & si 
  • std::ostream & 
operator <<( std::ostream & os , const UnsignedInteger & ui 
  • std::ostream & 
operator <<( std::ostream & os , const Float & 
  • std::ostream & 
operator <<( std::ostream & os , const Double & 

Detailed Description

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

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

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


Files Included

#include "universal.h"
#include "universal__String.h"

Functions Documentation

UnsignedInteger ( ) 

Self-explanatory

See also:

Back to index

~UnsignedInteger ( )   [  virtual  ] 

Self-explanatory

See also:

Back to index

operator unsigned long ( ) const 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =( unsigned long uVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =( unsigned short uVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =( unsigned int uVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =( long lVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =( short lVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =( int lVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & operator =float fVal 

Self-explanatory

See also:

Back to index

UnsignedInteger & 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

unsigned 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

unsigned 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

unsigned 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

unsigned long operator /( const UnsignedInteger & ui 

Self-explanatory

See also:

Back to index


This file is part of the LLOOP Reversible Object-Oriented Parser Generator. Copyright (c) 2005-2006 Michel MEHL, France. All rights reserved. LLOOP is distributed by the company ERSA SaRL.


Copyright (c) 2005-2006 Michel MEHL, Haguenau, France
LLOOP version 1.1


Generated with makedoc.