src/core/object-base.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sun, 02 Mar 2008 21:12:21 +0100
changeset 2532 86a40c7cbfe9
parent 2370 5f7ad186b798
child 2633 a0639de8cd8b
permissions -rw-r--r--
register and unregister the NodeList as a config root namespace

#ifndef OBJECT_BASE_H
#define OBJECT_BASE_H

namespace ns3 {

/**
 * This base class is really used only to make sure that 
 * every subclass has RTTI information and that they all
 * share a single base class to allow us to make type 
 * checks across all these types.
 */
class ObjectBase
{
public:
  virtual ~ObjectBase ();
};

} // namespace ns3

#endif /* OBJECT_BASE_H */