+class ReadNewickTree : public ReadTree {
+
+public:
+ ReadNewickTree(string file) : treeFile(file) { m->openInputFile(file, filehandle); readOk = 0; }
+ ~ReadNewickTree() {};
+ int read(CountTable*);
+
+private:
+ Tree* T;
+ int readNewickInt(istream&, int&, Tree*, CountTable*);
+ int readTreeString(CountTable*);
+ string nexusTranslation(CountTable*);
+ ifstream filehandle;
+ string treeFile;
+ string holder;
+ int readOk; // readOk = 0 means success, readOk = 1 means errors.
+