A library for working with phylogenetic and population genetic data.
v0.27.0
output_stream.hpp File Reference
#include "genesis/utils/core/exception.hpp"
#include "genesis/utils/core/fs.hpp"
#include "genesis/utils/core/options.hpp"
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <string>

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

void file_output_stream (std::string const &filename, std::ofstream &out_stream, std::ios_base::openmode mode=std::ios_base::out, bool create_dirs=true)
 Helper function to obtain an output stream to a file. More...