12 #ifndef ZYPP_BASE_PROVIDENUMERICID_H
13 #define ZYPP_BASE_PROVIDENUMERICID_H
44 template<
class TDerived,
class TNumericIdType>
78 static TNumericIdType _staticCounter = 0;
80 return ++_staticCounter;
Easy-to use interface to the ZYPP dependency resolver.
Base class for objects providing a numeric Id.
const TNumericIdType _numericId
static TNumericIdType nextId()
Provide the next Id to use.
ProvideNumericId(const void *const)
No-Id ctor (0).
TNumericIdType numericId() const
ProvideNumericId(const ProvideNumericId &)
Copy ctor.
ProvideNumericId & operator=(const ProvideNumericId &)
Assign.
ProvideNumericId()
Default ctor.