-
Notifications
You must be signed in to change notification settings - Fork 1
/
Casa.h
33 lines (26 loc) · 828 Bytes
/
Casa.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
#ifndef CASA_H
#define CASA_H
#include "Imovel.h"
class Casa : public Imovel
{
public:
Casa();
//friend std::bool operator == (const Casa& i);
int getNumPavimento();
int getNumQuartos();
double getAreaTerreno();
double getAreaConstruida();
void setNumPavimento(int numPavimento);
void setNumQuartos(int numQuartos);
void setAreaTerreno(double areaTerreno);
void setAreaConstruida(double areaConstruida);
void EditaImovel(std::string novaString, double novoDouble, int modificacao);
std::string toString();
std::string toStringSalvar();
protected:
int numPavimento;
int numQuartos;
double areaTerreno;
double areaConstruida;
};
#endif // CASA_H