TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::ProjectUtilities::EditReferences Struct Reference

Holds a mixed list of Edit pointers and owned Edits. More...

#include <tracktion_ProjectUtilities.h>

Public Member Functions

 EditReferences ()=default
 
const std::vector< Edit * > & getEdits () const
 Returns the Edits.
 
void add (Edit *edit)
 Adds a non-owned Edit.
 
void add (std::unique_ptr< Edit > edit)
 Adds an owned Edit.
 
int getNumFailedLoads () const
 Returns the number of null Edits that were added, i.e.
 

Detailed Description

Holds a mixed list of Edit pointers and owned Edits.

Constructor & Destructor Documentation

◆ EditReferences()

engine::ProjectUtilities::EditReferences::EditReferences ( )
default

Member Function Documentation

◆ getEdits()

const std::vector< Edit * > & engine::ProjectUtilities::EditReferences::getEdits ( ) const

Returns the Edits.

◆ add() [1/2]

void engine::ProjectUtilities::EditReferences::add ( Edit edit)

Adds a non-owned Edit.

Null Edits are counted as failed loads.

◆ add() [2/2]

void engine::ProjectUtilities::EditReferences::add ( std::unique_ptr< Edit edit)

Adds an owned Edit.

Null Edits are counted as failed loads.

◆ getNumFailedLoads()

int engine::ProjectUtilities::EditReferences::getNumFailedLoads ( ) const

Returns the number of null Edits that were added, i.e.

Edits that failed to load.


The documentation for this struct was generated from the following file: