libamxc  1.10.3
C Generic Data Containers
variant flags
Collaboration diagram for variant flags:

Macros

#define AMXC_VAR_FLAG_DEFAULT   0x00
 The default flag, do not copy, use variant as is. More...
 
#define AMXC_VAR_FLAG_COPY   0x01
 Copy the variant, creates a new variant, leaves the source variant untouched. More...
 
#define AMXC_VAR_FLAG_UPDATE   0x02
 Replaces the value of the variant, leaves the source variant untouched. More...
 
#define AMXC_VAR_FLAG_NO_INDEX   0x04
 Only search by key and not by index. This flag can be used with amxc_var_get_path function. More...
 
#define AMXC_VAR_FLAG_AUTO_ADD   0x08
 Add none existing variants to composite variants. This flag can be used with amxc_var_set_path and amxc_var_set_pathf functions. More...
 

Detailed Description

A list of flags which can be used in some of the variant functions

Macro Definition Documentation

◆ AMXC_VAR_FLAG_AUTO_ADD

#define AMXC_VAR_FLAG_AUTO_ADD   0x08

Add none existing variants to composite variants. This flag can be used with amxc_var_set_path and amxc_var_set_pathf functions.

Definition at line 418 of file amxc_variant.h.

◆ AMXC_VAR_FLAG_COPY

#define AMXC_VAR_FLAG_COPY   0x01

Copy the variant, creates a new variant, leaves the source variant untouched.

Definition at line 398 of file amxc_variant.h.

◆ AMXC_VAR_FLAG_DEFAULT

#define AMXC_VAR_FLAG_DEFAULT   0x00

The default flag, do not copy, use variant as is.

Definition at line 392 of file amxc_variant.h.

◆ AMXC_VAR_FLAG_NO_INDEX

#define AMXC_VAR_FLAG_NO_INDEX   0x04

Only search by key and not by index. This flag can be used with amxc_var_get_path function.

Definition at line 411 of file amxc_variant.h.

◆ AMXC_VAR_FLAG_UPDATE

#define AMXC_VAR_FLAG_UPDATE   0x02

Replaces the value of the variant, leaves the source variant untouched.

Definition at line 404 of file amxc_variant.h.