Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
datetime_parser.h
1#include "yaml_parser_common_include.h"
2
3#pragma once
4
5namespace YAML
6{
7template <>
8struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::datetime::TimeSpec3>
9{
10 static Node encode(const com::robotraconteur::datetime::TimeSpec3& rhs);
11 static bool decode(const Node& node, com::robotraconteur::datetime::TimeSpec3& rhs);
12};
13
14template <>
15struct ROBOTRACONTEUR_COMPANION_INFOPARSER_API convert<com::robotraconteur::datetime::DateTimeLocalPtr>
16{
17 static Node encode(const com::robotraconteur::datetime::DateTimeLocalPtr& rhs);
18 static bool decode(const Node& node, com::robotraconteur::datetime::DateTimeLocalPtr& rhs);
19};
20
21} // namespace YAML