-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtriathlon.h
30 lines (27 loc) · 912 Bytes
/
triathlon.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
/*
* Andrea Favero
* 1125545
*/
#ifndef TRIATHLON_H
#define TRIATHLON_H
#include "nuoto.h"
#include "ciclismo.h"
#include "corsa.h"
#include <memory>
#include "data.h"
class Triathlon : public Nuoto, public Ciclismo, public Corsa {
public:
Triathlon(std::shared_ptr<Persona>, unsigned int, Data data, unsigned int,
unsigned int, unsigned int, unsigned int, unsigned int,
unsigned int, unsigned int, unsigned int, unsigned int);
Triathlon* clone() const override;
std::string tipo() const override;
unsigned int calorie() const override;
unsigned int grassoPerso() const override;
unsigned int saliMinerali() const override;
bool operator==(const Allenamento&) const override;
bool operator>=(const Allenamento&) const override;
bool operator<=(const Allenamento&) const override;
};
#endif // TRIATHLON_H