class Environment

Classe usata per la valutazione di espressioni

Public Methods

[more] Environment ()
Costruttore
[more]void insert (const std::string& n, int v)
Inserisce un legame variabile / valore nell'environment
[more]int lookup (const std::string& n) const throw(VarException)
Restituisce il valore di una variabile
[more]bool isPresent (const std::string& n) const
Ricerca se una variabile e' presente nell'environment
[more]std::string toString () const
Conversione a stringa
[more] ~Environment ()
Distruttore

Private Fields

[more]StringInt bindings
Mappa contenente i legami variabile / valore

Documentation

Classe usata per la valutazione di espressioni. contiene una lista di legami variabile / valore
o Environment()
Costruttore

ovoid insert(const std::string& n, int v)
Inserisce un legame variabile / valore nell'environment

oint lookup(const std::string& n) const throw(VarException)
Restituisce il valore di una variabile

obool isPresent(const std::string& n) const
Ricerca se una variabile e' presente nell'environment

ostd::string toString() const
Conversione a stringa

o ~Environment()
Distruttore

oStringInt bindings
Mappa contenente i legami variabile / valore


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.