Program Listing for File IDFactory.h
↰ Return to documentation for file (Simulation/IDFactory.h)
#ifndef __IDFACTORY_H__
#define __IDFACTORY_H__
namespace PBD
{
class IDFactory
{
private:
static int id;
public:
static int getId() { return id++; }
};
}
#endif