7 * Created by Sarah Westcott on 1/22/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
16 #include "globaldata.hpp"
20 #define SKIPLINE(f,c) {while((c=f.get())!=EOF && ((c) != '\n')){}}
24 /****************************************************************************/
31 virtual void read() {};
32 int readSpecialChar(istream&, char, string);
33 int readNodeChar(istream& f);
34 float readBranchLength(istream& f);
37 Tree* getTree() { return T; }
39 int numNodes, numLeaves;
40 GlobalData* globaldata;
46 /****************************************************************************/
48 class ReadNewickTree : public ReadTree {
51 ReadNewickTree(string file) : treeFile(file) { openInputFile(file, filehandle); }
56 int readNewickInt(istream&, int&, Tree*);
61 /****************************************************************************/