tranger2_get_iterator_by_id()
#
Retrieve an iterator by its identifier. If the iterator exists, it is returned; otherwise, NULL is returned.
Prototype
json_t *tranger2_get_iterator_by_id(
json_t *tranger,
const char *topic_name,
const char *iterator_id,
const char *creator
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Pointer to the TimeRanger database instance. |
|
|
Name of the topic associated with the iterator. |
|
|
Unique identifier of the iterator to retrieve. |
|
|
Identifier of the entity that created the iterator. |
Return Value
Returns a pointer to the iterator JSON object if found; otherwise, returns NULL.
Notes
This function does not produce any error messages if the iterator is not found.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples