Alexa Auto SDK  4.3
Public Member Functions | Static Public Member Functions | List of all members
aace::core::config::ConfigurationFile Class Reference

Public Member Functions

std::shared_ptr< std::istream > getStream () override

Static Public Member Functions

static std::shared_ptr< ConfigurationFilecreate (const std::string &configFilePath)

Detailed Description

Configuration class used to provide configuration data from a file. The contents of the file should be JSON data with values corresponding to the content provided by the other configuration objects.

Member Function Documentation

◆ create()

std::shared_ptr< ConfigurationFile > aace::core::config::ConfigurationFile::create ( const std::string &  configFilePath)

Creates a new instance of ConfigurationFile by providing the path to a configuration file containing JSON data.

[in]configFilePathThe path to the configuration file

◆ getStream()

std::shared_ptr< std::istream > aace::core::config::ConfigurationFile::getStream ( )
A pointer to a std::istream object containing the JSON configuration data

Implements aace::core::config::EngineConfiguration.

Alexa Auto SDK 4.3 - Copyright 2017-2023, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0