16 #ifndef ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_GVARIANTMAPREADER_H_ 17 #define ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_GVARIANTMAPREADER_H_ 27 namespace bluetoothImplementations {
49 explicit GVariantMapReader(GVariant* originalVariant,
bool useObjectPathAsKey =
false);
75 bool getCString(
const char* name,
char** value)
const;
85 bool getInt32(
const char* name, gint32* value)
const;
95 bool getBoolean(
const char* name, gboolean* value)
const;
114 bool forEach(std::function<
bool(
char*
key, GVariant* value)> iteratorFunction)
const;
121 GVariant*
get()
const;
128 bool m_useObjectPathKeys;
135 #endif // ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_GVARIANTMAPREADER_H_
GVariantMapReader(GVariant *originalVariant, bool useObjectPathAsKey=false)
Definition: ManagedGVariant.h:33
Definition: GVariantMapReader.h:36
bool getBoolean(const char *name, gboolean *value) const
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool getCString(const char *name, char **value) const
bool getInt32(const char *name, gint32 *value) const
ManagedGVariant getVariant(const char *name) const
bool forEach(std::function< bool(char *key, GVariant *value)> iteratorFunction) const
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58