Skip to content
Snippets Groups Projects
adresse.h 740 B
Newer Older
  • Learn to ignore specific revisions
  • Philipp Pister's avatar
    Philipp Pister committed
    #ifndef ADRESSE_H
    #define ADRESSE_H
    
    #include <iostream>
    #include <string>
    #include "navidaten.h"
    
    class Adresse : public NaviDaten
    {
    public:
        Adresse(double breitengrad, double laengengrad,const std::string& name, const std::string& strasse, const std::string& hausnummer, const std::string& postleitzahl, const std::string& stadt);
    
        std::string getName() const;
        std::string getStrasse() const;
        std::string getHausnummer() const;
        std::string getPostleitzahl() const;
        std::string getStadt() const;
        void setID(int newID);
    
    private:
        const std::string name;
        const std::string strasse;
        const std::string hausnummer;
        const std::string postleitzahl;
        const std::string stadt;
    };
    
    #endif // ADRESSE_H