vdj_pipe
pipeline for processing DNA sequence data
Main Page
Namespaces
Classes
Files
File List
include
vdj_pipe
sequence_file.hpp
Go to the documentation of this file.
1
7
#ifndef SEQUENCE_FILE_HPP_
8
#define SEQUENCE_FILE_HPP_
9
#include <string>
10
#include "
vdj_pipe/exception.hpp
"
11
#include "
vdj_pipe/object_ids.hpp
"
12
#include "
vdj_pipe/file.hpp
"
13
14
namespace
vdj_pipe
{
15
class
Seq_file_map
;
16
19
class
Seq_file
:
public
File_input
{
20
friend
class
Seq_file_map
;
21
22
public
:
23
explicit
Seq_file
(
24
std::string
const
& path,
25
const
bool
reverse =
false
26
)
27
:
File_input
(path),
28
pid_(),
29
is_reverse_(reverse)
30
{}
31
32
Path_id id()
const
{
return
pid_;}
33
bool
is_reverse()
const
{
return
is_reverse_;}
34
35
Seq_file
& reverse(
const
bool
rev) {
36
is_reverse_ = rev;
37
return
*
this
;
38
}
39
40
private
:
41
Path_id pid_;
42
bool
is_reverse_;
43
};
44
45
}
//namespace vdj_pipe
46
#endif
/* SEQUENCE_FILE_HPP_ */
file.hpp
object_ids.hpp
vdj_pipe
Main namespace of vdj_pipe library.
Definition:
sequence_file.hpp:14
vdj_pipe::File_input
File target is supposed to exist at construction time.
Definition:
file.hpp:93
vdj_pipe::Seq_file_map
Definition:
sequence_file_map.hpp:24
vdj_pipe::Seq_file
Definition:
sequence_file.hpp:19
exception.hpp
Generated by
1.8.11