|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_UTILS_FORMATS_CSV_INPUT_ITERATOR_H_
2 #define GENESIS_UTILS_FORMATS_CSV_INPUT_ITERATOR_H_
72 : input_stream_( nullptr )
81 : input_stream_( std::make_shared<utils::
InputStream>( source ))
93 : input_stream_( std::make_shared<utils::
InputStream>( source ))
114 return input_stream_ == other.input_stream_;
119 return !( *
this == other );
125 explicit operator bool()
const
184 if( ! input_stream_ || ! *input_stream_ ) {
198 std::shared_ptr<utils::InputStream> input_stream_;
208 #endif // include guard
std::vector< std::string > parse_line(utils::InputStream &input_stream) const
Parse one line of the CSV data and return it.
Provides some valuable additions to STD.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
std::vector< Field > Line
Read Comma/Character Separated Values (CSV) data and other delimiter-separated formats.