/usr/include/kmer/seqFactory.H is in libmeryl-dev 0~20150903+r2013-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef SEQFACTORY_H
#define SEQFACTORY_H
#include "util.h"
#include "seqFile.H"
class seqFactory {
protected:
seqFactory();
~seqFactory();
public:
static seqFactory *instance(void) {
if (me == 0L)
me = new seqFactory;
return(me);
};
void registerFile(seqFile *f);
seqFile *openFile(const char *name);
private:
static seqFactory *me;
uint32 _filesNum;
uint32 _filesMax;
seqFile **_files;
};
#define openSeqFile(S) seqFactory::instance()->openFile((S))
#endif // SEQFACTORY_H
|