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 | Private Attributes
Registration Class Reference

A class which registers a child of Data in Data::new_data_. More...

#include <data.h>

Public Member Functions

 Registration (const std::string &str, Data *(*fn)(const std::vector< std::string > &))
 < The constructor of Registration, which stores a constructor for a Data class to new_data_ More...
 

Private Attributes

std::string name_
 

Detailed Description

A class which registers a child of Data in Data::new_data_.

All children of Data should have a static declaration of Registration so that they can be created by sql_read and sql_write.


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