Select Git revision
stoppested.h
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
stoppested.h 732 B
/**
* Header-fil for stoppested-klassen
*
* @file stoppested.h
* @author Sondre Sand & Frederik Simonsen
*/
#ifndef __STOPPESTED_H
#define __STOPPESTED_H
#include <string>
#include <vector>
#include <fstream>
/**
* Stoppested (med navn, oversikt over alle nabostopp og
* oversikt over tid til nabostopper)
*/
class Stoppested {
private:
std::string navn;
std::vector <int> nabostopper;
std::vector <int> tidtilnabo;
public:
Stoppested();
Stoppested(std::string nvn, std::ifstream & inn);
Stoppested(const std::string nvn);
std::vector <int> hentTTN();
std::string hentStoppestedNavn();
void skrivData();
void lesData();
};
#endif