AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Interface to map properties config URI into component name and table name. More...
#include <MiscStorageAdapter.h>
Public Member Functions | |
virtual | ~MiscStorageUriMapperInterface () noexcept=default |
Default destructor. More... | |
virtual bool | extractComponentAndTableName (const std::string &configUri, std::string &componentName, std::string &tableName) noexcept=0 |
Extracts component name and table name from configuration URI. More... | |
Interface to map properties config URI into component name and table name.
This interface connects Properties API and MiscStorageInterface
.
PropertiesFactoryInterface
uses configuration URI to open properties container. When working with MiscStorageInterface
this URI must be mapped into componentName and tableName parameters.
|
virtualdefaultnoexcept |
Default destructor.
|
pure virtualnoexcept |
Extracts component name and table name from configuration URI.
This method maps configuration URI from PropertiesFactoryInterface
into component name and table name for MiscStorageInterface
.
This method must be idempotent, and always return the same result for the same input.
[in] | configUri | Configuration URI. |
[out] | componentName | Component. |
[out] | tableName | Table name. |
Implemented in alexaClientSDK::properties::SimpleMiscStorageUriMapper.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0