nx_metadata_sdk
1.0
Metadata SDK
samples
stub_analytics_plugin
src
nx
vms_server_plugins
analytics
stub
modules
standard_taxonomy
object_type.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/kit/json.h
>
6
7
#include "attribute.h"
8
9
namespace
nx
{
10
namespace
vms_server_plugins {
11
namespace
analytics {
12
namespace
stub {
13
namespace
modules {
14
namespace
standard_taxonomy {
15
16
struct
ObjectType
17
{
18
std::string id;
19
std::string name;
20
std::string icon;
21
std::string base;
22
std::vector<Attribute> attributes;
23
24
// TODO: Add inheritance.
25
26
ObjectType
(
27
std::string
id
,
28
std::string name,
29
std::string icon,
30
std::string base,
31
std::vector<Attribute> attributes);
32
33
nx::kit::Json
serialize()
const
;
34
};
35
36
}
// namespace standard_taxonomy
37
}
// namespace modules
38
}
// namespace stub
39
}
// namespace analytics
40
}
// namespace vms_server_plugins
41
}
// namespace nx
nx::kit::detail::json11::Json
Definition:
json.cpp:80
nx::vms_server_plugins::analytics::stub::modules::standard_taxonomy::ObjectType
Definition:
object_type.h:16
json.h
nx
Definition:
apple_utils.h:6
Generated by
1.8.14