Class to manage identifiers that can be renamed (maybe several times), to keep track of the original ...
Definition Identifier.hpp:18
const String & getFinal() const
Int32 mCounter
Definition Identifier.hpp:26
Identifier & removePrefix(const String &prefix)
Identifier & appendPrefix(const String &prefix)
bool isRenamed() const
Definition Identifier.hpp:57
const String & getOriginal() const
Definition Identifier.hpp:54
bool empty() const
Definition Identifier.hpp:48
bool mRenamedSet
Definition Identifier.hpp:23
bool mOriginalSet
Definition Identifier.hpp:20
Identifier & operator=(const String &s)
String mRenamed
Definition Identifier.hpp:24
Identifier(const Identifier &)=default
String mOriginal
Definition Identifier.hpp:21
Identifier & operator=(const Identifier &rhs)
bool operator!=(const Identifier &lhs, const Identifier &rhs)
Definition Identifier.hpp:64
bool operator==(const Identifier &lhs, const Identifier &rhs)
Definition Identifier.hpp:60
bool operator<(const Identifier &lhs, const Identifier &rhs)
Definition Identifier.hpp:68
String operator+(const Identifier &lhs, const Identifier &rhs)
Definition Identifier.hpp:72
std::int32_t Int32
Definition DataTypes.hpp:21
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25