Alexandria
2.16
Please provide a description of the 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 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) |
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) |
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 , std::size_t ND, typename DistFunc > | |
void | save (Archive &ar, const Euclid::SOM::SOM< ND, DistFunc > &som, const unsigned int) |
template<class Archive , std::size_t ND, typename DistFunc > | |
void | load (Archive &ar, Euclid::SOM::SOM< ND, DistFunc > &som, const unsigned int) |
template<class Archive , std::size_t ND, typename DistFunc > | |
void | serialize (Archive &ar, Euclid::SOM::SOM< ND, DistFunc > &som, const unsigned int version) |
template<class Archive , std::size_t ND, typename DistFunc > | |
void | save_construct_data (Archive &ar, const Euclid::SOM::SOM< ND, DistFunc > *t, const unsigned int) |
template<class Archive , std::size_t ND, typename DistFunc > | |
void | load_construct_data (Archive &ar, Euclid::SOM::SOM< ND, DistFunc > *t, const unsigned int) |
Euclid::GridContainer::GridAxis<T> boost::serialization::emptyGridAxis | ( | ) |
Helper method which constructs an GridAxis object with empty name and zero knots.
Definition at line 114 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 67 of file GridContainer.h.
Referenced by load().
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 77 of file GridContainer.h.
void boost::serialization::load | ( | Archive & | ar, |
Euclid::SOM::SOM< ND, 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 112 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 | |||
) |
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 124 of file GridContainer.h.
void boost::serialization::load_construct_data | ( | Archive & | ar, |
Euclid::SOM::SOM< ND, DistFunc > * | t, | ||
const unsigned int | |||
) |
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 84 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 96 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.
Referenced by save().
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 54 of file GridContainer.h.
void boost::serialization::save | ( | Archive & | ar, |
const Euclid::SOM::SOM< ND, 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 | |||
) |
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 105 of file GridContainer.h.
References Euclid::GridContainer::GridContainer< GridCellManager, AxesTypes >::getAxesTuple().
void boost::serialization::save_construct_data | ( | Archive & | ar, |
const Euclid::SOM::SOM< ND, DistFunc > * | t, | ||
const unsigned int | |||
) |
Definition at line 57 of file SOM.h.
References Euclid::SOM::SOM< ND, DistFunc >::getSize().
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 & | 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 93 of file GridContainer.h.
void boost::serialization::serialize | ( | Archive & | ar, |
Euclid::SOM::SOM< ND, 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 | |||
) |