nx_server_plugin_sdk 1.0 Server Plugin SDK

i_string_map.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include <nx/sdk/interface.h>
6
7 namespace nx::sdk {
8
9 class IStringMap: public nx::sdk::Interface<IStringMap>
10 {
11 public:
12 static auto interfaceId() { return makeId("nx::sdk::IStringMap"); }
13
14 virtual int count() const = 0;
15
17 virtual const char* key(int i) const = 0;
18
20 virtual const char* value(int i) const = 0;
21
23 virtual const char* value(const char* key) const = 0;
24 };
25 using IStringMap0 = IStringMap;
26
27 } // namespace nx::sdk
nx::sdk::IStringMap
Definition: i_string_map.h:9
nx::sdk::IStringMap::key
virtual const char * key(int i) const =0
nx::sdk::Interface
Definition: interface.h:48
nx::sdk
Definition: device_agent.h:12
nx::sdk::IStringMap::value
virtual const char * value(int i) const =0
nx::sdk::IRefCountable::makeId
static const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:77