19 unparsedArguments_.clear();
22 unique_ptr<IMultiTree> iTrees;
23 if (format ==
"Newick")
26 iTrees.reset(
new Newick(allowComments));
28 else if (format ==
"Nhx")
30 iTrees.reset(
new Nhx());
32 else if (format ==
"Nexus")
38 throw Exception(
"Trees format '" + format +
"' unknown.");
41 return iTrees.release();
General interface for multiple trees readers.
The so-called 'newick' parenthetic format.
a simple parser for reading trees from a Nexus file.
The so-called 'Nhx - New Hampshire eXtended' parenthetic format.
Defines the basic types of data flow nodes.