Defines

Constants defining copy modes
[COLLECTION interface]

Defines

#define COL_COPY_NORMAL   0
 Perform a deep copy.
#define COL_COPY_FLAT   1
 Perform a deep flat copy.
#define COL_COPY_FLATDOT   2
 Perform a deep flat copy constructing names.
#define COL_COPY_KEEPREF   3
 Perform a deep copy but leave references as references.
#define COL_COPY_TOP   4
 Copy only top level collection.

Detailed Description

The following constants define modes accepted by copy collection function(s).


Define Documentation

#define COL_COPY_FLAT   1

Perform a deep flat copy.

Collection is flattened. No name construction performed.

#define COL_COPY_FLATDOT   2

Perform a deep flat copy constructing names.

Collection is flattened. Names are concatenated with dot.

#define COL_COPY_NORMAL   0

Perform a deep copy.

Referenced collections of the donor are copied as sub collections.

 All Data Structures