DIY  3.0
data-parallel out-of-core C++ library
 All Classes Namespaces Functions Typedefs Groups Pages
Public Member Functions | List of all members
diy::io::NumPy Class Reference
Inheritance diagram for diy::io::NumPy:
diy::io::BOV

Public Member Functions

 NumPy (mpi::io::file &f)
 
unsigned word_size () const
 
unsigned read_header ()
 
template<class T >
void write_header (int dim, const DiscreteBounds &bounds)
 
template<class T , class S >
void write_header (const S &shape)
 
- Public Member Functions inherited from diy::io::BOV
 BOV (mpi::io::file &f)
 
template<class S >
 BOV (mpi::io::file &f, const S &shape=S(), mpi::io::offset offset=0)
 
void set_offset (mpi::io::offset offset)
 
template<class S >
void set_shape (const S &shape)
 
const Shape & shape () const
 
template<class T >
void read (const DiscreteBounds &bounds, T *buffer, bool collective=false, int chunk=1) const
 
template<class T >
void write (const DiscreteBounds &bounds, const T *buffer, bool collective=false, int chunk=1)
 
template<class T >
void write (const DiscreteBounds &bounds, const T *buffer, const DiscreteBounds &core, bool collective=false, int chunk=1)
 

Additional Inherited Members

- Public Types inherited from diy::io::BOV
typedef std::vector< int > Shape
 
- Protected Member Functions inherited from diy::io::BOV
mpi::io::filefile ()
 

Detailed Description

Examples:
io/test-io.cpp.

The documentation for this class was generated from the following file: