libcollection  0.6.1
Macros
Type definition constants

Macros

#define COL_TYPE_STRING   0x00000001
 Indicates that property is of type "string". More...
 
#define COL_TYPE_BINARY   0x00000002
 Indicates that property is of type "binary".
 
#define COL_TYPE_INTEGER   0x00000004
 Indicates that property is of type "integer".
 
#define COL_TYPE_UNSIGNED   0x00000008
 Indicates that property is of type "unsigned".
 
#define COL_TYPE_LONG   0x00000010
 Indicates that property is of type "long".
 
#define COL_TYPE_ULONG   0x00000020
 Indicates that property is of type "unsigned long".
 
#define COL_TYPE_DOUBLE   0x00000040
 Indicates that property is of type "double".
 
#define COL_TYPE_BOOL   0x00000080
 Indicates that property is of Boolean type.
 
#define COL_TYPE_COLLECTION   0x00000100
 Indicates that property is of type "collection". More...
 
#define COL_TYPE_COLLECTIONREF   0x00000200
 Indicates that property is of type "sub collection". More...
 
#define COL_TYPE_END   0x10000000
 Special type that denotes the end of the collection. More...
 
#define COL_TYPE_ANY   0x0FFFFFFF
 Special type that denotes any property in the collection. More...
 

Detailed Description

Macro Definition Documentation

◆ COL_TYPE_STRING

#define COL_TYPE_STRING   0x00000001

Indicates that property is of type "string".

For elements of type string the length includes the trailing 0.

◆ COL_TYPE_COLLECTION

#define COL_TYPE_COLLECTION   0x00000100

Indicates that property is of type "collection".

The item of this type denotes that starting element of a collection.

◆ COL_TYPE_COLLECTIONREF

#define COL_TYPE_COLLECTIONREF   0x00000200

Indicates that property is of type "sub collection".

An item of this type is a pointer to an existing external collection.

◆ COL_TYPE_END

#define COL_TYPE_END   0x10000000

Special type that denotes the end of the collection.

Useful when traversing collections.

◆ COL_TYPE_ANY

#define COL_TYPE_ANY   0x0FFFFFFF

Special type that denotes any property in the collection.

Useful when traversing collection and searching for a property of unknown type but known name.