Maintains collisions to create unique names.
More...
#include <Utils.hpp>
|
LIGHTWEIGHT_API bool | IsColliding (std::string const &name) const noexcept |
| Tests if the given name is already registered.
|
|
LIGHTWEIGHT_API std::optional< std::string > | TryDeclareName (std::string name) |
| Tries to declare a name and returns it, otherwise returns std::nullopt.
|
|
LIGHTWEIGHT_API std::string | DeclareName (std::string name) |
| Creates a name that is definitely not colliding.
|
|
Maintains collisions to create unique names.
Definition at line 257 of file Utils.hpp.
The documentation for this class was generated from the following file: