Main Page | Class Hierarchy | Class List | File List | Class Members

Object Class Reference

Object superclass. All other classes should inherit from this class. More...

#include <object.h>

Inheritance diagram for Object:

AvgMeasure Configuration DstMeasure Input Metrics Output Stat List of all members.

Public Member Functions

 Object (std::string name)
 Default construction only allowed.

unsigned int getId () const
 Access function that returns the object unique identifier.

std::string getName () const
 Access function that returns the class name of this object.

virtual ~Object ()
 Virtual destructor, which makes this a pure virtual class.


Private Attributes

std::string className
 Name of the derived class.

unsigned int id
 Unique numerical sequential identifier.


Detailed Description

Object superclass. All other classes should inherit from this class.

project: measure filename: object.h author: C. Cicconetti <c.cicconetti@iet.unipi.it> year: 2006 affiliation: Dipartimento di Ingegneria dell'Informazione University of Pisa, Italy description: definition of the object superclass


The documentation for this class was generated from the following file:
Generated on Tue May 30 08:09:56 2006 for ns2measure by doxygen 1.3.7