35 name = std::move (
other.name);
46 : name (
StringPool::getGlobalPool().getPooledString (
nm))
49 jassert (
nm.isNotEmpty());
53 : name (
StringPool::getGlobalPool().getPooledString (
nm))
56 jassert (
nm !=
nullptr &&
nm[0] != 0);
60 : name (
StringPool::getGlobalPool().getPooledString (start, end))
63 jassert (start < end);
71 &&
possibleIdentifier.containsOnly (
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-:#@$%");
Holds a resizable array of primitive or copy-by-value objects.
Wraps a pointer to a null-terminated UTF-8 character string, and provides various methods to operate ...
Represents a string identifier, designed for accessing properties by name.
Identifier() noexcept
Creates a null identifier.
~Identifier() noexcept
Destructor.
static Identifier null
A null identifier.
static bool isValidIdentifier(const String &possibleIdentifier) noexcept
Checks a given string for characters that might not be valid in an Identifier.
Identifier & operator=(const Identifier &other) noexcept
Creates a copy of another identifier.
A StringPool holds a set of shared strings, which reduces storage overheads and improves comparison s...