LV2 Toolkit
1.2.0
|
#include <atom.hpp>
Public Member Functions | |
Atom () | |
Atom (const void *atom) | |
Atom (ForgeRef ref) | |
Atom (AtomEvent *ev) | |
bool | is_null () |
void * | body () const |
bool | as_bool () const |
float | as_float () const |
const AtomObject | as_object () const |
const char * | as_string () const |
int32_t | as_int () const |
int64_t | as_long () const |
uint32_t | as_urid () const |
uint32_t | type () const |
uint32_t | total_size () const |
uint32_t | size () const |
const LV2_Atom * | cobj () const |
operator const LV2_Atom * () | |
Atom & | operator= (const Atom &other) |
bool | operator== (Atom &other) |
Static Public Member Functions | |
static uint32_t | pad_size (uint32_t size) |
Friends | |
class | AtomObject |
Basic wrapper for an LV2_Atom These are intended to be used on the stack
|
inline |
Get the body as a boolean
|
inline |
Get the body as a float
|
inline |
Get the body as a float
|
inline |
Get the body as a long
|
inline |
Returns the atom casted to LV2_Atom_Object
|
inline |
Get the body as a string
|
inline |
Get the body as a URID
|
inline |
Get the Atom's body
|
inline |
Get the underlying LV2_Atom pointer
|
inline |
Determine if the Atom is null
|
inlinestatic |
Pad a size to 64 bits
|
inline |
Get the Atom's body size
|
inline |
Get the Atom's total size
|
inline |
Get this Atom's type