blob: bd2f82ac629082395dc28508ac34c14d2d5b623c (
plain) (
blame)
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
|
#ifndef HEADER_HALL
#define HEADER_HALL
class Hall {
int index;
unsigned rowCount;
unsigned seatsPerRow;
public:
Hall();
Hall(int index, unsigned rowCount, unsigned seatsPerRow);
int get_index() const;
void set_index(int index);
unsigned get_rowCount() const;
void set_rowCount(unsigned rowCount);
unsigned get_seatsPerRow() const;
void set_seatsPerRow(unsigned seatsPerRow);
int compare(const Hall& other);
};
#endif
|