Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
NpyMmap.h File Reference
#include "NdArray/NdArray.h"
#include <boost/filesystem/path.hpp>
#include <boost/iostreams/device/mapped_file.hpp>
#include "NdArray/io/_impl/NpyMmap.icpp"
Include dependency graph for NpyMmap.h:

Go to the source code of this file.

Namespaces

namespace  Euclid
 
namespace  Euclid::NdArray
 

Macros

#define NPYMMAP_IMPL
 

Functions

template<typename T >
NdArray< T > Euclid::NdArray::mmapNpy (const boost::filesystem::path &path, boost::iostreams::mapped_file_base::mapmode mode=boost::iostreams::mapped_file_base::readwrite, size_t max_size=0)
 
template<typename T >
NdArray< T > Euclid::NdArray::createMmapNpy (const boost::filesystem::path &path, const std::vector< size_t > &shape, const std::vector< std::string > &attr_names, size_t max_size=0)
 
template<typename T >
NdArray< T > Euclid::NdArray::createMmapNpy (const boost::filesystem::path &path, const std::vector< size_t > &shape, size_t max_size=0)
 

Macro Definition Documentation

◆ NPYMMAP_IMPL

#define NPYMMAP_IMPL

Definition at line 95 of file NpyMmap.h.