62 void dump(
int n = 0)
const;
65 void mbt(
int* measure,
int* beat,
int* tick)
const;
66 void msf(
int* minute,
int* sec,
int* frame,
int* subframe)
const;
71 Pos snapped(
int)
const;
72 Pos upSnapped(
int)
const;
73 Pos downSnapped(
int)
const;
78 void setType(
TType t);
80 Pos& operator+=(
const Pos& a);
81 Pos& operator+=(
int a);
82 Pos& operator-=(
const Pos& a);
83 Pos& operator-=(
int a);
85 bool operator>=(
const Pos& s)
const;
86 bool operator>(
const Pos& s)
const;
87 bool operator<(
const Pos& s)
const;
88 bool operator<=(
const Pos& s)
const;
89 bool operator==(
const Pos& s)
const;
90 bool operator!=(
const Pos& s)
const;
97 unsigned tick()
const;
98 unsigned frame()
const;
99 void setTick(
unsigned);
100 void setFrame(
unsigned);
102 void write(
XmlWriter&,
const char*)
const;
104 bool valid()
const {
return _valid && tempo && sig; }
120 void dump(
int n = 0)
const;
122 void write(
XmlWriter&,
const char*)
const;
124 void setLenTick(
unsigned);
125 void setLenFrame(
unsigned);
126 unsigned lenTick()
const;
127 unsigned lenFrame()
const;
129 unsigned endTick()
const {
return end().tick(); }
130 unsigned endFrame()
const {
return end().frame(); }
131 void setPos(
const Pos&);
133 bool operator==(
const PosLen& s)
const;
unsigned _frame
Definition: pos.h:47
unsigned endFrame() const
Definition: pos.h:130
Definition: tempomap.h:22
int sn
Definition: pos.h:45
unsigned _lenTick
Definition: pos.h:113
bool valid() const
Definition: pos.h:104
void setInvalid()
Definition: pos.h:105
TimeSigMap * sig
Definition: pos.h:51
TempoMap * tempo
Definition: pos.h:50
void setContext(TempoMap *t, TimeSigMap *s)
Definition: pos.h:61
unsigned endTick() const
Definition: pos.h:129
unsigned time(TType t) const
Definition: pos.h:64
TType _type
Definition: pos.h:43
bool _valid
Definition: pos.h:44
Definition: aeolus.cpp:26
Pos operator+(const Pos &a, int b)
Definition: pos.cpp:184
void invalidSn()
Definition: pos.h:75
Definition: xmlwriter.h:26
int sn
Definition: pos.h:115
Pos operator-(const Pos &a, int b)
Definition: pos.cpp:190
unsigned _lenFrame
Definition: pos.h:114
Definition: xmlreader.h:28
unsigned _tick
Definition: pos.h:46
TType
Definition: pos.h:32
TType type() const
Definition: pos.h:77