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]
tracktion::engine::ProjectItemID::ProjectItemID |
( |
| ) |
|
|
defaultnoexcept |
◆ ProjectItemID() [2/4]
tracktion::engine::ProjectItemID::ProjectItemID |
( |
const ProjectItemID & |
| ) |
|
|
defaultnoexcept |
◆ ~ProjectItemID()
tracktion::engine::ProjectItemID::~ProjectItemID |
( |
| ) |
|
|
defaultnoexcept |
◆ ProjectItemID() [3/4]
tracktion::engine::ProjectItemID::ProjectItemID |
( |
const juce::String & |
stringID | ) |
|
|
explicitnoexcept |
◆ ProjectItemID() [4/4]
tracktion::engine::ProjectItemID::ProjectItemID |
( |
int |
itemID, |
|
|
int |
projectID |
|
) |
| |
|
noexcept |
◆ operator=()
◆ createNewID()
static ProjectItemID tracktion::engine::ProjectItemID::createNewID |
( |
int |
projectID | ) |
|
|
staticnoexcept |
◆ fromProperty()
static ProjectItemID tracktion::engine::ProjectItemID::fromProperty |
( |
const juce::ValueTree & |
, |
|
|
const juce::Identifier & |
|
|
) |
| |
|
static |
◆ withNewProjectID()
ProjectItemID tracktion::engine::ProjectItemID::withNewProjectID |
( |
int |
newProjectID | ) |
const |
◆ getProjectID()
int tracktion::engine::ProjectItemID::getProjectID |
( |
| ) |
const |
Returns the ID of the project this item belongs to.
◆ getItemID()
int tracktion::engine::ProjectItemID::getItemID |
( |
| ) |
const |
◆ getRawID()
int64_t tracktion::engine::ProjectItemID::getRawID |
( |
| ) |
const |
|
noexcept |
Returns a combined ID as an integer, useful for creating hashes.
◆ isValid()
bool tracktion::engine::ProjectItemID::isValid |
( |
| ) |
const |
|
noexcept |
◆ isInvalid()
bool tracktion::engine::ProjectItemID::isInvalid |
( |
| ) |
const |
|
noexcept |
◆ toString()
juce::String tracktion::engine::ProjectItemID::toString |
( |
| ) |
const |
◆ toStringSuitableForFilename()
juce::String tracktion::engine::ProjectItemID::toStringSuitableForFilename |
( |
| ) |
const |
◆ operator==()
bool tracktion::engine::ProjectItemID::operator== |
( |
ProjectItemID |
other | ) |
const |
◆ operator!=()
bool tracktion::engine::ProjectItemID::operator!= |
( |
ProjectItemID |
other | ) |
const |
◆ operator<()
bool tracktion::engine::ProjectItemID::operator< |
( |
ProjectItemID |
other | ) |
const |
The documentation for this class was generated from the following file: