Audacity  2.2.2
Public Member Functions | Public Attributes | List of all members
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 42 of file WaveTrack.h.

Constructor & Destructor Documentation

Region::Region ( )
inline

Definition at line 44 of file WaveTrack.h.

44 : start(0), end(0) {}
double start
Definition: WaveTrack.h:47
double end
Definition: WaveTrack.h:47
Region::Region ( double  start_,
double  end_ 
)
inline

Definition at line 45 of file WaveTrack.h.

45 : start(start_), end(end_) {}
double start
Definition: WaveTrack.h:47
double end
Definition: WaveTrack.h:47

Member Function Documentation

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

Definition at line 50 of file WaveTrack.h.

References start.

51  {
52  return this->start < b.start;
53  }
double start
Definition: WaveTrack.h:47

Member Data Documentation

double Region::end
double Region::start

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