Directory: | ./ |
---|---|
File: | include/coal/serialization/RSS.h |
Date: | 2025-04-01 09:23:31 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 6 | 6 | 100.0% |
Branches: | 4 | 8 | 50.0% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | // | ||
2 | // Copyright (c) 2021 INRIA | ||
3 | // | ||
4 | |||
5 | #ifndef COAL_SERIALIZATION_RSS_H | ||
6 | #define COAL_SERIALIZATION_RSS_H | ||
7 | |||
8 | #include "coal/BV/RSS.h" | ||
9 | |||
10 | #include "coal/serialization/fwd.h" | ||
11 | |||
12 | namespace boost { | ||
13 | namespace serialization { | ||
14 | |||
15 | template <class Archive> | ||
16 | 1418436 | void serialize(Archive& ar, coal::RSS& bv, const unsigned int /*version*/) { | |
17 |
1/2✓ Branch 2 taken 709218 times.
✗ Branch 3 not taken.
|
1418436 | ar& make_nvp("axes", bv.axes); |
18 |
1/2✓ Branch 2 taken 709218 times.
✗ Branch 3 not taken.
|
1418436 | ar& make_nvp("Tr", bv.Tr); |
19 |
1/2✓ Branch 3 taken 709218 times.
✗ Branch 4 not taken.
|
1418436 | ar& make_nvp("length", make_array(bv.length, 2)); |
20 |
1/2✓ Branch 2 taken 709218 times.
✗ Branch 3 not taken.
|
1418436 | ar& make_nvp("radius", bv.radius); |
21 | 1418436 | } | |
22 | |||
23 | } // namespace serialization | ||
24 | } // namespace boost | ||
25 | |||
26 | #endif // ifndef COAL_SERIALIZATION_RSS_H | ||
27 |