11namespace tracktion {
inline namespace engine
14ProjectItemID::ProjectItemID (
const juce::String& asString)
noexcept
31 *number = ((*number) << 4) | hex;
33 else if ((c ==
'/' || c ==
'_') && number == &pid)
49ProjectItemID::ProjectItemID (
int itemID,
int projectID) noexcept
50 : combinedID ((((int64_t) projectID) << 32) | itemID)
62juce::String ProjectItemID::toStringSuitableForFilename()
const
77ProjectItemID ProjectItemID::withNewProjectID (
int newProjectID)
const
static int getHexDigitValue(juce_wchar digit) noexcept
String::CharPointerType getCharPointer() const noexcept
const String & toString() const noexcept
static Random & getSystemRandom() noexcept
static String toHexString(IntegerType number)
An ID representing one of the items in a Project.
static ProjectItemID createNewID(int projectID) noexcept
Generates a new ID for a given project.
int getItemID() const
Returns the ID of the item within the project.
int getProjectID() const
Returns the ID of the project this item belongs to.