nx_metadata_sdk  1.0
Metadata SDK
i_string_list.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 IStringList: public Interface<IStringList>
10 {
11 public:
12  static auto interfaceId() { return makeId("nx::sdk::IStringList"); }
13 
14  virtual int count() const = 0;
15 
17  virtual const char* at(int index) const = 0;
18 };
20 
21 } // namespace nx::sdk
Definition: interface.h:48
virtual const char * at(int index) const =0
Definition: i_string_list.h:9
Definition: device_agent.h:13
static constexpr const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:76