source: trunk/yat/omic/BamPair.h @ 3175

Last change on this file since 3175 was 3175, checked in by Peter, 9 years ago

new class BamPair?. refs #784

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1#ifndef theplu_yat_omic_bam_pair
2#define theplu_yat_omic_bam_pair
3
4// $Id: BamPair.h 3175 2014-03-15 08:15:51Z peter $
5
6/*
7  Copyright (C) 2014 Peter Johansson
8
9  This file is part of the yat library, http://dev.thep.lu.se/yat
10
11  The yat library is free software; you can redistribute it and/or
12  modify it under the terms of the GNU General Public License as
13  published by the Free Software Foundation; either version 3 of the
14  License, or (at your option) any later version.
15
16  The yat library is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  General Public License for more details.
20
21  You should have received a copy of the GNU General Public License
22  along with this program. If not, see <http://www.gnu.org/licenses/>.
23*/
24
25#include "BamRead.h"
26
27namespace theplu {
28namespace yat {
29namespace omic {
30
31  /**
32     \since New in yat 0.12
33   */
34  class BamPair
35  {
36  public:
37    /**
38       \brief default constructor
39
40       Creating a pair using default constructor of BamRead.
41     */
42    BamPair(void);
43
44    /**
45       \brief Copy constructor
46     */
47    BamPair(const BamRead& first, const BamRead& second);
48
49    /**
50       \brief access first BamRead
51    */
52    BamRead& first(void);
53
54    /**
55       \brief access first BamRead
56    */
57    const BamRead& first(void) const;
58
59    /**
60       \brief access second BamRead
61    */
62    BamRead& second(void);
63
64    /**
65       \brief access second BamRead
66    */
67    const BamRead& second(void) const;
68
69  private:
70    BamRead first_;
71    BamRead second_;
72  };
73
74}}}
75#endif
Note: See TracBrowser for help on using the repository browser.