#include "vtkSetGet.h"
#include "vtkType.h"
#include "vtkVariant.h"
#include "vtkVariantArray.h"
#include <boost/archive/binary_oarchive.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/export.hpp>
#include <boost/serialization/extended_type_info_no_rtti.hpp>
#include <boost/serialization/split_free.hpp>
Include dependency graph for vtkVariantBoostSerialization.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | VTK_VARIANT_SAVE(Value, Type, Function) |
| #define | VTK_VARIANT_LOAD(Value, Type) |
Functions | |
| template<typename Archiver> | |
| void | serialize (Archiver &ar, vtkStdString &str, const unsigned int vtkNotUsed(version)) |
| template<typename Archiver> | |
| void | save (Archiver &ar, const vtkVariant &variant, const unsigned int vtkNotUsed(version)) |
| template<typename Archiver> | |
| void | load (Archiver &ar, vtkVariant &variant, const unsigned int vtkNotUsed(version)) |
| template<typename Archiver> | |
| void | save (Archiver &ar, const vtkVariantArray &c_array, const unsigned int vtkNotUsed(version)) |
| template<typename Archiver> | |
| void | load (Archiver &ar, vtkVariantArray &array, const unsigned int vtkNotUsed(version)) |
| #define VTK_VARIANT_SAVE | ( | Value, | |||
| Type, | |||||
| Function | ) |
| #define VTK_VARIANT_LOAD | ( | Value, | |||
| Type | ) |
Value:
case Value: \ { \ Type value; \ ar & value; \ variant = vtkVariant(value); \ } \ return
Referenced by load().
| void serialize | ( | Archiver & | ar, | |
| vtkStdString & | str, | |||
| const unsigned int | vtkNotUsed(version) | |||
| ) |
Definition at line 53 of file vtkVariantBoostSerialization.h.
| void save | ( | Archiver & | ar, | |
| const vtkVariant & | variant, | |||
| const unsigned int | vtkNotUsed(version) | |||
| ) |
Definition at line 64 of file vtkVariantBoostSerialization.h.
References vtkVariant::GetType(), vtkVariant::IsValid(), VTK___INT64, VTK_CHAR, VTK_DOUBLE, VTK_FLOAT, VTK_INT, VTK_LONG, VTK_LONG_LONG, VTK_SHORT, VTK_STRING, VTK_UNSIGNED___INT64, VTK_UNSIGNED_CHAR, VTK_UNSIGNED_INT, VTK_UNSIGNED_LONG, VTK_UNSIGNED_LONG_LONG, VTK_UNSIGNED_SHORT, and VTK_VARIANT_SAVE.
| void load | ( | Archiver & | ar, | |
| vtkVariant & | variant, | |||
| const unsigned int | vtkNotUsed(version) | |||
| ) |
Definition at line 117 of file vtkVariantBoostSerialization.h.
References VTK___INT64, VTK_CHAR, VTK_DOUBLE, VTK_FLOAT, VTK_INT, VTK_LONG, VTK_LONG_LONG, VTK_SHORT, VTK_STRING, VTK_UNSIGNED___INT64, VTK_UNSIGNED_CHAR, VTK_UNSIGNED_INT, VTK_UNSIGNED_LONG, VTK_UNSIGNED_LONG_LONG, VTK_UNSIGNED_SHORT, and VTK_VARIANT_LOAD.
| void save | ( | Archiver & | ar, | |
| const vtkVariantArray & | c_array, | |||
| const unsigned int | vtkNotUsed(version) | |||
| ) |
Definition at line 168 of file vtkVariantBoostSerialization.h.
References vtkAbstractArray::GetName(), vtkAbstractArray::GetNumberOfTuples(), vtkVariantArray::GetValue(), and vtkX3D::name.
| void load | ( | Archiver & | ar, | |
| vtkVariantArray & | array, | |||
| const unsigned int | vtkNotUsed(version) | |||
| ) |
Definition at line 187 of file vtkVariantBoostSerialization.h.
References vtkX3D::name, vtkAbstractArray::SetName(), vtkVariantArray::SetNumberOfTuples(), vtkVariantArray::SetValue(), and vtkX3D::value.
1.4.7