38 IDSupplier(
const std::string& prefix =
"",
long long int begin = 0);
45 IDSupplier(
const std::string& prefix,
const std::vector<std::string>& knownIDs);
54 void avoid(
const std::string&
id);
long long int myCurrent
The current index.
std::string myPrefix
The prefix to use.
std::string getNext()
Returns the next id.
IDSupplier(const std::string &prefix="", long long int begin=0)
Constructor.
void avoid(const std::string &id)
make sure that the given id is never supplied