equal
deleted
inserted
replaced
5 |
5 |
6 #ifndef OBJECT_H |
6 #ifndef OBJECT_H |
7 #define OBJECT_H |
7 #define OBJECT_H |
8 |
8 |
9 #include <string> |
9 #include <string> |
10 #include <iostream> |
|
11 |
10 |
12 class Object { |
11 class Object { |
13 protected: |
12 protected: |
14 std::string name; |
13 std::string name; |
15 |
14 |
16 public: |
15 public: |
17 virtual ~ Object () { |
16 virtual ~ Object (); |
18 std::cout << "Freeing Object " << name << std::endl; |
17 virtual std::string getName (); |
19 }; |
18 virtual Object getClass (); |
20 }; |
19 }; |
21 #endif |
20 #endif |