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

Float Class Reference

#include "universal__Numeric.h"

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


Inherited Class(es)


Public Functions

Float ( ) 
operator float ( ) const 
~Float ( ) 
operator =float ) 
operator =double ) 
operator =( unsigned long ) 
operator =( unsigned short ) 
operator =( unsigned int ) 
operator =( long ) 
operator =( short ) 
operator =( int ) 
operator +( const Float & 
operator +( const Double & 
operator +( const SignedInteger & si 
operator +( const UnsignedInteger & ui 
operator -( const Float & 
operator -( const Double & 
operator -( const SignedInteger & si 
operator -( const UnsignedInteger & ui 
operator *( const Float & 
operator *( const Double & 
operator *( const SignedInteger & si 
operator *( const UnsignedInteger & ui 
operator /( const Float & 
operator /( const Double & 
operator /( const SignedInteger & si 
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 float value. The precise type is "float".

The cast operator to float() is often useful for getting the value of a float token as a float. 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

Float ( ) 

Self-explanatory

See also:

Back to index

~Float ( )   [  virtual  ] 

Self-explanatory

See also:

Back to index

operator float ( ) const 

Self-explanatory

See also:

Back to index

Float & operator =( long lVal 

Self-explanatory

See also:

Back to index

Float & operator =( short lVal 

Self-explanatory

See also:

Back to index

Float & operator =( int lVal 

Self-explanatory

See also:

Back to index

Float & operator =( unsigned long uVal 

Self-explanatory

See also:

Back to index

Float & operator =( unsigned short uVal 

Self-explanatory

See also:

Back to index

Float & operator =( unsigned int uVal 

Self-explanatory

See also:

Back to index

Float & operator =float fVal 

Self-explanatory

See also:

Back to index

Float & operator =double dVal 

Self-explanatory

See also:

Back to index

String toString ( ) 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

float operator +( const SignedInteger & si 

Self-explanatory

See also:

Back to index

float 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

float operator -( const SignedInteger & si 

Self-explanatory

See also:

Back to index

float 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

float operator *( const SignedInteger & si 

Self-explanatory

See also:

Back to index

float 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

float operator /( const SignedInteger & si 

Self-explanatory

See also:

Back to index

float 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.