16 #ifndef ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_STORAGE_SQLITECAPABILITIESDELEGATESTORAGE_H_ 17 #define ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_STORAGE_SQLITECAPABILITIESDELEGATESTORAGE_H_ 22 #include <unordered_map> 29 namespace capabilitiesDelegate {
44 const std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>& configurationRoot);
53 static std::unique_ptr<SQLiteCapabilitiesDelegateStorage>
create(
60 void close()
override;
62 bool store(
const std::unordered_map<std::string, std::string>& endpointIdToConfigMap)
override;
63 bool load(std::unordered_map<std::string, std::string>* endpointConfigMap)
override;
66 bool erase(
const std::unordered_map<std::string, std::string>& endpointIdToConfigMap)
override;
106 bool createEndpointConfigTableLocked();
125 #endif // ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_STORAGE_SQLITECAPABILITIESDELEGATESTORAGE_H_ Definition: ConfigurationNode.h:71
Definition: SQLiteCapabilitiesDelegateStorage.h:35
::std::string string
Definition: gtest-port.h:1097
Definition: CapabilitiesDelegateStorageInterface.h:32
bool load(std::unordered_map< std::string, std::string > *endpointConfigMap) override
static std::unique_ptr< SQLiteCapabilitiesDelegateStorage > create(const avsCommon::utils::configuration::ConfigurationNode &configurationRoot)
bool createDatabase() override
bool clearDatabase() override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: SQLiteDatabase.h:36
bool erase(const std::string &endpointId) override
static std::unique_ptr< CapabilitiesDelegateStorageInterface > createCapabilitiesDelegateStorageInterface(const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &configurationRoot)
bool store(const std::string &endpointId, const std::string &endpointConfig) override
~SQLiteCapabilitiesDelegateStorage()