16 #ifndef ACSDK_PROPERTIES_MISCSTORAGEADAPTER_H_ 17 #define ACSDK_PROPERTIES_MISCSTORAGEADAPTER_H_ 26 namespace properties {
90 static std::shared_ptr<SimpleMiscStorageUriMapper> create(
char sep =
'/') noexcept;
102 const char m_separator;
123 const std::shared_ptr<MiscStorageInterface>& innerStorage,
129 #endif // ACSDK_PROPERTIES_MISCSTORAGEADAPTER_H_ Interface to map properties config URI into component name and table name.
Definition: MiscStorageAdapter.h:44
::std::string string
Definition: gtest-port.h:1097
static std::shared_ptr< SimpleMiscStorageUriMapper > create(char sep='/') noexcept
Creates mapper instance.
std::shared_ptr< PropertiesFactoryInterface > createPropertiesFactory(const std::shared_ptr< MiscStorageInterface > &innerStorage, const std::shared_ptr< MiscStorageUriMapperInterface > &nameMapper=SimpleMiscStorageUriMapper::create()) noexcept
Creates PropertiesFactoryInterface from MiscStorageInterface.
static const std::string tableName
Definition: SmartScreenCaptionStateManagerTest.cpp:30
Generic URI mapper for MiscStorageInterface adapter.
Definition: MiscStorageAdapter.h:81
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static const std::string componentName
Definition: SmartScreenCaptionStateManagerTest.cpp:29
virtual ~MiscStorageUriMapperInterface() noexcept=default
Default destructor.
Factory interface to component properties.
Definition: PropertiesFactoryInterface.h:41
virtual bool extractComponentAndTableName(const std::string &configUri, std::string &componentName, std::string &tableName) noexcept=0
Extracts component name and table name from configuration URI.
Definition: MiscStorageInterface.h:33