LV2 Toolkit
1.2.0
|
#include <atom.hpp>
Classes | |
class | iterator |
Public Types | |
typedef AtomEvent * | pointer |
typedef AtomEvent & | reference |
typedef const AtomEvent * | const_pointer |
typedef const AtomEvent & | const_reference |
Public Member Functions | |
AtomSequence (const void *seq) | |
AtomSequence (LV2_Atom_Sequence *seq) | |
AtomSequence (ForgeRef ref) | |
uint32_t | pad () const |
uint32_t | size () const |
uint32_t | unit () const |
LV2_Atom_Sequence * | cobj () |
operator bool () const | |
operator LV2_Atom_Sequence * () const | |
operator uint8_t * () const | |
void | append (const AtomEvent &ev) |
void | insert (const AtomEvent &ev) |
iterator | begin () const |
iterator | end () const |
A basic wrapper around LV2_Atom_Sequence
|
inline |
Create an AtomSequence from raw data
seq | Sequence Pointer (castable to LV2_Atom_Sequence) |
|
inline |
Create an AtomSequnce from an LV2_Atom_Sequence
seq | The sequence to wrap |
|
inline |
Create an AtomSequence from a ForgeRef
|
inline |
Append an AtomEvent to the end of the sequence
ev | The event to add |
|
inline |
Returns an iterator starting at the first event
|
inline |
Return the sequence's c-type
|
inline |
Returns the end iterator of this sequence
|
inline |
Insert an AtomEvent into the middle of the sequence
ev | The event to insert |
|
inline |
|
inline |
|
inline |
|
inline |
Return the sequence body's pad
|
inline |
Return the sequence's body size
|
inline |
Return the sequence's unit