Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
resource_parser.h
1#include "yaml_parser_common_include.h"
2
3#pragma once
4
5namespace YAML
6{
7
8template <>
9struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::resource::ResourceIdentifierPtr>
10{
11 static Node encode(const com::robotraconteur::resource::ResourceIdentifierPtr& rhs);
12 static bool decode(const Node& node, com::robotraconteur::resource::ResourceIdentifierPtr& rhs);
13};
14
15template <>
16struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::resource::BucketInfoPtr>
17{
18 static Node encode(const com::robotraconteur::resource::BucketInfoPtr& rhs);
19 static bool decode(const Node& node, com::robotraconteur::resource::BucketInfoPtr& rhs);
20};
21
22template <>
23struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::resource::ResourceInfoPtr>
24{
25 static Node encode(const com::robotraconteur::resource::ResourceInfoPtr& rhs);
26 static bool decode(const Node& node, com::robotraconteur::resource::ResourceInfoPtr& rhs);
27};
28
29template <>
30struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::resource::ResourcePtr>
31{
32 static Node encode(const com::robotraconteur::resource::ResourcePtr& rhs);
33 static bool decode(const Node& node, com::robotraconteur::resource::ResourcePtr& rhs);
34};
35
36template <>
37struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::resource::ResourcePartPtr>
38{
39 static Node encode(const com::robotraconteur::resource::ResourcePartPtr& rhs);
40 static bool decode(const Node& node, com::robotraconteur::resource::ResourcePartPtr& rhs);
41};
42
43} // namespace YAML