nx_metadata_sdk 1.0 Metadata 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 {
8 namespace sdk {
9
10 class IStringMap: public nx::sdk::Interface<IStringMap>
11 {
12 public:
13 static auto interfaceId() { return makeId("nx::sdk::IStringMap"); }
14
15 virtual int count() const = 0;
16
18 virtual const char* key(int i) const = 0;
19
21 virtual const char* value(int i) const = 0;
22
24 virtual const char* value(const char* key) const = 0;
25 };
26
27 } // namespace sdk
28 } // namespace nx
nx::sdk::IStringMap
Definition: i_string_map.h:10
nx::sdk::IStringMap::key
virtual const char * key(int i) const =0
nx::sdk::Interface
Definition: interface.h:28
nx
Definition: apple_utils.h:6
nx::sdk::IStringMap::value
virtual const char * value(int i) const =0
nx::sdk::IRefCountable::makeId
static constexpr const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:78