7 * Created by Sarah Westcott on 1/22/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
14 #include "globaldata.hpp"
15 #include "utilities.hpp"
19 #define SKIPLINE(f,c) {while((c=f.get())!=EOF && ((c) != '\n')){}}
23 /****************************************************************************/
30 virtual void read() {};
31 int readSpecialChar(istream&, char, string);
32 int readNodeChar(istream& f);
33 float readBranchLength(istream& f);
36 GlobalData* globaldata;
37 int numNodes, numLeaves;
41 /****************************************************************************/
43 class ReadNewickTree : public ReadTree {
46 ReadNewickTree(string file) : treeFile(file) { openInputFile(file, filehandle); }
52 int readNewickInt(istream&, int&, Tree*);
53 void readTreeString();
54 void nexusTranslation();
60 /****************************************************************************/