pmc/object.cc
author Emilio Largo <largo@largo.homelinux.org>
Thu, 16 Apr 2009 12:49:12 +0200
changeset 45 7197576fedcf
parent 42 83b8151b966d
child 54 c064ce9f40f5
permissions -rw-r--r--
pmc: namespace algebra for vector -> the namespace prevents clashes with std::vector -> std::vector and algebra::Vector with capital V. md5: a md5 replacement ncurses: keypad function added committer: Markus Bröker <mbroeker@largo.homelinux.org>

/**
 * 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;
}