template struct EE::Audio::Music::Span

Overview

Structure defining a time range using the template type. More…

#include <music.hpp>

template <typename T>
struct Span {
    // fields

    T offset;
    T length;

    // construction

    Span();
    Span(T off, T len);
};

Detailed Documentation

Structure defining a time range using the template type.

Fields

T offset

The beginning offset of the time range.

T length

The length of the time range.

Construction

Span(T off, T len)

Initialization constructor.

Parameters:

off

Initial Offset

len

Initial Length