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 boolsetName(const QString & name) override
virtual voidsetRootPath(const QString & root) override
virtual voidsetCollectionId(const QUuid & uuid) override
QList< std::shared_ptr< EDLUnit > >children() const
voidaddChild(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 boolsave() override

Additional inherited members

Public Functions inherited from EDLUnit

Name
EDLUnit(EDLUnitKind kind, EDLUnit * parent =nullptr)
virtual~EDLUnit()
EDLUnitKindobjectKind() const
QStringobjectKindString() const
EDLUnit *parent() const
QStringname() const
QDateTimetimeCreated() const
voidsetTimeCreated(const QDateTime & time)
QUuidcollectionId() const
QStringcollectionShortTag() const
Get part of the long collection-id as a short tag in e.g. filenames.
voidaddAuthor(const EDLAuthor & author)
QList< EDLAuthor >authors() const
QStringpath() const
voidsetPath(const QString & path)
QStringrootPath() const
QHash< QString, QVariant >attributes() const
voidsetAttributes(const QHash< QString, QVariant > & attributes)
voidinsertAttribute(const QString & key, const QVariant & value)
QStringlastError() const
QStringserializeManifest()
QStringserializeAttributes()

Protected Functions inherited from EDLUnit

Name
voidsetObjectKind(const EDLUnitKind & kind)
voidsetParent(EDLUnit * parent)
voidsetLastError(const QString & message)
voidsetDataObjects(std::optional< EDLDataFile > dataFile, const QList< EDLDataFile > & auxDataFiles =QList< EDLDataFile >())
boolsaveManifest()
boolsaveAttributes()
QStringgeneratorId() const
voidsetGeneratorId(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