|
mapgd
0.4
A program for the Maximum-likelihood analysis of population genomic data.
|
Data which has an absolute position. More...
#include <data.h>


Public Member Functions | |
| void | write_pos (std::ostream &str) const |
| void | read_pos (std::istream &str) |
| Indexed_data (std::vector< std::string > &) | |
| id1_t | get_abs_pos (void) const |
| Indexed data needs to associate each datum with a position in the genome. | |
| void | set_abs_pos (const id1_t &) |
| Indexed data needs to associate each datum with a position in the genome. | |
| const bool | indexed () const |
Public Member Functions inherited from Data | |
| virtual std::string | header (void) const =0 |
| void | read_binary (std::istream &str) |
| void | write_binary (std::ostream &str) const |
| Data (std::vector< std::string > &) | |
| virtual const std::string | get_file_name () const |
| virtual const std::string | get_table_name () const |
| virtual const bool | get_binary () const |
| virtual const std::string | sql_header (void) const |
| Return the names of the columns, along with variable type. | |
| virtual const std::string | sql_column_names (void) const |
| Return the names of the columns. | |
| virtual const std::string | sql_values (void) const |
| Return the values to be placed in columns. | |
| virtual void | sql_read (std::istream &) |
| Reads the values... | |
| virtual size_t | size (void) const |
| The size of the class in bytes. | |
Protected Attributes | |
| id1_t | abs_pos_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Data | |
| static Data * | new_from_str (const std::string &, const std::vector< std::string > &) |
| Constructs an instance of the class Registered w/ string. | |
Static Public Attributes inherited from Data | |
| static const std::string | file_name =".txt" |
| The read function must be defined in the child class. More... | |
| static const std::string | table_name ="NONE" |
| The read function must be defined in the child class. More... | |
Protected Member Functions inherited from Data | |
| virtual void | read (std::istream &str)=0 |
| The read function must be defined in the child class. | |
| virtual void | write (std::ostream &str) const =0 |
| The write function must be defined in the child class. | |
Data which has an absolute position.
1.8.6