|
mapgd
0.4
A program for the Maximum-likelihood analysis of population genomic data.
|
The name of a sample (i.e. what the user called it). More...
#include <sample_name.h>


Public Member Functions | |
| Sample_name (const std::vector< std::string > &) | |
| Sample_name (const std::string &, const float_t &) | |
| const std::string | get_file_name () const |
| const std::string | get_table_name () const |
| std::string | header (void) const |
| size_t | size (void) const |
| The size of the class in bytes. | |
| const bool | get_binary (void) const |
| The dafualt extention for files. | |
| const std::string | sql_header (void) const |
| Destination table in Db. | |
| const std::string | sql_column_names (void) const |
| Destination table in Db. | |
| const std::string | sql_values (void) 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 void | sql_read (std::istream &) |
| Reads the values... | |
Data Fields | |
| char | delim |
| the delimiter used when reading/writing the class in text mode. | |
| std::string | mpileup_name |
| std::vector< std::string > | sample_names |
Static Public Attributes | |
| static const std::string | file_name =".txt" |
| The dafualt extention for files. | |
| static const std::string | table_name ="FILES" |
| 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 | read (std::istream &str) |
| The read function must be defined in the child class. | |
| void | write (std::ostream &str) const |
| ! the write function must be ? by the child class. | |
Static Private Member Functions | |
| static Data * | create (const std::vector< std::string > &Columns) |
Static Private Attributes | |
| static const Registration | registered =Registration(Sample_name::table_name, Sample_name::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 name of a sample (i.e. what the user called it).
1.8.6