|
| Name ()=default |
| Default constructor.
|
|
| Name (const StringView &name) |
| Construct a new unique name instance from the given name string.
|
|
| Name (const char *name) |
| Construct a new unique name from the given null terminated C string.
|
|
| Name (const std::string &name) |
| Construct a new unique name from the given standard string.
|
|
| Name (const Name &other)=default |
| Defaulted copy constructor.
|
|
| Name (Name &&other) noexcept=default |
| Default move constructor.
|
|
Name & | operator= (const Name &other)=default |
| Default copy assignment operator.
|
|
Name & | operator= (Name &&other) noexcept=default |
| Default move assignment operator.
|
|
bool | operator== (const Name &other) const |
| Compare to other. Considered equal if the identifier is the same.
|
|
const std::string & | getName () const |
| Get the string name. This can be empty, even in valid instances of Name.
|
|
const char * | c_str () const |
| Gets the name as a null-terminated string.
|
|
size_t | getId () const |
| Get the unique identifier of this name.
|
|
Represents an unique name.
Stores the hash of the string given internally to use as basis for comparisons.
Definition at line 69 of file Name.h.