changeset 42 | 83b8151b966d |
child 54 | c064ce9f40f5 |
new file mode 100644 --- /dev/null +++ b/pmc/object.cc @@ -0,0 +1,25 @@ +/** + * test/demos/pmc/object.cc + * Copyright (C) 2008 Markus Broeker + */ + +#include <object.h> + +#include <iostream> + +Object::~Object () +{ +#ifdef DEBUG + std::cerr << "Freeing Object " << name << std::endl; +#endif +} + +std::string Object::getName () +{ + return name; +} + +Object Object::getClass () +{ + return *this; +}