/*
  Copyright (C) 2008 Alessandro Bugatti (alessandro.bugatti@istruzione.it)

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

/*! \file
 *  \brief Classe per calcolare il preventivo di un'automobile
 *  \author Alessandro Bugatti
 *
 *  \version 0.1
 *  \date  Creazione  15/04/2009
 *  \date  Ultima modifica 15/04/2009
 *
 */

#ifndef PREVENTIVO_H
#define PREVENTIVO_H

#include <vector>
#include <string>

using namespace std;

class Preventivo
{
    vector <stringmodelli;///<Contiene l'elenco dei modelli
    vector <doublevaloriModelli;
    int modelloScelto;
    vector <stringmotorizzazioni;
    vector <doublevaloriMotorizzazioni;
    int motorizzazioneScelta;
    vector <stringcolori;///<Contiene l'elenco dei colori
    vector <doublevaloriColori;
    int coloreScelto;
public:
    Preventivo();
    vector <stringgetModelli() const;
    void setModello(int i);
    vector <stringgetMotorizzazioni() const;
    void setMotorizzazione(int i);
    vector <stringgetColori() const;
    void setColore(int i);
    string getRiepilogo() const;
    double getPreventivo() const;
};

#endif // PREVENTIVO_H