An ID representing one of the items in a Project.
More...
#include <tracktion_ProjectItemID.h>
An ID representing one of the items in a Project.
A ProjectItemID consists of two parts: the ID of the project it belongs to, and an ID of the item within that project.
◆ ProjectItemID() [1/4]
| engine::ProjectItemID::ProjectItemID |
( |
| ) |
|
|
defaultnoexcept |
◆ ProjectItemID() [2/4]
◆ ~ProjectItemID()
| engine::ProjectItemID::~ProjectItemID |
( |
| ) |
|
|
defaultnoexcept |
◆ ProjectItemID() [3/4]
| engine::ProjectItemID::ProjectItemID |
( |
const juce::String & |
stringID | ) |
|
|
explicitnoexcept |
◆ ProjectItemID() [4/4]
| engine::ProjectItemID::ProjectItemID |
( |
int |
itemID, |
|
|
ProjectID |
projectID |
|
) |
| |
|
noexcept |
Creates an ID from the item ID and project ID.
◆ operator=()
◆ createNewID()
Generates a new ID for a given project.
◆ fromProperty()
| static ProjectItemID engine::ProjectItemID::fromProperty |
( |
const juce::ValueTree & |
, |
|
|
const juce::Identifier & |
|
|
) |
| |
|
static |
◆ withNewProjectID()
◆ getProjectID()
| ProjectID engine::ProjectItemID::getProjectID |
( |
| ) |
const |
Returns the ID of the project this item belongs to.
◆ getItemID()
| int engine::ProjectItemID::getItemID |
( |
| ) |
const |
Returns the ID of the item within the project.
◆ getRawID()
| int64_t engine::ProjectItemID::getRawID |
( |
| ) |
const |
|
noexcept |
Returns a combined ID as an integer, useful for creating hashes.
◆ isValid()
| bool engine::ProjectItemID::isValid |
( |
| ) |
const |
|
noexcept |
◆ isInvalid()
| bool engine::ProjectItemID::isInvalid |
( |
| ) |
const |
|
noexcept |
◆ toString()
| juce::String engine::ProjectItemID::toString |
( |
| ) |
const |
◆ toStringSuitableForFilename()
| juce::String engine::ProjectItemID::toStringSuitableForFilename |
( |
| ) |
const |
◆ operator==()
| bool engine::ProjectItemID::operator== |
( |
ProjectItemID |
other | ) |
const |
◆ operator!=()
| bool engine::ProjectItemID::operator!= |
( |
ProjectItemID |
other | ) |
const |
◆ operator<()
| bool engine::ProjectItemID::operator< |
( |
ProjectItemID |
other | ) |
const |
The documentation for this class was generated from the following file: