libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
iterator.h
Go to the documentation of this file.
1 #pragma once
2 #include "qmlbind_global.h"
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
79 QMLBIND_API qmlbind_iterator *qmlbind_iterator_new(const qmlbind_value *object);
80 
84 QMLBIND_API void qmlbind_iterator_release(qmlbind_iterator *self);
85 
94 
103 
112 QMLBIND_API void qmlbind_iterator_next(qmlbind_iterator *self);
113 
120 QMLBIND_API int qmlbind_iterator_has_next(const qmlbind_iterator *self);
121 
123 #ifdef __cplusplus
124 }
125 #endif
an opaque struct mainly used as self argument in the methods defined in qmlbind_iterator.
Definition: qmlbind_global.h:65
an opaque struct mainly used as self argument in the methods defined in qmlbind_value.
Definition: qmlbind_global.h:64
QMLBIND_API void qmlbind_iterator_release(qmlbind_iterator *self)
Destroys this qmlbind_iterator.
QMLBIND_API int qmlbind_iterator_has_next(const qmlbind_iterator *self)
Returns 1 if there is at least one item ahead of the iterator (i.e. the iterator is not at the back o...
QMLBIND_API qmlbind_value * qmlbind_iterator_get_value(const qmlbind_iterator *self)
Returns the value of the last property that was jumped over using qmlbind_iterator_next().
Contains all struct definitions of libqmlbind.
QMLBIND_API qmlbind_iterator * qmlbind_iterator_new(const qmlbind_value *object)
Constructs an iterator for traversing object.
QMLBIND_API void qmlbind_iterator_next(qmlbind_iterator *self)
Advances the iterator by one position.
an opaque struct mainly used as self argument in the methods defined in qmlbind_string.
Definition: qmlbind_global.h:66
QMLBIND_API qmlbind_string * qmlbind_iterator_get_key(const qmlbind_iterator *self)
Returns the name of the last property that was jumped over using qmlbind_iterator_next().