Kanzi 3.9.10
application_properties_loading.hpp File Reference

Namespaces

namespace  kanzi
 

Macros

#define KZ_FEATURE_LOAD_SETTINGS
 Enables application properties loading.
 

Functions

void kanzi::load (ApplicationProperties &applicationProperties, const SystemProperties &systemProperties)
 Loads application properties from system properties.
 
void kanzi::load (ApplicationProperties &applicationProperties, string_view configurationFilePath)
 Loads application properties from configuration INI file.
 
void kanzi::loadSettings (ApplicationProperties &applicationProperties, const string_view configurationFilePath, const SystemProperties &systemProperties)
 Loads all properties, prioritizing command line parameters over configuration file parameters.
 

Macro Definition Documentation

◆ KZ_FEATURE_LOAD_SETTINGS

#define KZ_FEATURE_LOAD_SETTINGS

Enables application properties loading.

Note
Command line arguments won't be parsed without this feature.