AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
SQLiteDeviceSettingStorage.cpp File Reference
#include <Settings/Storage/SQLiteDeviceSettingStorage.h>
#include <AVSCommon/Utils/Logger/Logger.h>
Include dependency graph for SQLiteDeviceSettingStorage.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::settings
 
 alexaClientSDK::settings::storage
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::settings::storage::TAG ("SQLiteDeviceSettingStorage")
 String to identify log entries originating from this file. More...
 

Variables

static const std::string alexaClientSDK::settings::storage::DEVICE_SETTING_DATABASE_CONFIGURATION_ROOT_KEY = "deviceSettings"
 The key in our config file to find the root of settings for this database. More...
 
static const std::string alexaClientSDK::settings::storage::DEVICE_SETTING_DATABASE_DB_FILE_PATH_KEY = "databaseFilePath"
 The key in our config file to find the database file path. More...
 
static const std::string alexaClientSDK::settings::storage::DEVICE_SETTING_DATABASE_DB_COMPONENT_TABLE_NAMES_SEPARATOR = "_"
 Component and table name separator in DB table name. More...
 
static const std::string alexaClientSDK::settings::storage::DEVICE_SETTINGS_TABLE_NAME = "deviceSettings"
 The name of the settings table. More...
 
static const std::string alexaClientSDK::settings::storage::DEVICE_SETTINGS_KEY_COLUMN_NAME = "key"
 The name of the column to store the settings key. More...
 
static const std::string alexaClientSDK::settings::storage::DEVICE_SETTINGS_VALUE_COLUMN_NAME = "value"
 The name of the column to store the settings value. More...
 
static const std::string alexaClientSDK::settings::storage::DEVICE_SETTINGS_STATUS_COLUMN_NAME = "status"
 The name of the column to store the settings status. More...
 
static const int alexaClientSDK::settings::storage::KEY_INDEX = 0
 The index of key in the tuple vector of data. More...
 
static const int alexaClientSDK::settings::storage::VALUE_INDEX = 1
 The index of value in the tuple vector of data. More...
 
static const int alexaClientSDK::settings::storage::STATUS_INDEX = 2
 The index of status in the tuple vector of data. More...
 
static const std::string alexaClientSDK::settings::storage::CREATE_DEVICE_SETTINGS_TABLE_SQL_STRING
 The SQL string to create the alert configurations table. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0