yat  0.21pre
VcfCompare.h
1 #ifndef theplu_yat_omic_vcf_compare
2 #define theplu_yat_omic_vcf_compare
3 
4 // $Id: VcfCompare.h 3759 2018-10-17 22:54:01Z peter $
5 
6 /*
7  Copyright (C) 2018 Peter Johansson
8 
9  The yat library is free software; you can redistribute it and/or
10  modify it under the terms of the GNU General Public License as
11  published by the Free Software Foundation; either version 3 of the
12  License, or (at your option) any later version.
13 
14  The yat library is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with yat. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 #include <cstddef>
24 #include <map>
25 #include <string>
26 
27 namespace theplu {
28 namespace yat {
29 namespace omic {
30 
31  class VcfHeader;
32  class VCF;
33 
40  class VcfCompare
41  {
42  public:
48  VcfCompare(void);
49 
54  VcfCompare(const VcfHeader& hdr);
55 
65  bool operator()(const VCF& lhs, const VCF& rhs) const;
66 
67  private:
68  std::map<std::string, size_t> chr2tid_;
69  };
70 
71 }}}
72 
73 #endif
Definition: VCF.h:49
The Department of Theoretical Physics namespace as we define it.
Definition: VcfHeader.h:34
bool operator()(const VCF &lhs, const VCF &rhs) const
Definition: VcfCompare.h:40

Generated on Wed Jan 25 2023 03:34:29 for yat by  doxygen 1.8.14