yat
0.10.4pre
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
scratch
bob
jari
tmp
pristine
yat-0.10.x
yat
omic
BamHeader.h
1
#ifndef theplu_yat_omic_bam_header
2
#define theplu_yat_omic_bam_header
3
4
// $Id: BamHeader.h 2928 2012-12-25 23:20:10Z peter $
5
//
6
// Copyright (C) 2012 Peter Johansson
7
//
8
// This program is free software; you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation; either version 3 of the License, or
11
// (at your option) any later version.
12
//
13
// This program is distributed in the hope that it will be useful, but
14
// WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
// General Public License for more details.
17
//
18
// You should have received a copy of the GNU General Public License
19
// along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21
#include "config_bam.h"
22
23
#include YAT_BAM_HEADER
24
25
namespace
theplu {
26
namespace
yat {
27
namespace
omic {
28
36
class
BamHeader
37
{
38
public
:
42
BamHeader
(
void
);
43
47
const
char
*
target_name
(
size_t
tid)
const
;
48
52
uint32_t
target_length
(
size_t
tid)
const
;
53
57
int32_t
n_targets
(
void
)
const
;
58
private
:
59
bam_header_t* header_;
60
61
friend
class
InBamFile
;
62
friend
class
OutBamFile
;
63
BamHeader
(bam_header_t* h);
64
65
// using compiler generated copy and assignment
66
//BamHeader(const BamHeader&);
67
//BamHeader& operator=(const BamHeader& rhs);
68
};
69
70
}}}
71
#endif
Generated on Mon Nov 11 2013 09:41:44 for yat by
1.8.1