bob.constantes
Class TOpArithm

java.lang.Object
  extended by bob.constantes.TOperateur
      extended by bob.constantes.TOpBinaire
          extended by bob.constantes.TOpArithm

public class TOpArithm
extends TOpBinaire

La classe TOpArithm contient les informations sur les opérateurs arithmétiques.

Version:
1.0 du 13/06/2001
Author:
Frédéric Chatel
See Also:
TOpBinaire, TExprOpBinaire

Field Summary
static TOpArithm DIVISE
          Opérateur "divisé par" (quotient de la division entière) (/)
static TOpArithm EGAL
          Opérateur "égal" (=).
static TOpArithm MODULO
          Opérateur "modulo" (reste de la division entière) (mod)
static TOpArithm MOINS
          Opérateur "moins" (-)
static TOpArithm MULTIPLIE
          Opérateur "multiplié par" (*)
static TOpArithm PLUS
          Opérateur "plus" (+)
static TOpArithm PUISSANCE
          Opérateur "puissance de" (**)
 
Constructor Summary
TOpArithm()
           
 
Method Summary
 void Afficher(java.io.Writer flux_sortie)
          Affiche un opérateur arithmétique.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EGAL

public static final TOpArithm EGAL
Opérateur "égal" (=). A ne pas confondre avec l'opérateur de comparaison. Il est utilisé notamment dans les définitions de constantes.


PLUS

public static final TOpArithm PLUS
Opérateur "plus" (+)


MOINS

public static final TOpArithm MOINS
Opérateur "moins" (-)


MULTIPLIE

public static final TOpArithm MULTIPLIE
Opérateur "multiplié par" (*)


DIVISE

public static final TOpArithm DIVISE
Opérateur "divisé par" (quotient de la division entière) (/)


MODULO

public static final TOpArithm MODULO
Opérateur "modulo" (reste de la division entière) (mod)


PUISSANCE

public static final TOpArithm PUISSANCE
Opérateur "puissance de" (**)

Constructor Detail

TOpArithm

public TOpArithm()
Method Detail

Afficher

public void Afficher(java.io.Writer flux_sortie)
              throws java.io.IOException,
                     java.io.FileNotFoundException
Affiche un opérateur arithmétique.

Overrides:
Afficher in class TOperateur
Parameters:
flux_sortie - Flux de sortie: fichier de type Writer ou terminal(new PrintWriter(System.out)).
Throws:
java.io.IOException
java.io.FileNotFoundException


Copyright OB.