7 #ifndef FILE_OSTREAM_VARIANT_HPP_ 8 #define FILE_OSTREAM_VARIANT_HPP_ 11 #include "boost/shared_ptr.hpp" 19 class File_ostream_queue;
38 static const std::string s =
"<?|>";
55 std::string
const& path,
56 std::string
const& unset_element,
58 std::string
const& header =
"",
61 const std::size_t queue_size = 500
65 std::vector<Val_id>
const& var_ids,
66 path_template
const& pt,
67 std::string
const& unset_element,
68 std::string
const& header =
"",
71 const std::size_t queue_size = 500
79 std::size_t size()
const;
89 boost::shared_ptr<File_ostream>
fos_;
90 boost::shared_ptr<File_ostream_queue>
fosq_;
93 std::string
const& path,
94 std::string
const& header,
100 std::string
const& path,
102 std::string
const& header,
104 const std::size_t queue_size
108 path_template
const& pt,
109 std::string
const& header,
111 const std::size_t queue_size
static std::string const & skip_empty()
Definition: file_ostream_variant.hpp:37
Select output file based on variables in value map.
Definition: file_ostream_variant.hpp:27
boost::shared_ptr< File_ostream_queue > fosq_
Definition: file_ostream_variant.hpp:90
std::vector< std::string > path_template
Definition: queable_ofstream_types.hpp:25
Compression
File compression types.
Definition: file_properties.hpp:19
detail::Queable_ofstream_types::path_template path_template
Definition: file_ostream_variant.hpp:30
detail::Queable_ofstream_types::value_type value_type
Definition: file_ostream_variant.hpp:28
detail::Queable_ofstream_types::val_ref_vector val_ref_vector
Definition: file_ostream_variant.hpp:29
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
#define VDJ_PIPE_DECL
Definition: config.hpp:23
Definition: file_ostream_variant.hpp:34
File_ostream & ostream()
Definition: file_ostream_variant.hpp:74
std::vector< value_type > val_vector
Definition: queable_ofstream_types.hpp:20
value_variant value_type
Definition: queable_ofstream_types.hpp:19
std::vector< Val_id > const & variable_ids() const
Definition: file_ostream_variant.hpp:80
bool skip_empty_
Definition: file_ostream_variant.hpp:86
Definition: exception.hpp:23
boost::shared_ptr< File_ostream > fos_
Definition: file_ostream_variant.hpp:89
Definition: file_stream.hpp:24
std::vector< boost::reference_wrapper< value_type const > > val_ref_vector
Definition: queable_ofstream_types.hpp:23
detail::Queable_ofstream_types::val_vector val_vector
Definition: file_ostream_variant.hpp:31
Store values mapped against name strings and value IDs.
Definition: value_map.hpp:23
std::vector< Val_id > idv_
Definition: file_ostream_variant.hpp:88
value_type unset_element_
Definition: file_ostream_variant.hpp:83
Definition: file_properties.hpp:20