foobar2000 SDK
2015-08-03
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
foobar2000
helpers
cuesheet_index_list.h
Go to the documentation of this file.
1
struct
t_cuesheet_index_list
2
{
3
enum
{
count
= 100};
4
t_cuesheet_index_list
() {
reset
();}
5
void
reset
() {
for
(
unsigned
n=0;n<
count
;n++)
m_positions
[n]=0;}
6
7
void
to_infos
(
file_info
& p_out)
const
;
8
9
//returns false when there was nothing relevant in infos
10
bool
from_infos
(
file_info
const
& p_in,
double
p_base);
11
12
double
m_positions
[
count
];
13
14
inline
double
start
()
const
{
return
m_positions[1];}
15
inline
double
pregap
()
const
{
return
m_positions[1] - m_positions[0];}
16
bool
is_empty
()
const
;
17
18
bool
is_valid
()
const
;
19
};
20
t_cuesheet_index_list
Definition:
cuesheet_index_list.h:1
t_cuesheet_index_list::count
Definition:
cuesheet_index_list.h:3
t_cuesheet_index_list::t_cuesheet_index_list
t_cuesheet_index_list()
Definition:
cuesheet_index_list.h:4
t_cuesheet_index_list::pregap
double pregap() const
Definition:
cuesheet_index_list.h:15
t_cuesheet_index_list::reset
void reset()
Definition:
cuesheet_index_list.h:5
t_cuesheet_index_list::is_empty
bool is_empty() const
Definition:
cuesheet_index_list.cpp:74
t_cuesheet_index_list::to_infos
void to_infos(file_info &p_out) const
Definition:
cuesheet_index_list.cpp:15
t_cuesheet_index_list::is_valid
bool is_valid() const
Definition:
cuesheet_index_list.cpp:7
file_info
Main interface class for information about some playable object.
Definition:
file_info.h:73
t_cuesheet_index_list::from_infos
bool from_infos(file_info const &p_in, double p_base)
Definition:
cuesheet_index_list.cpp:52
t_cuesheet_index_list::start
double start() const
Definition:
cuesheet_index_list.h:14
t_cuesheet_index_list::m_positions
double m_positions[count]
Definition:
cuesheet_index_list.h:12
Generated by
1.8.11