IOLink IOL_v1.8.0_release
Loading...
Searching...
No Matches
MetadataNodeHelper.h
1#pragma once
2
3#include <memory>
4
5#include <iolink/IOLinkAPI.h>
6#include <iolink/metadata/MetadataNode.h>
7
8namespace iolink
9{
10
14class IOLINK_API MetadataNodeHelper
15{
16public:
31 static std::shared_ptr<const MetadataNode> getNode(std::shared_ptr<const MetadataNode> root, const std::string& path);
32
39 static bool exists(std::shared_ptr<const MetadataNode> root, const std::string& path);
40
53 static std::shared_ptr<const MetadataNode> createPath(std::shared_ptr<MetadataNode> origin,
54 const std::string& path,
55 std::shared_ptr<VariantDataValue> value);
56};
57
58} // end namespace iolink