]> git.donarmstrong.com Git - mothur.git/blob - currentfile.h
adding current file class
[mothur.git] / currentfile.h
1 #ifndef CURRENTFILE_H
2 #define CURRENTFILE_H
3
4 /*
5  *  currentfile.h
6  *  Mothur
7  *
8  *  Created by westcott on 3/15/11.
9  *  Copyright 2011 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14
15 /***********************************************/
16
17 class CurrentFile {
18         
19 public:
20         
21         static CurrentFile* getInstance();
22         
23         string getPhylipFile()          { return phylipfile;            }
24         string getColumnFile()          { return columnfile;            }
25         string getListFile()            { return listfile;                      }
26         string getRabundFile()          { return rabundfile;            }
27         string getSabundFile()          { return sabundfile;            }
28         string getNameFile()            { return namefile;                      }       
29         string getGroupFile()           { return groupfile;                     }       
30         string getOrderFile()           { return orderfile;                     }
31         string getOrderGroupFile()      { return ordergroupfile;        }
32         string getTreeFile()            { return treefile;                      }
33         string getSharedFile()          { return sharedfile;            }
34         string getRelAbundFile()        { return relabundfile;          }
35         string getDesignFile()          { return designfile;            }
36         string getFastaFile()           { return fastafile;                     }
37         string getSFFFile()                     { return sfffile;                       }
38         string getQualFile()            { return qualfile;                      }
39         string getOligosFile()          { return oligosfile;            }
40         
41         
42         void setListFile(string f)                      { listfile = f;                         }
43         void setTreeFile(string f)                      { treefile = f;                         }
44         void setGroupFile(string f)                     { groupfile = f;                        }               
45         void setPhylipFile(string f)            { phylipfile = f;                       }
46         void setColumnFile(string f)            { columnfile = f;                       }
47         void setNameFile(string f)                      { namefile = f;                         }       
48         void setRabundFile(string f)            { rabundfile = f;                       }
49         void setSabundFile(string f)            { sabundfile = f;                       }
50         void setSharedFile(string f)            { sharedfile = f;                       }
51         void setRelAbundFile(string f)          { relabundfile = f;                     }
52         void setOrderFile(string f)                     { orderfile = f;                        }
53         void setOrderGroupFile(string f)        { ordergroupfile = f;           }
54         void setDesignFile(string f)            { designfile = f;                       }
55         void setFastaFile(string f)                     { fastafile = f;                        }
56         void setSFFFile(string f)                       { sfffile = f;                          }
57         void setQualFile(string f)                      { qualfile = f;                         }
58         void setOligosFile(string f)            { oligosfile = f;                       }
59         
60 private:
61         static CurrentFile* _uniqueInstance;
62         CurrentFile( const CurrentFile& ); // Disable copy constructor
63         void operator=( const CurrentFile& ); // Disable assignment operator
64         CurrentFile();
65         ~CurrentFile();
66         
67         string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, designfile;
68         string orderfile, treefile, sharedfile, ordergroupfile, relabundfile, fastafile, qualfile, sfffile, oligosfile;
69         
70         
71 };
72 /***********************************************/
73
74 #endif
75