GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: include/hpp/fcl/serialization/RSS.h Lines: 6 6 100.0 %
Date: 2024-02-09 12:57:42 Branches: 5 10 50.0 %

Line Branch Exec Source
1
//
2
// Copyright (c) 2021 INRIA
3
//
4
5
#ifndef HPP_FCL_SERIALIZATION_RSS_H
6
#define HPP_FCL_SERIALIZATION_RSS_H
7
8
#include "hpp/fcl/BV/RSS.h"
9
10
#include "hpp/fcl/serialization/fwd.h"
11
12
namespace boost {
13
namespace serialization {
14
15
template <class Archive>
16
630416
void serialize(Archive& ar, hpp::fcl::RSS& bv, const unsigned int /*version*/) {
17
630416
  ar& make_nvp("axes", bv.axes);
18
630416
  ar& make_nvp("Tr", bv.Tr);
19

630416
  ar& make_nvp("length", make_array(bv.length, 2));
20
630416
  ar& make_nvp("radius", bv.radius);
21
630416
}
22
23
}  // namespace serialization
24
}  // namespace boost
25
26
#endif  // ifndef HPP_FCL_SERIALIZATION_RSS_H