Class NameGenerator#
Defined in File NameGenerator.hh
Class Documentation#
-
class NameGenerator#
Public Functions
-
NameGenerator(const std::string &pre, size_t first_id = 1, const std::string &suf = std::string(""))#
-
inline virtual ~NameGenerator(void)#
-
std::string prefix(void) const#
Returns the prefix.
-
std::string suffix(void) const#
Returns the suffix.
-
virtual std::string current(void) const#
Returns the current name, based on the current ID number.
-
std::string next(void)#
Returns the next name, updating the current ID number.
-
NameGenerator(const std::string &pre, size_t first_id = 1, const std::string &suf = std::string(""))#