8 * Created by westcott on 3/15/11.
9 * Copyright 2011 Schloss Lab. All rights reserved.
13 #include "mothurout.h"
16 /***********************************************/
21 static CurrentFile* getInstance() {
22 if(instance == 0) { instance = new CurrentFile(); }
26 string getPhylipFile() { return phylipfile; }
27 string getColumnFile() { return columnfile; }
28 string getListFile() { return listfile; }
29 string getRabundFile() { return rabundfile; }
30 string getSabundFile() { return sabundfile; }
31 string getNameFile() { return namefile; }
32 string getGroupFile() { return groupfile; }
33 string getOrderFile() { return orderfile; }
34 string getOrderGroupFile() { return ordergroupfile; }
35 string getTreeFile() { return treefile; }
36 string getSharedFile() { return sharedfile; }
37 string getRelAbundFile() { return relabundfile; }
38 string getDesignFile() { return designfile; }
39 string getFastaFile() { return fastafile; }
40 string getSFFFile() { return sfffile; }
41 string getQualFile() { return qualfile; }
42 string getOligosFile() { return oligosfile; }
45 void setListFile(string f) { listfile = m->getFullPathName(f); }
46 void setTreeFile(string f) { treefile = m->getFullPathName(f); }
47 void setGroupFile(string f) { groupfile = m->getFullPathName(f); }
48 void setPhylipFile(string f) { phylipfile = m->getFullPathName(f); }
49 void setColumnFile(string f) { columnfile = m->getFullPathName(f); }
50 void setNameFile(string f) { namefile = m->getFullPathName(f); }
51 void setRabundFile(string f) { rabundfile = m->getFullPathName(f); }
52 void setSabundFile(string f) { sabundfile = m->getFullPathName(f); }
53 void setSharedFile(string f) { sharedfile = m->getFullPathName(f); }
54 void setRelAbundFile(string f) { relabundfile = m->getFullPathName(f); }
55 void setOrderFile(string f) { orderfile = m->getFullPathName(f); }
56 void setOrderGroupFile(string f) { ordergroupfile = m->getFullPathName(f); }
57 void setDesignFile(string f) { designfile = m->getFullPathName(f); }
58 void setFastaFile(string f) { fastafile = m->getFullPathName(f); }
59 void setSFFFile(string f) { sfffile = m->getFullPathName(f); }
60 void setQualFile(string f) { qualfile = m->getFullPathName(f); }
61 void setOligosFile(string f) { oligosfile = m->getFullPathName(f); }
65 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, designfile;
66 string orderfile, treefile, sharedfile, ordergroupfile, relabundfile, fastafile, qualfile, sfffile, oligosfile;
68 static CurrentFile* instance;
69 CurrentFile( const CurrentFile& ); // Disable copy constructor
70 void operator=( const CurrentFile& ); // Disable assignment operator
91 ~CurrentFile() { instance = 0; }
93 /***********************************************/