Ordered collections of typed values which are fast for random access by index (i.e.
a fancy array).
Get the number of plugins in the collection.
Get a plugin class from the collection by URI.
Return value is shared (stored in classes) and must not be freed or modified by the caller in any way.
Time = O(log2(n))
Returns:
NULL if plugin with url not found in classes.
Get a plugin from the collection by index.
index has no significance other than as an index into classes. Any index not less than slv2_plugin_classes_get_length(classes) will return NULL, so all plugin_classes in a classes can be enumerated by repeated calls to this function starting with index = 0.
Time = O(1)
Returns:
NULL if index out of range.
Free a plugin plugins.
Freeing a plugin collection does not destroy the plugins it contains (plugins are owned by the world). plugins is invalid after this call.
Get the number of plugins in the collection.
Get a plugin from the collection by URI.
Return value is shared (stored in plugins) and must not be freed or modified by the caller in any way.
Time = O(log2(n))
Returns:
NULL if plugin with url not found in plugins.
Get a plugin from the plugins by index.
index has no significance other than as an index into this plugins. Any index not less than slv2_plugins_get_length(plugins) will return NULL, so all plugins in a plugins can be enumerated by repeated calls to this function starting with index = 0.
Time = O(1)
Returns:
NULL if index out of range.
Free a plugin list.
Freeing a plugin list does not destroy the plugins it contains (plugins are owned by the world). list is invalid after this call.
Get the number of plugins in the list.
Get a plugin from the list by URI.
Return value is shared (stored in list) and must not be freed or modified by the caller in any way.
Time = O(log2(n))
Returns:
NULL if plugin with url not found in list.
Get a plugin from the list by index.
index has no significance other than as an index into this list. Any index not less than slv2_list_get_length(list) will return NULL, so all plugins in a list can be enumerated by repeated calls to this function starting with index = 0.
Time = O(1)
Returns:
NULL if index out of range.
Allocate a new, empty SLV2Values.
Free an SLV2Values.
Get the number of elements in a value collection.
Get the value at a given index in the collection.
Returns:
the element at index, or NULL if index is out of range.
Time = O(1)
Return whether values contains value.
Time = O(n)
Generated automatically by Doxygen for SLV2 from the source code.