changeset 42 | 83b8151b966d |
child 54 | c064ce9f40f5 |
41:574503cf7bb0 | 42:83b8151b966d |
---|---|
1 /** |
|
2 * test/demos/pmc/object.cc |
|
3 * Copyright (C) 2008 Markus Broeker |
|
4 */ |
|
5 |
|
6 #include <object.h> |
|
7 |
|
8 #include <iostream> |
|
9 |
|
10 Object::~Object () |
|
11 { |
|
12 #ifdef DEBUG |
|
13 std::cerr << "Freeing Object " << name << std::endl; |
|
14 #endif |
|
15 } |
|
16 |
|
17 std::string Object::getName () |
|
18 { |
|
19 return name; |
|
20 } |
|
21 |
|
22 Object Object::getClass () |
|
23 { |
|
24 return *this; |
|
25 } |