EDLGroup
EDLGroup
A grouping of groups or datasets.
#include <edlstorage.h>
Inherits from EDLUnit
Inherited by EDLCollection
Public Functions
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 |
Additional inherited members
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 |
QDateTime | timeCreated() const |
void | setTimeCreated(const QDateTime & time) |
QUuid | collectionId() const |
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) |
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) |
void | setDataObjects(std::optional< EDLDataFile > dataFile, const QList< EDLDataFile > & auxDataFiles =QList< EDLDataFile >()) |
bool | saveManifest() |
bool | saveAttributes() |
QString | generatorId() const |
void | setGeneratorId(const QString & idString) |
Public Functions Documentation
function EDLGroup
explicit EDLGroup(
EDLGroup * parent =nullptr
)
function ~EDLGroup
~EDLGroup()
function setName
virtual bool setName(
const QString & name
) override
Reimplements: EDLUnit::setName
function setRootPath
virtual void setRootPath(
const QString & root
) override
Reimplements: EDLUnit::setRootPath
function setCollectionId
virtual void setCollectionId(
const QUuid & uuid
) override
Reimplements: EDLUnit::setCollectionId
function children
QList< std::shared_ptr< EDLUnit > > children() const
function addChild
void addChild(
std::shared_ptr< EDLUnit > edlObj
)
function groupByName
std::shared_ptr< EDLGroup > groupByName(
const QString & name,
bool create =false
)
function datasetByName
std::shared_ptr< EDLDataset > datasetByName(
const QString & name,
bool create =false
)
function save
virtual bool save() override
Reimplements: EDLUnit::save
Updated on 2024-11-06 at 17:10:29 +0000