Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
Classes | |
struct | Load |
struct | Load< 0 > |
struct | Save |
struct | Save< 0 > |
Functions | |
template<class Archive , std::size_t ND, typename CellType > | |
void | serialize (Archive &archive, std::array< CellType, ND > &array, const unsigned int) |
template<typename Archive , typename T > | |
void | serialize (Archive &, Euclid::GridContainer::GridAxis< T > &, const unsigned int) |
template<typename Archive , typename T > | |
void | saveType (Archive &ar, const T &t, typename std::enable_if< std::is_default_constructible< T >::value >::type *=0) |
template<typename Archive , typename T > | |
void | saveType (Archive &ar, const T &t, typename std::enable_if<!std::is_default_constructible< T >::value >::type *=0) |
template<typename Archive , typename T > | |
void | save_construct_data (Archive &ar, const Euclid::GridContainer::GridAxis< T > *t, const unsigned int) |
template<typename Archive , typename T > | |
T | loadType (Archive &ar, typename std::enable_if< std::is_default_constructible< T >::value >::type *=0) |
template<typename Archive , typename T > | |
T | loadType (Archive &ar, typename std::enable_if<!std::is_default_constructible< T >::value >::type *=0) |
template<typename Archive , typename T > | |
void | load_construct_data (Archive &ar, Euclid::GridContainer::GridAxis< T > *t, const unsigned int) |
template<class Archive , typename T > | |
void | save (Archive &ar, const Euclid::GridContainer::VectorValueProxy< T > &value_proxy, const unsigned int) |
template<class Archive , typename T > | |
void | load (Archive &ar, Euclid::GridContainer::VectorValueProxy< T > &value_proxy, const unsigned int) |
template<class Archive , typename T > | |
void | serialize (Archive &ar, Euclid::GridContainer::VectorValueProxy< T > &value_proxy, const unsigned int version) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | save (Archive &ar, const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > &grid, const unsigned int, typename std::enable_if< std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type *=0) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | save (Archive &ar, const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > &grid, const unsigned int, typename std::enable_if<!std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type *=0) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | load (Archive &ar, Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > &grid, const unsigned int, typename std::enable_if< std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type *=0) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | load (Archive &ar, Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > &grid, const unsigned int, typename std::enable_if<!std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type *=0) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | serialize (Archive &ar, Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > &grid, const unsigned int version) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | save_construct_data (Archive &ar, const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > *t, const unsigned int, typename std::enable_if< std::is_default_constructible< GridCellManager >::value >::type *=nullptr) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | save_construct_data (Archive &ar, const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > *t, const unsigned int, typename std::enable_if<!std::is_default_constructible< GridCellManager >::value >::type *=nullptr) |
template<typename T > | |
Euclid::GridContainer::GridAxis< T > | emptyGridAxis () |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | load_construct_data (Archive &ar, Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > *t, const unsigned int, typename std::enable_if< std::is_default_constructible< GridCellManager >::value >::type *=nullptr) |
template<class Archive , typename GridCellManager , typename... AxesTypes> | |
void | load_construct_data (Archive &ar, Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > *t, const unsigned int, typename std::enable_if<!std::is_default_constructible< GridCellManager >::value >::type *=nullptr) |
template<typename Archive , typename... Args> | |
void | save (Archive &ar, const std::tuple< Args... > &t, const unsigned int version) |
template<typename Archive , typename... Args> | |
void | load (Archive &ar, std::tuple< Args... > &t, const unsigned int version) |
template<typename Archive , typename... Args> | |
void | serialize (Archive &ar, std::tuple< Args... > &t, const unsigned int version) |
template<class Archive , typename DistFunc > | |
void | save (Archive &ar, const Euclid::SOM::SOM< DistFunc > &som, const unsigned int) |
template<class Archive , typename DistFunc > | |
void | load (Archive &ar, Euclid::SOM::SOM< DistFunc > &som, const unsigned int) |
template<class Archive , typename DistFunc > | |
void | serialize (Archive &ar, Euclid::SOM::SOM< DistFunc > &som, const unsigned int version) |
template<class Archive , typename DistFunc > | |
void | save_construct_data (Archive &ar, const Euclid::SOM::SOM< DistFunc > *t, const unsigned int) |
template<class Archive , typename DistFunc > | |
void | load_construct_data (Archive &ar, Euclid::SOM::SOM< DistFunc > *t, const unsigned int) |
template<typename Archive > | |
void | serialize (Archive &, Euclid::XYDataset::QualifiedName &, const unsigned int) |
Serialize/deserialize function. | |
template<typename Archive > | |
void | save_construct_data (Archive &ar, const Euclid::XYDataset::QualifiedName *t, const unsigned int) |
Save the data to be used by the constructor. | |
template<typename Archive > | |
void | load_construct_data (Archive &ar, Euclid::XYDataset::QualifiedName *t, const unsigned int) |
Get constructor data and instantiate the object. | |
Euclid::GridContainer::GridAxis< T > boost::serialization::emptyGridAxis | ( | ) |
Helper method which constructs an GridAxis object with empty name and zero knots.
Definition at line 131 of file GridContainer.h.
void boost::serialization::load | ( | Archive & | ar, |
Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > & | grid, | ||
const unsigned int | , | ||
typename std::enable_if< std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type * | = 0 |
||
) |
Method which loads a GridContainer instance from an archive. This version handles default constructible cell values.
Definition at line 71 of file GridContainer.h.
void boost::serialization::load | ( | Archive & | ar, |
Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > & | grid, | ||
const unsigned int | , | ||
typename std::enable_if<!std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type * | = 0 |
||
) |
Method which loads a GridContainer instance from an archive. This version handles non-default constructible cell values.
Definition at line 82 of file GridContainer.h.
void boost::serialization::load | ( | Archive & | ar, |
Euclid::GridContainer::VectorValueProxy< T > & | value_proxy, | ||
const unsigned int | |||
) |
Definition at line 41 of file GridCellManagerVectorOfVectors.h.
References Euclid::GridContainer::VectorValueProxy< T >::size().
Referenced by load().
void boost::serialization::load | ( | Archive & | ar, |
Euclid::SOM::SOM< DistFunc > & | som, | ||
const unsigned int | |||
) |
void boost::serialization::load | ( | Archive & | ar, |
std::tuple< Args... > & | t, | ||
const unsigned int | version | ||
) |
void boost::serialization::load_construct_data | ( | Archive & | ar, |
Euclid::GridContainer::GridAxis< T > * | t, | ||
const unsigned int | |||
) |
Loads from the given archive all the data necessary for reconstructing an GridAxis object and constructs a new one where the t pointer points. The data red are the name of the axis, followed by the number of its knots, followed by the value of each knot. NOTE: Any changes in this method should be reflected in the save_construct_data method.
Definition at line 111 of file GridAxis.h.
References std::vector< T >::push_back().
void boost::serialization::load_construct_data | ( | Archive & | ar, |
Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > * | t, | ||
const unsigned int | , | ||
typename std::enable_if< std::is_default_constructible< GridCellManager >::value >::type * | = nullptr |
||
) |
Loads from the given archive all the data necessary for reconstructing a GridContainer object and constructs a new one where the t pointer points. The data red are the axes tuple and the GridCellManager. NOTE: Any changes in this method should be reflected in the save_construct_data method.
Definition at line 141 of file GridContainer.h.
void boost::serialization::load_construct_data | ( | Archive & | ar, |
Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > * | t, | ||
const unsigned int | , | ||
typename std::enable_if<!std::is_default_constructible< GridCellManager >::value >::type * | = nullptr |
||
) |
Definition at line 153 of file GridContainer.h.
void boost::serialization::load_construct_data | ( | Archive & | ar, |
Euclid::SOM::SOM< DistFunc > * | t, | ||
const unsigned int | |||
) |
void boost::serialization::load_construct_data | ( | Archive & | ar, |
Euclid::XYDataset::QualifiedName * | t, | ||
const unsigned int | |||
) |
Get constructor data and instantiate the object.
Reads the Groups vector then the (unqualified)name.
Definition at line 66 of file serialize.h.
References std::move().
T boost::serialization::loadType | ( | Archive & | ar, |
typename std::enable_if< std::is_default_constructible< T >::value >::type * | = 0 |
||
) |
Version of the loadType method for types which do have default constructors. It loads the object t from the archive. The boost::serialization::serialize method must be implemented for the type T.
Definition at line 83 of file GridAxis.h.
T boost::serialization::loadType | ( | Archive & | ar, |
typename std::enable_if<!std::is_default_constructible< T >::value >::type * | = 0 |
||
) |
Version of the loadType method for types which do not have default constructor. It loads a pointer to the object t from the archive and it uses it to create the returned value. The method boost::serialization::load_construct_data must be implemented for the type T, which must also have a copy constructor.
Definition at line 95 of file GridAxis.h.
void boost::serialization::save | ( | Archive & | ar, |
const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > & | grid, | ||
const unsigned int | , | ||
typename std::enable_if< std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type * | = 0 |
||
) |
Method which saves a GridContainer instance to an archive. This version handles default constructible cell values.
Definition at line 44 of file GridContainer.h.
void boost::serialization::save | ( | Archive & | ar, |
const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > & | grid, | ||
const unsigned int | , | ||
typename std::enable_if<!std::is_default_constructible< typename Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::data_type >::value >::type * | = 0 |
||
) |
Method which saves a GridContainer instance to an archive. This version handles non-default constructible cell values.
Definition at line 56 of file GridContainer.h.
void boost::serialization::save | ( | Archive & | ar, |
const Euclid::GridContainer::VectorValueProxy< T > & | value_proxy, | ||
const unsigned int | |||
) |
Definition at line 32 of file GridCellManagerVectorOfVectors.h.
References Euclid::GridContainer::VectorValueProxy< T >::size().
Referenced by save().
void boost::serialization::save | ( | Archive & | ar, |
const Euclid::SOM::SOM< DistFunc > & | som, | ||
const unsigned int | |||
) |
void boost::serialization::save | ( | Archive & | ar, |
const std::tuple< Args... > & | t, | ||
const unsigned int | version | ||
) |
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const Euclid::GridContainer::GridAxis< T > * | t, | ||
const unsigned int | |||
) |
Saves in the given archive all the data necessary for reconstructing the given GridAxis object by using its constructor. The data saved are the name of the axis, followed by the number of its knots, followed by the value of each knot. The knot values must be boost serializable. NOTE: Any changes in this method should be reflected in the load_construct_data method.
Definition at line 69 of file GridAxis.h.
References Euclid::GridContainer::GridAxis< T >::name(), saveType(), and Euclid::GridContainer::GridAxis< T >::size().
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > * | t, | ||
const unsigned int | , | ||
typename std::enable_if< std::is_default_constructible< GridCellManager >::value >::type * | = nullptr |
||
) |
Saves in the given archive all the data necessary for reconstructing the given GridContainer by using its constructor. The data saved is the axes tuple. The cell data are handled in the serialize method. NOTE: Any changes in this method should be reflected in the load_construct_data method.
Definition at line 112 of file GridContainer.h.
References Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes >::getAxesTuple().
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > * | t, | ||
const unsigned int | , | ||
typename std::enable_if<!std::is_default_constructible< GridCellManager >::value >::type * | = nullptr |
||
) |
Definition at line 120 of file GridContainer.h.
References Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes >::getAxesTuple(), and Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes >::getCellManager().
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const Euclid::SOM::SOM< DistFunc > * | t, | ||
const unsigned int | |||
) |
Definition at line 57 of file SOM.h.
References Euclid::SOM::SOM< DistFunc >::getDimensions(), and Euclid::SOM::SOM< DistFunc >::getSize().
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const Euclid::XYDataset::QualifiedName * | t, | ||
const unsigned int | |||
) |
Save the data to be used by the constructor.
Stores the Groups vector then the (unqualified)name.
Definition at line 51 of file serialize.h.
References Euclid::XYDataset::QualifiedName::datasetName(), and Euclid::XYDataset::QualifiedName::groups().
void boost::serialization::saveType | ( | Archive & | ar, |
const T & | t, | ||
typename std::enable_if< std::is_default_constructible< T >::value >::type * | = 0 |
||
) |
Version of the saveType method for types which do have default constructors. It saves the object t to the archive. The boost::serialization::serialize method must be implemented for the type T.
Definition at line 47 of file GridAxis.h.
Referenced by save_construct_data().
void boost::serialization::saveType | ( | Archive & | ar, |
const T & | t, | ||
typename std::enable_if<!std::is_default_constructible< T >::value >::type * | = 0 |
||
) |
Version of the saveType method for types which do not have default constructor. It saves a pointer to the object t to the archive, so the boost serialization for non-default constructor types is enabled. The method boost::serialization::save_construct_data must be implemented for the type T.
Definition at line 57 of file GridAxis.h.
void boost::serialization::serialize | ( | Archive & | , |
Euclid::GridContainer::GridAxis< T > & | , | ||
const unsigned int | |||
) |
Method which saves/loads an GridAxis instance to/from an archive. It does nothing as everything is done with the data passed to the constructor.
Definition at line 39 of file GridAxis.h.
void boost::serialization::serialize | ( | Archive & | , |
Euclid::XYDataset::QualifiedName & | , | ||
const unsigned int | |||
) |
Serialize/deserialize function.
Everything is done in the constructor. Nothing here.
Definition at line 39 of file serialize.h.
void boost::serialization::serialize | ( | Archive & | ar, |
Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes... > & | grid, | ||
const unsigned int | version | ||
) |
Method which saves/loads a GridContainer instance to/from an archive. It does a check that the GridCellManager of the GridContainer allows for boost serialization. This check is done in compilation time. After the check the save/load action is delegated to the save and load methods.
Definition at line 99 of file GridContainer.h.
void boost::serialization::serialize | ( | Archive & | ar, |
Euclid::GridContainer::VectorValueProxy< T > & | value_proxy, | ||
const unsigned int | version | ||
) |
Definition at line 52 of file GridCellManagerVectorOfVectors.h.
void boost::serialization::serialize | ( | Archive & | ar, |
Euclid::SOM::SOM< DistFunc > & | som, | ||
const unsigned int | version | ||
) |
void boost::serialization::serialize | ( | Archive & | ar, |
std::tuple< Args... > & | t, | ||
const unsigned int | version | ||
) |
void boost::serialization::serialize | ( | Archive & | archive, |
std::array< CellType, ND > & | array, | ||
const unsigned int | |||
) |