2019-07-01 14:04:35 +00:00
|
|
|
#ifndef QUERY_H
|
|
|
|
#define QUERY_H
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Park_spot.h"
|
|
|
|
|
|
|
|
#include <array>
|
|
|
|
|
2019-07-01 17:23:15 +00:00
|
|
|
vector<Park_time> query_parktimes_for_customer(int cid);
|
|
|
|
|
2019-07-01 14:04:35 +00:00
|
|
|
vector<Customer> query_customer_with_name(string name);
|
2019-07-01 17:23:15 +00:00
|
|
|
Customer query_customer_with_id(int id);
|
|
|
|
Customer* get_customer_ptr_for_parkspot(int id);
|
|
|
|
|
|
|
|
void query_all_parking_spots(); // used for initializing the parking spots at start of the program
|
2019-07-01 14:04:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif // CUSTOMER_H
|