1 #ifndef _PEDIGREE_DATA_H_
2 #define _PEDIGREE_DATA_H_
20 void write (std::ostream&)
const;
21 void read (std::istream&);
23 static Data * create(
const std::vector <std::string> & Columns){
36 Pedigree(
const std::string &,
const std::string &);
39 std::string
header(
void)
const;
41 size_t size(
void)
const;
45 static const bool binary;
47 const bool get_binary()
const;
size_t size(void) const
Size in bytes for binary read/write.
Pedigree data.
Definition: pedigree.h:18
Pedigree(const std::vector< std::string > &)
Delegating a neccisary constructor.
Definition: pedigree.h:34
std::string header(void) const
The header line of plain text files.
char delim
the delimiter used when reading/writing the class in text mode.
Definition: pedigree.h:30
Definition: pedigree_record.h:7
void read(std::istream &)
use to read Allele. Inherits >>
static const std::string table_name
Destination table in Db.
Definition: pedigree.h:44
void write(std::ostream &) const
use to write Allele. Inherits <<
A class which registers a child of Data in Data::new_data_.
Definition: data.h:222
A class which can be written as flat text file or into an SQL database.
Definition: data.h:34
static const std::string file_name
The dafualt extention for files.
Definition: pedigree.h:43