19 throw IOException(
"DarwinDon::write: fail to open stream.");
21 (out <<
"@DARwin 5.0 - DON").endLine();
27 vector<string> header;
28 header.push_back(
"N°");
29 header.push_back(
"Name");
30 (out << ind_nbr <<
"\t" << header.size() - 1).endLine();
36 for (
size_t j = 0; j < ind_nbr_ig; j++)
virtual void write(std::ostream &os, const DataSet &data_set) const =0
Write a DataSet on ostream.
void write(std::ostream &os, const DataSet &data_set) const
Write a DataSet on ostream.
size_t getNumberOfGroups() const
Get the number of Groups.
const Individual & getIndividualAtPositionFromGroup(size_t groupPosition, size_t individualPosition) const
Get an Individual from a Group.
size_t getNumberOfIndividualsInGroup(size_t groupPosition) const
Get the number of Individuals in a Group.
const std::string & getId() const
Get the id of the Individual.