|
| 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.
|
| |
| template<typename T > |
| kanzi::optional< T > | kanzi::readProperty (const ptree &tree, const string &propertyName) |
| | Reads the value of a property from the property tree.
|
| |
| optional< string > | kanzi::readProperty (const SystemProperties &systemProperties, const string &argumentString) |
| | Reads the value of a property from the system properties.
|
| |
| template<typename Translator > |
| optional< string > | kanzi::readProperty (const SystemProperties &systemProperties, const string &argumentString, Translator translator) |
| | Reads the value of a property from the system properties and translates the value using a translator.
|
| |
| template<typename T , typename Translator > |
| kanzi::optional< T > | kanzi::readProperty (ptree &tree, const string &propertyName, Translator translator) |
| | Reads the value of a property from a property tree and translates the value using a translator.
|
| |
| void | kanzi::storeColorSpaceProperty (const kanzi::optional< string > &propertyValue, kanzi::SurfaceColorSpace &out_property) |
| | Saves a ColorSpace value from the application.cfg to the application properties.
|
| |
| void | kanzi::storePerformanceInfoPropertyString (const kanzi::optional< string > &propertyValue, ApplicationProperties::PerformanceInfoLevel &out_property) |
| | Saves a Performance info level property value from an argument to the application properties.
|
| |
| template<typename T > |
| void | kanzi::storeProperty (const kanzi::optional< string > &propertyValue, kanzi::optional< T > &out_property) |
| | Saves a property value from command line arguments to the application properties.
|
| |
| template<typename T > |
| enable_if_t< is_integral_v< T >, void > | kanzi::storeProperty (const kanzi::optional< string > &propertyValue, T &out_property) |
| |
| template<typename T > |
| void | kanzi::storeProperty (const kanzi::optional< T > &propertyValue, const string &key, ApplicationProperties &applicationProperties) |
| | Saves a property value in the application.cfg to the system configuration.
|
| |
| template<typename T > |
| void | kanzi::storeProperty (const kanzi::optional< T > &propertyValue, kanzi::optional< T > &out_property) |
| | Saves a property value from the application.cfg to the application properties.
|
| |
| template<typename T > |
| void | kanzi::storeProperty (const kanzi::optional< T > &propertyValue, T &out_property) |
| | Saves a property value from the application.cfg to the application properties.
|
| |
| void | kanzi::storeProperty (const kanzi::optional< unsigned int > &propertyValue, ApplicationProperties::PerformanceInfoLevel &out_property) |
| | Saves a Performance info level property value from the application.cfg to the application properties.
|
| |
| void | kanzi::storeSurfaceProperty (const kanzi::optional< string > &propertyValue, kzInt &out_property) |
| | Saves a Surface property value from command line arguments to application properties.
|
| |
| void | kanzi::stringToSurfacePropertyInt (const string &valueInString, kzInt &out_value) |
| | Converts string to number for surface properties.
|
| |
| SurfaceColorSpace | kanzi::surfaceColorSpaceNameToEnum (string_view colorSpaceName) |
| | Converts a surface color space from string to enum.
|
| |
| string | kanzi::to_string (gfx::GpuSelectionType type) |
| | Converts preferred GPU selection type enum to string.
|
| |