libcollection 0.6.2
|
Macros | |
#define | COL_ADD_MODE_REFERENCE 0 |
Add a collection into a collection as a reference. | |
#define | COL_ADD_MODE_EMBED 1 |
Embed the collection into another collection. | |
#define | COL_ADD_MODE_CLONE 2 |
Perform a deep copy. | |
#define | COL_ADD_MODE_FLAT 3 |
Create a flattened copy. | |
#define | COL_ADD_MODE_FLATDOT 4 |
Create a flattened copy with constructed names. | |
The following constants define how one collection can be added to another.
#define COL_ADD_MODE_EMBED 1 |
Embed the collection into another collection.
The collection will become part of another collection. After this operation the handle to the collection being added should not be used or freed. Embedding a collection can be done only once. If the collection is referenced by another collection, the operation will fail.
#define COL_ADD_MODE_CLONE 2 |
Perform a deep copy.
Perform a deep copy of a collection with all its sub collections
#define COL_ADD_MODE_FLAT 3 |
Create a flattened copy.
Create a deep copy of a collection with its sub collections flattening and NOT resolving duplicates.
#define COL_ADD_MODE_FLATDOT 4 |
Create a flattened copy with constructed names.
Creates a deep copy of a collection with its sub collections flattening and NOT resolving duplicates. Names are constructed in dotted notation. For example the sub collection named "sub" containing "foo" and "bar" will be flattened as: "sub.foo", "sub.bar".