LV2 Toolkit
1.2.0
|
#include <atom.hpp>
Classes | |
class | iterator |
Public Member Functions | |
AtomObject (const void *atom) | |
AtomObject (ForgeRef ref) | |
AtomObject (const AtomObject &other) | |
uint32_t | otype () const |
uint32_t | id () const |
uint32_t | total_size () const |
void | query (ObjectQuery &query) |
LV2_Atom_Object * | cobj () const |
operator LV2_Atom_Object * () | |
AtomObject & | operator= (const AtomObject &other) |
iterator | begin () const |
iterator | end () const |
Basic wrapper for an LV2_Atom_Object This class is intended to be created on the stack
|
inline |
Create an AtomObject from raw data
|
inline |
Create an AtomObject from a ForgeRef
|
inline |
Get the underlying LV2_Atom_Object pointer
|
inline |
Return the object's id
|
inline |
Return the object type
|
inline |
Get an object's values for various keys.
The value pointer of each item in query
will be set to the location of the corresponding value in object
. Every value pointer in query
MUST be initialised to NULL. This function reads object
in a single linear sweep. By allocating query
on the stack, objects can be "queried" quickly without allocating any memory. This method is realtime safe.
This function can only do "flat" queries, it is not smart enough to match variables in nested objects.
|
inline |
Return the object's total size