libcollection
0.6.1
|
▼COLLECTION interface | |
Type definition constants | |
Constants defining add modes | The following constants define how one collection can be added to another |
▼Constants defining traverse modes | The following constants define how a collection can be traversed or iterated |
Additional iterator flags | |
Constants defining copy modes | The following constants define modes accepted by copy collection function(s) |
Constants defining sort order | All flags can be combined in OR operation. Flags COL_SORT_ASC and COL_SORT_DESC are mutually exclusive. If both specified the collection will be sorted in the descending order |
▼Add property functions | Functions in this section add properties to a collection |
Add properties with reference | Family of functions that add properties to a collection and return reference to an item that holds a newly created property |
Insert property functions | Functions in this section insert properties into a collection at a specified position |
Update property functions | Functions in this section update properties in a collection |
▼Item management | Group of functions that allows retrieving individual elements of the collection_item hiding the internal implementation |
Comparison flags | This section describes the flags used in item comparison |
Comparison results flags | This section describes the flags set as a result of a comparison operation |
Disposition constants | Possible dispositions for insert, extract and delete function(s). Not all of these dispositions are implemented day one. If disposition is not implemented the function will return error ENOSYS |
Flags used in insert item functions | Flags that can be used with insert functions |
Item modification wrappers | The functions in this section are convenience wrappers around col_modify_item. They return same error codes |
Iterator interface | The functions in this section allow iterating through a collection in a loop where the caller implements the loop. It is different from the search and traverse functions described in other sections because those functions implement the loop themselves and call provided callback in a specific situation |
QUEUE interface | Queue interface is a wrapper on top of the COLLECTION interface interface. It implements a queue using a collection object |
STACK interface | Stack interface is a wrapper on top of the COLLECTION interface interface. It implements a stack using a collection object |
TOOLS interface | Additional functions retaed to tracing, printing, debugging and serializaing collections |