Documentation de SFML 2.5.0

Attention: cette page se réfère à une ancienne version de SFML. Cliquez ici pour passer à la dernière version.
sf::Music::Span< T > Struct Template Reference

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

#include <Music.hpp>

Public Member Functions

 Span ()
 Default constructor. More...
 
 Span (T off, T len)
 Initialization constructor. More...
 

Public Attributes

offset
 The beginning offset of the time range. More...
 
length
 The length of the time range. More...
 

Detailed Description

template<typename T>
struct sf::Music::Span< T >

Structure defining a time range using the template type.

Definition at line 57 of file Music.hpp.

Constructor & Destructor Documentation

◆ Span() [1/2]

template<typename T>
sf::Music::Span< T >::Span ( )
inline

Default constructor.

Definition at line 63 of file Music.hpp.

◆ Span() [2/2]

template<typename T>
sf::Music::Span< T >::Span ( off,
len 
)
inline

Initialization constructor.

Parameters
offInitial Offset
lenInitial Length

Definition at line 75 of file Music.hpp.

Member Data Documentation

◆ length

template<typename T>
T sf::Music::Span< T >::length

The length of the time range.

Definition at line 83 of file Music.hpp.

◆ offset

template<typename T>
T sf::Music::Span< T >::offset

The beginning offset of the time range.

Definition at line 82 of file Music.hpp.


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