9 #ifndef __DIADES__UTILS__IDGENERATORS__HH__ 10 #define __DIADES__UTILS__IDGENERATORS__HH__ 26 template<
typename GeneratedType>
34 virtual void init() = 0;
39 virtual GeneratedType
another() = 0;
130 return _prefix + std::to_string(_counter++);
139 template<
typename IncrementableType>
212 virtual IncrementableType
virtual IncrementableType another()
IncrementGenerator(IncrementableType initialValue)
PrefixedCounterIdGenerator(const std::string &prefix)
virtual GeneratedType another()=0
virtual std::string another()
Namespace of the Diades project.
IncrementableType _initial
PrefixedCounterIdGenerator(const std::string &prefix, size_t counter)
IncrementableType _current