Parkmanne/headers/Query.h

21 lines
573 B
C
Raw Normal View History

2019-07-02 00:51:23 +00:00
#ifndef QUERY_H
#define QUERY_H
#pragma once
#include "Park_spot.h"
#include <array>
vector<Park_time> query_parktimes_for_customer(int cid);
vector<Customer> query_customer_with_name(string name);
Customer query_customer_with_id(int id);
vector<Park_spot> query_all_parking_spots(); // used for initializing the parking spots at start of the program
static vector<Park_spot> parking_spots = query_all_parking_spots(); // to save the parking spots in memory
static vector<Customer> park_customers;
// save the customers that are parked in here
#endif // CUSTOMER_H