ezconfig
Create C++ Objects from Yaml and Json
Loading...
Searching...
No Matches
smooth_fwd.hpp
1// Copyright (c) 2023 Petter Nilsson. MIT License. https://github.com/pettni/ezconfig
2
3#pragma once
4
5#include <smooth/se2.hpp>
6#include <smooth/se3.hpp>
7#include <smooth/so2.hpp>
8#include <smooth/so3.hpp>
9
10namespace YAML {
11
12// forward declarations
13template<typename T>
14struct convert;
15
16class Node;
17
33template<typename T>
34struct convert<smooth::SO2<T>>
35{
36 static bool decode(const Node & yaml, smooth::SO2<T> & obj);
37};
38
59template<typename T>
60struct convert<smooth::SE2<T>>
61{
62 static bool decode(const Node & yaml, smooth::SE2<T> & obj);
63};
64
70template<typename T>
71struct convert<smooth::SO3<T>>
72{
73 static bool decode(const Node & yaml, smooth::SO3<T> & obj);
74};
75
95template<typename T>
96struct convert<smooth::SE3<T>>
97{
98 static bool decode(const Node & yaml, smooth::SE3<T> & obj);
99};
100
101} // namespace YAML
YAML forward declarations.
Definition yaml_fwd.hpp:16