36 : myCurrent(begin), myPrefix(prefix) {}
42 for (std::vector<std::string>::const_iterator id_it = knownIDs.begin(); id_it != knownIDs.end(); ++id_it) {
53 std::ostringstream strm;
64 std::istringstream buf(
id.substr(
myPrefix.size()));
std::string myPrefix
The prefix to use.
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
std::string getNext()
Returns the next id.
long long int myCurrent
The current index.