EDLCollection
EDLCollection
A collection of groups and datasets.
#include <edlstorage.h>
Inherits from EDLGroup, EDLUnit
Public Functions
Name | |
---|---|
EDLCollection(const QString & name) | |
~EDLCollection() | |
QString | generatorId() const |
void | setGeneratorId(const QString & idString) |
Additional inherited members
Public Functions inherited from EDLGroup
Name | |
---|---|
EDLGroup(EDLGroup * parent =nullptr) | |
~EDLGroup() | |
virtual bool | setName(const QString & name) override |
virtual void | setRootPath(const QString & root) override |
virtual void | setCollectionId(const QUuid & uuid) override |
QList< std::shared_ptr< EDLUnit > > | children() const |
void | addChild(std::shared_ptr< EDLUnit > edlObj) |
std::shared_ptr< EDLGroup > | groupByName(const QString & name, bool create =false) |
std::shared_ptr< EDLDataset > | datasetByName(const QString & name, bool create =false) |
virtual bool | save() override |
Public Functions inherited from EDLUnit
Name | |
---|---|
EDLUnit(EDLUnitKind kind, EDLUnit * parent =nullptr) | |
virtual | ~EDLUnit() |
EDLUnitKind | objectKind() const |
QString | objectKindString() const |
EDLUnit * | parent() const |
QString | name() const |
virtual bool | setName(const QString & name) |
QDateTime | timeCreated() const |
void | setTimeCreated(const QDateTime & time) |
QUuid | collectionId() const |
virtual void | setCollectionId(const QUuid & uuid) |
QString | collectionShortTag() const Get part of the long collection-id as a short tag in e.g. filenames. |
void | addAuthor(const EDLAuthor & author) |
QList< EDLAuthor > | authors() const |
QString | path() const |
void | setPath(const QString & path) |
QString | rootPath() const |
QHash< QString, QVariant > | attributes() const |
void | setAttributes(const QHash< QString, QVariant > & attributes) |
void | insertAttribute(const QString & key, const QVariant & value) |
virtual bool | save() |
QString | lastError() const |
QString | serializeManifest() |
QString | serializeAttributes() |
Protected Functions inherited from EDLUnit
Name | |
---|---|
void | setObjectKind(const EDLUnitKind & kind) |
void | setParent(EDLUnit * parent) |
void | setLastError(const QString & message) |
virtual void | setRootPath(const QString & root) |
void | setDataObjects(std::optional< EDLDataFile > dataFile, const QList< EDLDataFile > & auxDataFiles =QList< EDLDataFile >()) |
bool | saveManifest() |
bool | saveAttributes() |
Friends inherited from EDLUnit
Name | |
---|---|
class | EDLGroup |
Public Functions Documentation
function EDLCollection
explicit EDLCollection(
const QString & name
)
function ~EDLCollection
~EDLCollection()
function generatorId
QString generatorId() const
function setGeneratorId
void setGeneratorId(
const QString & idString
)
Updated on 2024-11-06 at 17:10:29 +0000