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

Classes

struct  StorageOptions

Functions

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

Function Documentation

◆ getStorageOptions()

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

Definition at line 38 of file SubProtocolFactory.cpp.

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

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

Referenced by mqtt::mqttstore::websocket::SubProtocolFactory::create().

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