Select output file based on variables in value map.
More...
#include <file_ostream_variant.hpp>
|
| File_ostream_variant (const format::Format fmt) |
|
| File_ostream_variant (std::string const &path, std::string const &unset_element, Value_map const &vm, std::string const &header="", const compression::Compression compr=compression::unknown, format::Format fmt=format::unknown, const std::size_t queue_size=500) |
|
| File_ostream_variant (std::vector< Val_id > const &var_ids, path_template const &pt, std::string const &unset_element, std::string const &header="", const compression::Compression compr=compression::unknown, format::Format fmt=format::unknown, const std::size_t queue_size=500) |
|
File_ostream & | ostream () |
|
File_ostream & | ostream (Value_map const &vm) |
|
File_ostream & | ostream (val_vector const &vv) |
|
std::size_t | size () const |
|
std::vector< Val_id > const & | variable_ids () const |
|
Select output file based on variables in value map.
File_ostream_variant is constructed from a path string that may contain {var } elements, where var is a variable name available from vm value map.
vdj_pipe::File_ostream_variant::File_ostream_variant |
( |
std::string const & |
path, |
|
|
std::string const & |
unset_element, |
|
|
Value_map const & |
vm, |
|
|
std::string const & |
header = "" , |
|
|
const compression::Compression |
compr = compression::unknown , |
|
|
format::Format |
fmt = format::unknown , |
|
|
const std::size_t |
queue_size = 500 |
|
) |
| |
- Parameters
-
path | path string that may contain {var } elements, where var is a variable name available from vm value map |
unset_element | |
vm | |
header | |
compr | |
fmt | |
queue_size | |
std::size_t vdj_pipe::File_ostream_variant::size |
( |
| ) |
const |
static std::string const& vdj_pipe::File_ostream_variant::skip_empty |
( |
| ) |
|
|
inlinestatic |
- Returns
- string that cannot be part of filesystem path
The documentation for this class was generated from the following file: