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 {
8 namespace sdk {
9 
10 class IStringList: public Interface<IStringList>
11 {
12 public:
13  static auto interfaceId() { return makeId("nx::sdk::IStringList"); }
14 
15  virtual int count() const = 0;
16 
18  virtual const char* at(int index) const = 0;
19 };
21 
22 } // namespace sdk
23 } // namespace nx
Definition: interface.h:49
virtual const char * at(int index) const =0
Definition: i_string_list.h:10
Definition: apple_utils.h:6
static constexpr const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:77