15 #include "external-file.h"
16 #include "external-data.h"
19 #include "datatypes.h"
21 #include "stream_tools.h"
34 void get (
Data *, ...)
const;
37 id1_t
get (
State &)
const;
51 void open(
const std::ios_base::openmode &);
52 void open(
const char *,
const std::ios_base::openmode &);
void put(const Data *,...)
The write function must be defined in the child class.
Definition: bed_file.cc:122
Definition: bed_file.h:25
void open_no_extention(const char *, const std::ios::openmode &)
The function that opens a indexed_file (if file).
Definition: map_file.cc:59
An interface for reading and writing data specified outside of mapgd.
Definition: external-file.h:36
std::istream * in_
All data is read from in.
Definition: map_file.h:85
An interface used to read/write data from outside of mapgd.
Definition: external-data.h:17
Definition: bed_file.h:43
std::ostream * out_
All data is written is written to out.
Definition: map_file.h:86
bool open_
indicates whether the iostream opened succesfully
Definition: map_file.h:60
A class which can be written as flat text file or into an SQL database.
Definition: data.h:34