Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LabelSegment Struct Reference

Identifies when a chart is entering a different section. More...

#include <TimingSegments.h>

Inheritance diagram for LabelSegment:
Inheritance graph
[legend]
Collaboration diagram for LabelSegment:
Collaboration graph
[legend]

Public Member Functions

auto GetType () const -> TimingSegmentType override
 
auto GetEffectType () const -> SegmentEffectType override
 
auto IsNotable () const -> bool override
 
void DebugPrint () const override
 
auto Copy () const -> TimingSegment *override
 
 LabelSegment (int iStartRow=ROW_INVALID, std::string sLabel=std::string())
 
 LabelSegment (const LabelSegment &other)
 
auto GetLabel () const -> const std::string &
 
void SetLabel (const std::string &sLabel)
 
auto ToString (int dec) const -> std::string override
 
auto operator== (const LabelSegment &other) const -> bool
 
auto operator== (const TimingSegment &other) const -> bool override
 
- Public Member Functions inherited from TimingSegment
 TimingSegment (int iRow=ROW_INVALID)
 
 TimingSegment (float fBeat)
 
 TimingSegment (const TimingSegment &other)
 
virtual void Scale (int start, int length, int newLength)
 Scales itself.
 
auto GetRow () const -> int
 
void SetRow (int iRow)
 
auto GetBeat () const -> float
 
void SetBeat (float fBeat)
 
virtual auto GetValues () const -> std::vector< float >
 
auto operator< (const TimingSegment &other) const -> bool
 
virtual auto operator!= (const TimingSegment &other) const -> bool
 

Additional Inherited Members

- Static Public Attributes inherited from TimingSegment
static const double EPSILON = 1e-6
 

Detailed Description

Identifies when a chart is entering a different section.

This is meant for helping to identify different sections of a chart versus relying on measures and beats alone.

Member Function Documentation

◆ Copy()

auto LabelSegment::Copy ( ) const -> TimingSegment*
inlineoverridevirtual

Implements TimingSegment.

◆ DebugPrint()

void LabelSegment::DebugPrint ( ) const
overridevirtual

Reimplemented from TimingSegment.

◆ GetEffectType()

auto LabelSegment::GetEffectType ( ) const -> SegmentEffectType
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ GetType()

auto LabelSegment::GetType ( ) const -> TimingSegmentType
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ IsNotable()

auto LabelSegment::IsNotable ( ) const -> bool
inlineoverridevirtual

Implements TimingSegment.

◆ operator==()

auto LabelSegment::operator== ( const TimingSegment other) const -> bool
inlineoverridevirtual

Reimplemented from TimingSegment.

◆ ToString()

std::string LabelSegment::ToString ( int  dec) const -> std::string
overridevirtual

Reimplemented from TimingSegment.


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