-
Notifications
You must be signed in to change notification settings - Fork 0
/
AutoMobil.h
32 lines (24 loc) · 875 Bytes
/
AutoMobil.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
#pragma once
#include "AutoMarfar.h"
#include "AutoPersonal.h"
#include "Util.h"
class AutoMobil : public AutoMarfar, public AutoPersonal
{
protected:
static uint autoMobilCount;
uint vitezaMaxima;
char *isLimuzina;
public:
static uint getAutoMobilCount(void);
AutoMobil(void);
AutoMobil(char *marca, char *model, uint anFabricatie, float consumMediu, uint pretEUR, char *numar, char *dotari, uint volumLitri, char *caroserie, uint numarPersoane, uint vitezaMaxima, char *isLimuzina);
~AutoMobil(void);
uint codObiect(void);
bool read(istream &in, bool writeLog);
void write(ostream &out, bool writeClassCode, bool writeNewLine = true, bool writeLog = true);
uint getVitezaMaxima(void) const;
char* getIsLimuzina(void) const;
void setVitezaMaxima(uint vitezaMaxima);
void setIsLimuzina(char *isLimuzina);
AutoMobil& operator = (const AutoMobil &o);
};