vdj_pipe
pipeline for processing DNA sequence data
Classes | Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
vdj_pipe::Output_manager Class Reference

#include <output_manager.hpp>

Collaboration diagram for vdj_pipe::Output_manager:
Collaboration graph
[legend]

Classes

struct  Err
 

Public Member Functions

 Output_manager (std::string const &base_out, std::string const &plot_list_path="", const char delim= '\t')
 
char delimiter () const
 
std::string path (std::string const &fn) const
 
void register_plot (std::string const &path, const plot::Plot pt)
 
std::string path (std::string const &fn, const plot::Plot pt)
 
void finish () const
 

Private Types

typedef boost::filesystem::path path_t
 
typedef std::map< std::string, plot::Plotplot_type_map
 
typedef plot_type_map::value_type plot_pair
 

Static Private Member Functions

static path_t make_dir (std::string const &dir)
 

Private Attributes

path_t root_
 
plot_type_map ptm_
 
std::string plot_list_
 
char csv_delim_
 

Member Typedef Documentation

typedef boost::filesystem::path vdj_pipe::Output_manager::path_t
private
typedef plot_type_map::value_type vdj_pipe::Output_manager::plot_pair
private
typedef std::map<std::string,plot::Plot> vdj_pipe::Output_manager::plot_type_map
private

Constructor & Destructor Documentation

vdj_pipe::Output_manager::Output_manager ( std::string const &  base_out,
std::string const &  plot_list_path = "",
const char  delim = '\t' 
)
inlineexplicit

Member Function Documentation

char vdj_pipe::Output_manager::delimiter ( ) const
inline
void vdj_pipe::Output_manager::finish ( ) const
Output_manager::path_t vdj_pipe::Output_manager::make_dir ( std::string const &  dir)
staticprivate
std::string vdj_pipe::Output_manager::path ( std::string const &  fn) const
inline
std::string vdj_pipe::Output_manager::path ( std::string const &  fn,
const plot::Plot  pt 
)
inline

get path and register file as plot

void vdj_pipe::Output_manager::register_plot ( std::string const &  path,
const plot::Plot  pt 
)
inline

Member Data Documentation

char vdj_pipe::Output_manager::csv_delim_
private
std::string vdj_pipe::Output_manager::plot_list_
private
plot_type_map vdj_pipe::Output_manager::ptm_
private
path_t vdj_pipe::Output_manager::root_
private

The documentation for this class was generated from the following files: