libyang 2.1.148
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Loading...
Searching...
No Matches
Value format hints.
Collaboration diagram for Value format hints.:

Macros

#define LYD_VALHINT_BOOLEAN   0x0020
 
#define LYD_VALHINT_DECNUM   0x0002
 
#define LYD_VALHINT_EMPTY   0x0040
 
#define LYD_VALHINT_HEXNUM   0x0008
 
#define LYD_VALHINT_NUM64   0x0010
 
#define LYD_VALHINT_OCTNUM   0x0004
 
#define LYD_VALHINT_STRING   0x0001
 

Detailed Description

Hints for the type of the data value.

Any information about value types encoded in the format is hinted by these values.

Macro Definition Documentation

◆ LYD_VALHINT_BOOLEAN

#define LYD_VALHINT_BOOLEAN   0x0020

value is allowed to be a boolean

Definition at line 923 of file tree_data.h.

◆ LYD_VALHINT_DECNUM

#define LYD_VALHINT_DECNUM   0x0002

value is allowed to be a decimal number

Definition at line 919 of file tree_data.h.

◆ LYD_VALHINT_EMPTY

#define LYD_VALHINT_EMPTY   0x0040

value is allowed to be empty

Definition at line 924 of file tree_data.h.

◆ LYD_VALHINT_HEXNUM

#define LYD_VALHINT_HEXNUM   0x0008

value is allowed to be a hexadecimal number

Definition at line 921 of file tree_data.h.

◆ LYD_VALHINT_NUM64

#define LYD_VALHINT_NUM64   0x0010

value is allowed to be an int64 or uint64

Definition at line 922 of file tree_data.h.

◆ LYD_VALHINT_OCTNUM

#define LYD_VALHINT_OCTNUM   0x0004

value is allowed to be an octal number

Definition at line 920 of file tree_data.h.

◆ LYD_VALHINT_STRING

#define LYD_VALHINT_STRING   0x0001

value is allowed to be a string

Definition at line 918 of file tree_data.h.