eminem
Parse Matrix Market files in C++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
eminem::GzipFileParser< parallel_ > Struct Template Reference

Parse a Gzip-compressed Matrix Market file. More...

#include <from_gzip.hpp>

Inheritance diagram for eminem::GzipFileParser< parallel_ >:
Inheritance graph
[legend]
Collaboration diagram for eminem::GzipFileParser< parallel_ >:
Collaboration graph
[legend]

Public Member Functions

 GzipFileParser (const char *path, size_t buffer_size=65536)
 
- Public Member Functions inherited from eminem::Parser< parallel_, Pointer_ >
 Parser (Pointer_ r)
 
const MatrixDetailsget_banner () const
 
size_t get_nrows () const
 
size_t get_ncols () const
 
size_t get_nlines () const
 
void scan_preamble ()
 
template<typename Type_ = int, class Store_ >
bool scan_integer (Store_ &&store)
 
template<typename Type_ = double, class Store_ >
bool scan_real (Store_ &&store)
 
template<typename Type_ = double, class Store_ >
bool scan_double (Store_ &&store)
 
template<typename Type_ = double, class Store_ >
bool scan_complex (Store_ &&store)
 
template<typename Type_ = bool, class Store_ >
bool scan_pattern (Store_ &&store)
 

Detailed Description

template<bool parallel_ = false>
struct eminem::GzipFileParser< parallel_ >

Parse a Gzip-compressed Matrix Market file.

Template Parameters
parallel_Whether to parallelize the reading/parsing, see Parser.

Constructor & Destructor Documentation

◆ GzipFileParser()

template<bool parallel_ = false>
eminem::GzipFileParser< parallel_ >::GzipFileParser ( const char *  path,
size_t  buffer_size = 65536 
)
inline
Parameters
pathPointer to a string containing a path to a Gzip-compressed Matrix Market file.
buffer_sizeBuffer size to use for reading.

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