A toolkit for working with phylogenetic data.
v0.24.0
output_target.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< BaseOutputTarget > to_file (std::string const &file_name, GzipCompressionLevel compression_level=GzipCompressionLevel::kNoCompression, bool auto_adjust_filename=true)
 Obtain an output target for writing to a file. More...
 
std::shared_ptr< BaseOutputTarget > to_stream (std::ostream &target_stream, GzipCompressionLevel compression_level=GzipCompressionLevel::kNoCompression)
 Obtain an output target for writing to a stream. More...
 
std::shared_ptr< BaseOutputTarget > to_string (std::string &target_string)
 Obtain an output target for writing to a string. More...