You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
403 B
29 lines
403 B
#ifndef PASSAGER_HPP
|
|
#define PASSAGER_HPP
|
|
|
|
#include <string>
|
|
|
|
class Wagon;
|
|
|
|
class Passager {
|
|
private :
|
|
|
|
std::string nom;
|
|
std::string prenom;
|
|
|
|
Wagon *wagonActuel;
|
|
|
|
public :
|
|
|
|
Passager(std::string nom, std::string prenom);
|
|
|
|
Wagon getWagonActuel() const;
|
|
|
|
friend std::ostream &operator<<(std::ostream &s, const Passager &p);
|
|
|
|
|
|
~Passager();
|
|
};
|
|
|
|
|
|
#endif // PASSAGER_HPP |