Loading...
Searching...
No Matches
Process::ExternalFileRef Struct Reference
One external file referenced by a document. More...
Detailed Description
One external file referenced by a document.
Public Attributes | |
| QString | path |
| score::FileKind | kind {score::FileKind::Unknown} |
| FileUsage | usage {FileUsage::Input} |
| bool | directory {} |
| The reference designates a folder, not a file. | |
| bool | rewritable {true} |
| QString | owner |
| Human-readable name of the object holding the reference. | |
| std::optional< MediaRange > | usedRange |
Member Data Documentation
◆ path
| QString Process::ExternalFileRef::path |
Exactly as stored in the model: absolute, document-relative, "<PROJECT>:..." or "<LIBRARY>:...".
◆ rewritable
| bool Process::ExternalFileRef::rewritable {true} |
score knows how to rewrite this reference. False for things like plug-in binaries, which are reported so the user can install them by hand.
◆ usedRange
| std::optional<MediaRange> Process::ExternalFileRef::usedRange |
The part of the file this reference actually reads.
Left unset when the whole file is used, or when the process cannot bound the region with confidence – a time-stretched clip whose mapping depends on a tempo curve, for instance. Trimming only ever touches references that set it, so "unsure" always means "leave the file alone".
The documentation for this struct was generated from the following file: