nx_metadata_sdk  1.0
Metadata SDK
utils.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 <set>
6 #include <string>
7 
8 #include "stream_parser.h"
9 
10 namespace nx {
11 namespace vms_server_plugins {
12 namespace analytics {
13 namespace stub {
14 namespace object_streamer {
15 
16 std::string defaultManifestFilePath(const std::string& pluginHomeDir);
17 
18 std::string defaultStreamFilePath(const std::string& pluginHomeDir);
19 
20 std::string makeObjectTypeFilterSettingName(const std::string& objectTypeId);
21 
22 std::string readFileToString(const std::string& filePath);
23 
24 std::string makeSettingsModel(
25  const std::string& manifestFilePath,
26  const std::string& streamFilePath,
27  const std::string& pluginHomeDir,
28  const std::set<std::string>& objectTypeIds);
29 
30 std::string makePluginDiagnosticEventDescription(const std::set<Issue>& issues);
31 
32 } // namespace object_streamer
33 } // namespace stub
34 } // namespace analytics
35 } // namespace vms_server_plugins
36 } // namespace nx
Definition: apple_utils.h:6