Alexandria 2.32.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
serialize.h File Reference
#include "GridContainer/GridContainer.h"
#include "GridContainer/serialization/GridContainer.h"
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/filesystem.hpp>
#include <iostream>
#include <memory>
#include "GridContainer/_impl/FitsSerialize.icpp"
Include dependency graph for serialize.h:

Go to the source code of this file.

Namespaces

namespace  Euclid
namespace  Euclid::GridContainer

Functions

template<typename OArchive, typename GridCellManager, typename... AxesTypes>
void Euclid::GridContainer::gridExport (std::ostream &out, const GridContainer< GridCellManager, AxesTypes... > &grid)
 Export to the given output stream the given grid. The archive type is templated.
template<typename GridType, typename IArchive>
GridType Euclid::GridContainer::gridImport (std::istream &in)
 Imports from the given stream a grid.
template<typename GridCellManager, typename... AxesTypes>
void Euclid::GridContainer::gridBinaryExport (std::ostream &out, const GridContainer< GridCellManager, AxesTypes... > &grid)
 Exports to the given output stream the given grid.
template<typename GridType>
GridType Euclid::GridContainer::gridBinaryImport (std::istream &in)
 Imports from the given stream a grid.
template<typename GridCellManager, typename... AxesTypes>
void Euclid::GridContainer::gridFitsExport (const boost::filesystem::path &filename, const std::string &hdu_name, const GridContainer< GridCellManager, AxesTypes... > &grid)
 Exports a Grid as a FITS file.
template<typename GridType>
GridType Euclid::GridContainer::gridFitsImport (const boost::filesystem::path &filename, int hdu_index)
 Imports a Grid from a FITS file.

Detailed Description

Date
May 19, 2014
Author
Nikolaos Apostolakos

Definition in file serialize.h.