All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Namespaces | Functions
read_rows.hpp File Reference
#include "paal/utils/functors.hpp"
#include "paal/utils/system_message.hpp"
#include <boost/range/size.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <boost/range/istream_range.hpp>
#include <cassert>
#include <istream>
#include <string>
#include <sstream>
#include <vector>
#include <list>

Go to the source code of this file.

Namespaces

 paal
 global namespace of project.
 

Functions

template<typename CoordinateType , typename RowType = std::vector<CoordinateType>, typename ShouldIgnoreBadRow = utils::always_true>
void paal::read_rows (std::istream &input_stream, std::vector< RowType > &rows, std::size_t row_size, std::size_t max_rows_to_read, ShouldIgnoreBadRow &&should_ignore_bad_row=ShouldIgnoreBadRow{})
 reads up to max_rows_to_read rows of size row_size More...
 
template<typename CoordinateType , typename RowType = std::vector<CoordinateType>, typename ShouldIgnoreBadRow = utils::always_true, typename FailureMessage = utils::failure_message>
void paal::read_rows_first_row_size (std::istream &input_stream, std::vector< RowType > &rows, std::size_t max_rows_to_read, ShouldIgnoreBadRow &&should_ignore_bad_row=ShouldIgnoreBadRow{}, FailureMessage &&failure_message=FailureMessage{})
 reads up to max_rows_to_read rows, size is determine by first row More...
 

Detailed Description

Author
Tomasz Strozak
Version
1.0
Date
2015-07-23

Definition in file read_rows.hpp.