MQTTSuite
Loading...
Searching...
No Matches
anonymous_namespace{SocketContextFactory.cpp} Namespace Reference

Classes

struct  StorageOptions

Functions

StorageOptions getStorageOptions (const mqtt::mqttstore::lib::ConfigStorage *configStorage)

Function Documentation

◆ getStorageOptions()

StorageOptions anonymous_namespace{SocketContextFactory.cpp}::getStorageOptions ( const mqtt::mqttstore::lib::ConfigStorage * configStorage)

Definition at line 39 of file SocketContextFactory.cpp.

39 {
40 if (configStorage == nullptr) {
41 return {};
42 }
43
44 return {.rawTable = configStorage->getRawTable(),
45 .autoCreateRawTable = configStorage->getAutoCreateRawTable(),
46 .projectionFile = configStorage->getProjectionFile()};
47 }

References anonymous_namespace{SocketContextFactory.cpp}::StorageOptions::autoCreateRawTable, mqtt::mqttstore::lib::ConfigStorage::getAutoCreateRawTable(), mqtt::mqttstore::lib::ConfigStorage::getProjectionFile(), mqtt::mqttstore::lib::ConfigStorage::getRawTable(), anonymous_namespace{SocketContextFactory.cpp}::StorageOptions::projectionFile, and anonymous_namespace{SocketContextFactory.cpp}::StorageOptions::rawTable.

Referenced by mqtt::mqttstore::SocketContextFactory::create().

Here is the call graph for this function:
Here is the caller graph for this function: