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;
93 #endif // ZYPP_BASE_PROVIDENUMERICID_H
ProvideNumericId(const ProvideNumericId &)
Copy ctor.
static TNumericIdType nextId()
Provide the next Id to use.
Base class for objects providing a numeric Id.
ProvideNumericId & operator=(const ProvideNumericId &)
Assign.
TNumericIdType numericId() const
ProvideNumericId()
Default ctor.
ProvideNumericId(const void *const )
No-Id ctor (0).
const TNumericIdType _numericId