mapgd  0.4
A program for the Maximum-likelihood analysis of population genomic data.
 All Data Structures Functions Variables Friends Groups Pages
region.h
1 #ifndef _REGION_H_
2 #define _REGION_H_
3 
4 #include "typedef.h"
5 #include "stream_tools.h"
6 #include <iostream>
7 #include <vector>
8 #include "file_index.h"
9 
10 class Region {
11 private :
12 public :
13  id1_t abs_start, start, abs_stop, stop;
14  id0_t id0;
15  std::string scf_name;
16  Region(const std::string &, const id1_t &, const id1_t &);
17  Region(const id0_t &, const id1_t &, const id1_t &);
18  Region(const id1_t &, const id1_t &);
19  Region();
20  friend std::ostream& operator << (std::ostream& out, const Region& x);
21  friend std::istream& operator >> (std::istream& in, Region& x);
22  void set(const File_index &);
23 };
24 
25 bool isregion(const char *);
26 Region ator(const char *);
27 
28 #endif
An interface that transforms pairs of name and position keys into record numbers. ...
Definition: file_index.h:23
Definition: region.h:10
Region()
constructor.
Definition: region.cc:2