-
Notifications
You must be signed in to change notification settings - Fork 0
/
AutoMarfar.h
35 lines (26 loc) · 848 Bytes
/
AutoMarfar.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
31
32
33
34
35
#pragma once
#include "AutoVehicul.h"
#include "Util.h"
using namespace std;
class AutoMarfar : public virtual AutoVehicul
{
protected:
static uint autoMarfarCount;
uint volumLitri;
char *dotari;
AutoMarfar(char *dotari, uint volumLitri);
public:
static uint getAutoMarfarCount(void);
AutoMarfar(void);
AutoMarfar(char *marca, char *model, uint anFabricatie, float consumMediu, uint pretEUR, char *numar, char *dotari, uint volumLitri);
AutoMarfar(const AutoMarfar &o);
~AutoMarfar(void);
uint codObiect(void);
bool read(istream &in, bool writeLog);
void write(ostream &out, bool writeClassCode, bool writeNewLine = true, bool writeLog = true);
char* getDotari(void) const;
uint getVolumLitri(void) const;
void setDotari(char *dotari);
void setVolumLitri(uint volumLitri);
AutoMarfar& operator = (const AutoMarfar &o);
};