A toolkit for working with phylogenetic data.
v0.24.0
input_source.hpp File Reference

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

std::shared_ptr< BaseInputSource > from_file (std::string const &file_name, bool detect_compression=true)
 Obtain an input source for reading from a file. More...
 
std::vector< std::shared_ptr< BaseInputSource > > from_files (std::vector< std::string > const &file_names, bool detect_compression=true)
 Obtain a set of input sources for reading from files. More...
 
template<typename InputIterator >
std::vector< std::shared_ptr< BaseInputSource > > from_files (InputIterator first, InputIterator last, bool detect_compression=true)
 Obtain a set of input sources for reading from files. More...
 
std::shared_ptr< BaseInputSource > from_stream (std::istream &input_stream)
 Obtain an input source for reading from a stream. More...
 
std::shared_ptr< BaseInputSource > from_string (std::string const &input_string)
 Obtain an input source for reading from a string. More...
 
std::vector< std::shared_ptr< BaseInputSource > > from_strings (std::vector< std::string > const &input_strings)
 Obtain a set of input sources for reading from strings. More...
 
template<typename InputIterator >
std::vector< std::shared_ptr< BaseInputSource > > from_strings (InputIterator first, InputIterator last)
 Obtain a set of input sources for reading from strings. More...