![]() |
Pothos
0.6.0-g9da168ef
The Pothos dataflow programming software suite
|
#include <Pothos/Config.hpp>#include <Pothos/Object/ObjectImpl.hpp>#include <Pothos/Archive.hpp>#include <cassert>Go to the source code of this file.
Namespaces | |
| Pothos | |
| Pothos::serialization | |
Macros | |
| #define | POTHOS_OBJECT_SERIALIZE(ValueType) POTHOS_CLASS_EXPORT_GUID(Pothos::Detail::ObjectContainerT<ValueType>, "Pothos::Object<" #ValueType ">") |
Functions | |
| template<class Archive > | |
| void | Pothos::serialization::serialize (Archive &, Pothos::Detail::ObjectContainer &, const unsigned int) |
| template<class Archive , typename ValueType > | |
| void | Pothos::serialization::serialize (Archive &ar, Pothos::Detail::ObjectContainerT< ValueType > &t, const unsigned int) |
| template<class Archive > | |
| void | Pothos::serialization::save (Archive &ar, const Pothos::Object &t, const unsigned int) |
| template<class Archive > | |
| void | Pothos::serialization::load (Archive &ar, Pothos::Object &t, const unsigned int) |
Serialization support for types held by an Object. This file provides the POTHOS_OBJECT_SERIALIZE macro which exports types into the serialization system. This file is not automatically included by Object.hpp; users adding a type should explicitly include this file.
| #define POTHOS_OBJECT_SERIALIZE | ( | ValueType | ) | POTHOS_CLASS_EXPORT_GUID(Pothos::Detail::ObjectContainerT<ValueType>, "Pothos::Object<" #ValueType ">") |
Export a serialization for the specified type. Call this macro only once in a cpp file. Usage: POTHOS_OBJECT_SERIALIZE(MyType)
1.8.13