Audacity  2.2.2
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 thna Audacity having its own copies of the data. More...

#include <Dependencies.h>

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 thna Audacity having its own copies of the data.

Definition at line 24 of file Dependencies.h.

Constructor & Destructor Documentation

AliasedFile::AliasedFile ( )
inline

Definition at line 27 of file Dependencies.h.

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

Definition at line 28 of file Dependencies.h.

30  : mFileName(std::move(fileName))
31  , mByteCount(byteCount)
32  , mbOriginalExists(bOriginalExists)
33  {
34  }
bool mbOriginalExists
Definition: Dependencies.h:48
wxLongLong mByteCount
Definition: Dependencies.h:47
wxFileNameWrapper mFileName
Definition: Dependencies.h:46
AliasedFile::AliasedFile ( const AliasedFile that)
default

Member Function Documentation

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

Definition at line 36 of file Dependencies.h.

References mbOriginalExists, mByteCount, and mFileName.

37  {
38  if(this != &that) {
39  mFileName = std::move(that.mFileName);
40  mByteCount = that.mByteCount;
42  }
43  return *this;
44  }
bool mbOriginalExists
Definition: Dependencies.h:48
wxLongLong mByteCount
Definition: Dependencies.h:47
wxFileNameWrapper mFileName
Definition: Dependencies.h:46

Member Data Documentation

bool AliasedFile::mbOriginalExists {}

Definition at line 48 of file Dependencies.h.

Referenced by operator=().

wxLongLong AliasedFile::mByteCount

Definition at line 47 of file Dependencies.h.

Referenced by operator=().

wxFileNameWrapper AliasedFile::mFileName

Definition at line 46 of file Dependencies.h.

Referenced by operator=().


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