Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
WaveTrack::Region Struct Reference

Structure to hold region of a wavetrack and a comparison function for sortability. More...

#include <WaveTrack.h>

Public Member Functions

 Region ()
 
 Region (double start_, double end_)
 
bool operator< (const Region &b) const
 

Public Attributes

double start
 
double end
 

Detailed Description

Structure to hold region of a wavetrack and a comparison function for sortability.

Definition at line 61 of file WaveTrack.h.

Constructor & Destructor Documentation

◆ Region() [1/2]

WaveTrack::Region::Region ( )
inline

Definition at line 63 of file WaveTrack.h.

63: start(0), end(0) {}

◆ Region() [2/2]

WaveTrack::Region::Region ( double  start_,
double  end_ 
)
inline

Definition at line 64 of file WaveTrack.h.

64: start(start_), end(end_) {}

Member Function Documentation

◆ operator<()

bool WaveTrack::Region::operator< ( const Region b) const
inline

Definition at line 69 of file WaveTrack.h.

70 {
71 return this->start < b.start;
72 }

References start.

Member Data Documentation

◆ end

double WaveTrack::Region::end

◆ start

double WaveTrack::Region::start

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