enum cfg_val_type

Overview

Constants for primary types More…

#include <conf_types.h>

enum cfg_val_type {
    CVT_NONE        = 0,
    CVT_BOOL,
    CVT_INT8,
    CVT_UINT8,
    CVT_INT16,
    CVT_UINT16,
    CVT_INT32,
    CVT_UINT32,
    CVT_INT64,
    CVT_UINT64,
    CVT_STRING,
    CVT_ADDRESS,
    CVT_DOUBLE,
    CVT_UNSPECIFIED,
};

Detailed Documentation

Constants for primary types

Enum Values

CVT_NONE

The object instance has no value. It is a default type for Configurator. It is set if the type is missed in a configuration yaml file. Therefore it should be set as a zero.

CVT_BOOL

Value of the type ‘bool’

CVT_INT8

Value of the type ‘int8_t’

CVT_UINT8

Value of the type ‘uint8_t’

CVT_INT16

Value of the type ‘int16_t’

CVT_UINT16

Value of the type ‘uint16_t’

CVT_INT32

Value of the type ‘int32_t’

CVT_UINT32

Value of the type ‘uint32_t’

CVT_INT64

Value of the type ‘int64_t’

CVT_UINT64

Value of the type ‘uint64_t’

CVT_STRING

Value of the type ‘char *’

CVT_ADDRESS

Value of the type ‘sockaddr *’

CVT_DOUBLE

Value of the type ‘double’

CVT_UNSPECIFIED

The type is unknown. It’d be the last enum member