7 #ifndef FILE_OSTREAM_VARIANT_HPP_ 8 #define FILE_OSTREAM_VARIANT_HPP_ 11 #include "boost/shared_ptr.hpp" 19 class File_ostream_queue;
28 typedef detail::Queable_ofstream_types::value_type value_type;
29 typedef detail::Queable_ofstream_types::val_ref_vector val_ref_vector;
30 typedef detail::Queable_ofstream_types::path_template path_template;
31 typedef detail::Queable_ofstream_types::val_vector val_vector;
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;
80 std::vector<Val_id>
const& variable_ids()
const {
return idv_;}
83 value_type unset_element_;
88 std::vector<Val_id> idv_;
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
Format
File format types.
Definition: file_properties.hpp:42
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
Compression
File compression types.
Definition: file_properties.hpp:19
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: file_ostream_variant.hpp:34
Definition: exception.hpp:23
Definition: file_stream.hpp:24
Store values mapped against name strings and value IDs.
Definition: value_map.hpp:23