Next: , Up: The Index Library   [Index]


13.4.1 Index Insert Interface

The index library objects make available many insert functions. Some of the insert functions make copies of the inserted data, some insert references (for those data types allowing multiple references).

See Referable Objects.

The insertion logic is one of assertive insert (insert if does not exist, fail otherwise), assertive replace (replace if does exist, fail otherwise), replace if exists and insert otherwise, and tentative insert (insert if does not exist, do nothing otherwise). Function failures terminate program execution.

The functions may be data type specific, or generic.

The functions are described in the following sections.