Disposition constants
[Item management]


Defines

#define COL_DSP_END   0
 Relate to the end of the collection.
#define COL_DSP_FRONT   1
 Relate to the beginning of the collection.
#define COL_DSP_BEFORE   2
 Before the given property.
#define COL_DSP_AFTER   3
 After the given property.
#define COL_DSP_INDEX   4
 Use index.
#define COL_DSP_FIRSTDUP   5
 Use first among duplicates.
#define COL_DSP_LASTDUP   6
 Use last among duplicates.
#define COL_DSP_NDUP   7
 Use N-th among duplicates.

Detailed Description

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.

Other dispositions might be possible in future.


Define Documentation

#define COL_DSP_AFTER   3

After the given property.

For "insert":

For "extract" or "delete":

#define COL_DSP_BEFORE   2

Before the given property.

For "insert":

For "extract" or "delete":

#define COL_DSP_END   0

Relate to the end of the collection.

For "insert":

For "extract" or "delete":

#define COL_DSP_FIRSTDUP   5

Use first among duplicates.

This mode applies only to the list of duplicate properties that are going one after another.

For "insert":

For "extract" or "delete":

#define COL_DSP_FRONT   1

Relate to the beginning of the collection.

For "insert":

For "extract" or "delete":

#define COL_DSP_INDEX   4

Use index.

For "insert":

For "extract" or "delete":

#define COL_DSP_LASTDUP   6

Use last among duplicates.

This mode applies only to the list of duplicate properties that are going one after another.

For "insert":

For "extract" or "delete":

#define COL_DSP_NDUP   7

Use N-th among duplicates.

This mode applies only to the list of duplicate properties that are going one after another.

For "insert":

For "extract" or "delete":


Generated on Thu Dec 9 12:11:51 2010 for libcollection by  doxygen 1.4.7