nx_metadata_sdk 1.0 Metadata SDK

i_string.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 IString: public nx::sdk::Interface<IString>
11 {
12 public:
13 static auto interfaceId() { return makeId("nx::sdk::IString"); }
14
16 virtual const char* str() const = 0;
17 };
18 using IString0 = IString;
19
20 } // namespace sdk
21 } // namespace nx
nx::sdk::Interface
Definition: interface.h:49
nx::sdk::IString
Definition: i_string.h:10
nx
Definition: apple_utils.h:6
nx::sdk::IString::str
virtual const char * str() const =0
nx::sdk::IRefCountable::makeId
static constexpr const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:77