mapgd  0.4
A program for the Maximum-likelihood analysis of population genomic data.
 All Data Structures Functions Variables Friends Groups Pages
external-data.h
1 #ifndef _EXTERNAL_DATA_H_
2 #define _EXTERNAL_DATA_H_
3 
4 #include <vector>
5 #include <string>
6 #include <map>
7 #include <iostream>
8 
9 #include <stdarg.h>
10 
11 #include "typedef.h"
12 
14 
18 
19 public:
21  virtual void put(const Data* data, ...) = 0;
23  virtual void get(Data* data, ...) const = 0;
24 
25 };
26 
27 #endif
An interface used to read/write data from outside of mapgd.
Definition: external-data.h:17
A class which can be written as flat text file or into an SQL database.
Definition: data.h:34
virtual void put(const Data *data,...)=0
The write function must be defined in the child class.