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 216 of file WaveTrack.h.

Constructor & Destructor Documentation

◆ Region() [1/2]

WaveTrack::Region::Region ( )
inline

Definition at line 218 of file WaveTrack.h.

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

◆ Region() [2/2]

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

Definition at line 219 of file WaveTrack.h.

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

Member Function Documentation

◆ operator<()

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

Definition at line 224 of file WaveTrack.h.

225 {
226 return this->start < b.start;
227 }

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: