Loading...
Searching...
No Matches
Value format hints.
Trees » Data Tree
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
#define | LYD_VALHINT_STRING_DATATYPES 0x0080

## 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 937 of file tree_data.h.

## LYD_VALHINT_DECNUM

#define LYD_VALHINT_DECNUM 0x0002

value is allowed to be a decimal number

Definition at line 933 of file tree_data.h.

## LYD_VALHINT_EMPTY

#define LYD_VALHINT_EMPTY 0x0040

value is allowed to be empty

Definition at line 938 of file tree_data.h.

## LYD_VALHINT_HEXNUM

#define LYD_VALHINT_HEXNUM 0x0008

value is allowed to be a hexadecimal number

Definition at line 935 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 936 of file tree_data.h.

## LYD_VALHINT_OCTNUM

#define LYD_VALHINT_OCTNUM 0x0004

value is allowed to be an octal number

Definition at line 934 of file tree_data.h.

## LYD_VALHINT_STRING

#define LYD_VALHINT_STRING 0x0001

value is allowed to be a string

Definition at line 932 of file tree_data.h.

## LYD_VALHINT_STRING_DATATYPES

#define LYD_VALHINT_STRING_DATATYPES 0x0080

boolean and numeric fields are allowed to be quoted

Definition at line 939 of file tree_data.h.