|
mapgd
0.4
A program for the Maximum-likelihood analysis of population genomic data.
|
The sample specific goodness of fit. More...
#include <sample_gof.h>


Public Member Functions | |
| Sample_gof (std::vector< std::string >) | |
| Sample_gof (const std::string &, const float_t &) | |
| std::string | header (void) const |
| size_t | size (void) const |
| The size of the class in bytes. | |
| const std::string | get_file_name (void) const |
| The dafualt extention for files. | |
| const std::string | get_table_name (void) const |
| Destination table in Db. | |
| const bool | get_binary () const |
| Destination table in Db. | |
Public Member Functions inherited from Data | |
| void | read_binary (std::istream &str) |
| void | write_binary (std::ostream &str) const |
| Data (std::vector< std::string > &) | |
| virtual const bool | indexed () 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... | |
Data Fields | |
| char | delim |
| the delimiter used when reading/writing the class in text mode. | |
| float_t | number_ |
| std::string | name_ |
Static Public Attributes | |
| static const std::string | file_name =".gof" |
| The dafualt extention for files. | |
| static const std::string | table_name ="SAMPLE" |
| Destination table in Db. | |
| static const bool | binary =false |
| Destination table in Db. | |
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... | |
Private Member Functions | |
| void | write (std::ostream &) const |
| use the << operator to write Allele. | |
| void | read (std::istream &) |
| use the >> operator to read Allele. | |
Static Private Member Functions | |
| static Data * | create (const std::vector< std::string > &Columns) |
Static Private Attributes | |
| static const Registration | registered =Registration(Sample_gof::table_name, Sample_gof::create) |
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. | |
The sample specific goodness of fit.
1.8.6