[go: up one dir, main page]

Menu

[r1]: / base / estrazione.h  Maximize  Restore  History

Download this file

29 lines (22 with data), 721 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef ESTRAZIONE_H
#define ESTRAZIONE_H
#include <QVector>
#include <QDate>
#include "lotto.h"
#include "estrazioneruota.h"
class Estrazione {
private:
QVector<EstrazioneRuota> ruote;
QDate data;
public:
Estrazione(QDate); // costruttore a 1 parametro
bool operator<(Estrazione) const;
bool operator<=(Estrazione) const;
bool operator>(Estrazione) const;
bool operator>=(Estrazione) const;
bool operator==(Estrazione) const;
bool operator!=(Estrazione) const;
void setEstrazioneRuota(Lotto::Ruota, QVector<int>); // inserisce nell'estrazione i numueri di una ruota
EstrazioneRuota getEstrazioneRuota(Lotto::Ruota) const; // restituisce i numeri di una ruota
};
#endif