#include <fstream>
#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/collision.h>
#include <hpp/fcl/distance.h>
#include <hpp/fcl/BV/OBBRSS.h>
#include <hpp/fcl/BVH/BVH_model.h>
#include <hpp/fcl/serialization/collision_data.h>
#include <hpp/fcl/serialization/AABB.h>
#include <hpp/fcl/serialization/BVH_model.h>
#include <hpp/fcl/serialization/hfield.h>
#include <hpp/fcl/serialization/geometric_shapes.h>
#include <hpp/fcl/serialization/convex.h>
#include <hpp/fcl/serialization/memory.h>
#include "utility.h"
#include "fcl_resources/config.h"
#include <boost/archive/tmpdir.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/xml_iarchive.hpp>
#include <boost/archive/xml_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/filesystem.hpp>
#include <boost/asio/streambuf.hpp>
Go to the source code of this file.
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE FCL_SERIALIZATION |
◆ SerializationMode
◆ BOOST_AUTO_TEST_CASE() [1/6]
BOOST_AUTO_TEST_CASE |
( |
test_aabb |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/6]
BOOST_AUTO_TEST_CASE |
( |
test_collision_data |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/6]
BOOST_AUTO_TEST_CASE |
( |
test_BVHModel |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/6]
BOOST_AUTO_TEST_CASE |
( |
test_HeightField |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/6]
BOOST_AUTO_TEST_CASE |
( |
test_shapes |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/6]
BOOST_AUTO_TEST_CASE |
( |
test_memory_footprint |
| ) |
|
◆ check()
template<typename T >
bool check |
( |
const T & |
value, |
|
|
const T & |
other |
|
) |
| |
◆ loadFromBinary()
template<typename T >
void loadFromBinary |
( |
T & |
object, |
|
|
boost::asio::streambuf & |
buffer |
|
) |
| |
|
inline |
◆ saveToBinary()
template<typename T >
void saveToBinary |
( |
const T & |
object, |
|
|
boost::asio::streambuf & |
buffer |
|
) |
| |
◆ test_serialization() [1/2]
template<typename T >
void test_serialization |
( |
const T & |
value, |
|
|
T & |
other_value, |
|
|
const int |
mode = TXT | XML | BIN | STREAM |
|
) |
| |
◆ test_serialization() [2/2]
template<typename T >
void test_serialization |
( |
const T & |
value, |
|
|
const int |
mode = TXT | XML | BIN | STREAM |
|
) |
| |