21 VDJ_PIPE_DECL compression::Compression
26 VDJ_PIPE_DECL compression::Compression
31 VDJ_PIPE_DECL std::pair<compression::Compression, format::Format>
36 VDJ_PIPE_DECL format::Format
37 guess_format(std::string
const& path,
const compression::Compression c);
47 std::string
const& path,
48 std::string
const& header
67 std::string
const& path,
71 : path_(path), compr_(compr), fmt_(fmt)
74 std::string
const& path()
const {
return path_;}
77 bool operator==(
File const& f2)
const {
return path_ == f2.path_;}
78 bool operator<(
File const& f2)
const {
return path_ < f2.path_;}
79 VDJ_PIPE_COMPARISON_OPERATOR_MEMBERS(
File)
89 VDJ_PIPE_DECL std::size_t hash_value(
File const& f);
109 :
File(
"", compression::unknown, fmt)
113 std::string
const& path,
Format
File format types.
Definition: file_properties.hpp:42
Compression
File compression types.
Definition: file_properties.hpp:19
VDJ_PIPE_DECL compression::Compression guess_compression_ext(std::string const &path)
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
VDJ_PIPE_DECL std::pair< compression::Compression, format::Format > guess_compression_format(std::string const &path)
VDJ_PIPE_DECL std::string ensure_path_writable(std::string const &path)
create file if does not exist along with parent directories if needed
VDJ_PIPE_DECL compression::Compression guess_compression_magic(std::string const &path)
VDJ_PIPE_DECL bool is_path_readable(std::string const &path)
VDJ_PIPE_DECL std::string ensure_path_readable(std::string const &path)
Definition: exception.hpp:23
VDJ_PIPE_DECL format::Format guess_format(std::string const &path, const compression::Compression c)
File target is created if needed at construction time.
Definition: file.hpp:105