Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
AliasedFile Class Reference

An audio file that is referenced (pointed into) directly from an Audacity .aup file rather than Audacity having its own copies of the data. More...

#include <Dependencies.h>

Collaboration diagram for AliasedFile:
[legend]

Public Member Functions

 AliasedFile ()
 
 AliasedFile (wxFileNameWrapper &&fileName, wxLongLong byteCount, bool bOriginalExists)
 
 AliasedFile (const AliasedFile &that)=default
 
AliasedFileoperator= (AliasedFile &&that)
 

Public Attributes

wxFileNameWrapper mFileName
 
wxLongLong mByteCount {}
 
bool mbOriginalExists {}
 

Detailed Description

An audio file that is referenced (pointed into) directly from an Audacity .aup file rather than Audacity having its own copies of the data.

Definition at line 23 of file Dependencies.h.

Constructor & Destructor Documentation

◆ AliasedFile() [1/3]

AliasedFile::AliasedFile ( )
inline

Definition at line 26 of file Dependencies.h.

26 {}

◆ AliasedFile() [2/3]

AliasedFile::AliasedFile ( wxFileNameWrapper &&  fileName,
wxLongLong  byteCount,
bool  bOriginalExists 
)
inline

Definition at line 27 of file Dependencies.h.

29  : mFileName(std::move(fileName))
30  , mByteCount(byteCount)
31  , mbOriginalExists(bOriginalExists)
32  {
33  }

◆ AliasedFile() [3/3]

AliasedFile::AliasedFile ( const AliasedFile that)
default

Member Function Documentation

◆ operator=()

AliasedFile& AliasedFile::operator= ( AliasedFile &&  that)
inline

Definition at line 35 of file Dependencies.h.

36  {
37  if(this != &that) {
38  mFileName = std::move(that.mFileName);
39  mByteCount = that.mByteCount;
41  }
42  return *this;
43  }

References mbOriginalExists, mByteCount, and mFileName.

Member Data Documentation

◆ mbOriginalExists

bool AliasedFile::mbOriginalExists {}

Definition at line 47 of file Dependencies.h.

Referenced by operator=().

◆ mByteCount

wxLongLong AliasedFile::mByteCount {}

Definition at line 46 of file Dependencies.h.

Referenced by operator=().

◆ mFileName

wxFileNameWrapper AliasedFile::mFileName

Definition at line 45 of file Dependencies.h.

Referenced by operator=().


The documentation for this class was generated from the following file:
AliasedFile::mbOriginalExists
bool mbOriginalExists
Definition: Dependencies.h:47
AliasedFile::mFileName
wxFileNameWrapper mFileName
Definition: Dependencies.h:45
AliasedFile::mByteCount
wxLongLong mByteCount
Definition: Dependencies.h:46