wavelength 1.0.0
Loading...
Searching...
No Matches
Lyric::LyricData Class Reference

One lyric and the tick it is shown at. More...

#include <lyric.h>

Public Member Functions

 LyricData ()=default
 LyricData (int nTick, const String &text)
 Construct a lyric.
bool operator< (const LyricData &other) const
 Order lyrics by tick.
int GetTick () const
const String & GetText () const

Detailed Description

One lyric and the tick it is shown at.

Constructor & Destructor Documentation

◆ LyricData() [1/2]

Lyric::LyricData::LyricData ( )
default

◆ LyricData() [2/2]

Lyric::LyricData::LyricData ( int nTick,
const String & text )
inline

Construct a lyric.

Parameters
nTickThe tick within the loop.
textThe text.

Member Function Documentation

◆ operator<()

bool Lyric::LyricData::operator< ( const LyricData & other) const
inline

Order lyrics by tick.

Parameters
otherThe other lyric.
Returns
Whether this lyric comes first.

◆ GetTick()

int Lyric::LyricData::GetTick ( ) const
inline
Returns
The tick within the loop, negative before the loop's first pass.

◆ GetText()

const String & Lyric::LyricData::GetText ( ) const
inline
Returns
The text.

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