-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspazzatura.h
30 lines (23 loc) · 833 Bytes
/
spazzatura.h
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
29
30
#ifndef SPAZZATURA_H
#define SPAZZATURA_H
#include "faccenda.h"
class Spazzatura: public Faccenda
{
private:
static unsigned short int _pesoSpazzatura;
string _cosaButtare;
public:
Spazzatura(const string& nome="spazzatura", const string & cosaButtare="rifiuto",int tempoStimato=10,
Inquilino * incaricato=nullptr,bool svolto=false);
virtual ~Spazzatura() {}
virtual Spazzatura* clone() const;
// get
virtual string getLabel() const;
virtual string generaNota() const;
virtual bool posponi (const Data &) const;
virtual unsigned short int calcolaPunteggio() const;
// input/output
static void importXml(QXmlStreamReader & xmlInput, vector<string> & parametri);
virtual void exportXml(QXmlStreamWriter & xmlOutput,string data) const;
};
#endif // SPAZZATURA_H