ezconfig
Create C++ Objects from Yaml and Json
Loading...
Searching...
No Matches
include
ezconfig
yaml_types
eigen_fwd.hpp
1
// Copyright (c) 2023 Petter Nilsson. MIT License. https://github.com/pettni/ezconfig
2
3
#pragma once
4
5
#include <Eigen/Core>
6
#include <Eigen/Geometry>
7
8
namespace
YAML
{
9
10
// forward declarations
11
template
<
typename
T>
12
struct
convert;
13
14
class
Node;
15
23
template
<
typename
T,
int
Rows,
int
Cols,
int
Opts>
24
struct
convert
<Eigen::Matrix<T, Rows, Cols, Opts>>
25
{
26
static
bool
decode(
const
Node & yaml, Eigen::Matrix<T, Rows, Cols, Opts> & obj);
27
};
28
34
template
<
typename
T,
int
Opts>
35
struct
convert
<Eigen::Quaternion<T, Opts>>
36
{
37
static
bool
decode(
const
Node & yaml, Eigen::Quaternion<T, Opts> & obj);
38
};
39
40
}
// namespace YAML
YAML
YAML forward declarations.
Definition
yaml_fwd.hpp:16
YAML::convert
Definition
stl_fwd.hpp:18
Generated by
1.12.0