DiSMEC++
dismec::io::NpyHeaderData Struct Reference

Contains the data of the header of a npy file with an array that has at most 2 dimensions. More...

#include <numpy.h>

Public Attributes

std::string DataType
 The data type descr More...
 
bool ColumnMajor
 Whether the data is column major (Fortran) More...
 
long Rows
 The number of rows in the data. More...
 
long Cols
 

Detailed Description

Contains the data of the header of a npy file with an array that has at most 2 dimensions.

Definition at line 56 of file numpy.h.

Member Data Documentation

◆ Cols

long dismec::io::NpyHeaderData::Cols

The number of columns in the data. This will be 0 if the data is a one-dimensional array.

Definition at line 60 of file numpy.h.

Referenced by anonymous_namespace{numpy.cpp}::parse_description().

◆ ColumnMajor

bool dismec::io::NpyHeaderData::ColumnMajor

Whether the data is column major (Fortran)

Definition at line 58 of file numpy.h.

Referenced by anonymous_namespace{numpy.cpp}::parse_description().

◆ DataType

std::string dismec::io::NpyHeaderData::DataType

The data type descr

Definition at line 57 of file numpy.h.

Referenced by anonymous_namespace{numpy.cpp}::parse_description().

◆ Rows

long dismec::io::NpyHeaderData::Rows

The number of rows in the data.

Definition at line 59 of file numpy.h.

Referenced by anonymous_namespace{numpy.cpp}::parse_description().


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