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

Parse a Matrix Market text buffer. More...

#include <from_text.hpp>

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

Public Member Functions

 TextBufferParser (const unsigned char *buffer, size_t len)
 
 TextBufferParser (const char *buffer, size_t len)
 
- 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::TextBufferParser< parallel_ >

Parse a Matrix Market text buffer.

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

Constructor & Destructor Documentation

◆ TextBufferParser() [1/2]

template<bool parallel_ = false>
eminem::TextBufferParser< parallel_ >::TextBufferParser ( const unsigned char *  buffer,
size_t  len 
)
inline
Parameters
bufferPointer to an array containing the contents of an uncompressed Matrix Market file.
lenLength of the array referenced by buffer.

◆ TextBufferParser() [2/2]

template<bool parallel_ = false>
eminem::TextBufferParser< parallel_ >::TextBufferParser ( const char *  buffer,
size_t  len 
)
inline
Parameters
bufferPointer to an array containing the contents of an uncompressed Matrix Market file.
lenLength of the array referenced by buffer.

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