libcollection 0.6.2
Loading...
Searching...
No Matches
Macros
Constants defining copy modes

Macros

#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).

Macro Definition Documentation

◆ COL_COPY_NORMAL

#define COL_COPY_NORMAL   0

Perform a deep copy.

Referenced collections of the donor are copied as sub collections.

◆ COL_COPY_FLAT

#define COL_COPY_FLAT   1

Perform a deep flat copy.

Collection is flattened. No name construction performed.

◆ COL_COPY_FLATDOT

#define COL_COPY_FLATDOT   2

Perform a deep flat copy constructing names.

Collection is flattened. Names are concatenated with dot.