summaryrefslogtreecommitdiff
path: root/algo1w1/NAW.h
diff options
context:
space:
mode:
Diffstat (limited to 'algo1w1/NAW.h')
-rw-r--r--algo1w1/NAW.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/algo1w1/NAW.h b/algo1w1/NAW.h
index ad38133..75fd2c6 100644
--- a/algo1w1/NAW.h
+++ b/algo1w1/NAW.h
@@ -10,6 +10,9 @@ public:
virtual ~NAW();
public:
+ int compareTo(const NAW&) const;
+
+public:
virtual const std::string& getNaam() const;
virtual const std::string& getAdres() const;
virtual const std::string& getPlaats() const;
@@ -24,6 +27,9 @@ public:
virtual bool heeftAdres(const std::string&) const;
virtual bool heeftPlaats(const std::string&) const;
+public:
+ friend std::ostream& operator << (std::ostream& output, const NAW& naw);
+
private:
std::string _naam, _adres, _woonplaats;
};