mapgd  0.4
A program for the Maximum-likelihood analysis of population genomic data.
 All Data Structures Functions Variables Friends Groups Pages
Public Member Functions | Protected Attributes
Double_indexed_data Class Reference
Inheritance diagram for Double_indexed_data:
Inheritance graph
[legend]
Collaboration diagram for Double_indexed_data:
Collaboration graph
[legend]

Public Member Functions

void write_pos (std::ostream &str) const
 
void read_pos (std::istream &str)
 
 Double_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.
 
id1_t get_abs_pos2 (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.
 
void set_abs_pos2 (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_pos1_
 
id1_t abs_pos2_
 

Additional Inherited Members

- Static Public Member Functions inherited from Data
static Datanew_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.
 

The documentation for this class was generated from the following files: