]> git.donarmstrong.com Git - bamtools.git/blob - src/api/internal/BamDeviceFactory_p.h
f12683131a95bfd316fb1af3f811ba1ceafc2e90
[bamtools.git] / src / api / internal / BamDeviceFactory_p.h
1 // ***************************************************************************
2 // BamDeviceFactory_p.h (c) 2011 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // ---------------------------------------------------------------------------
5 // Last modified: 8 September 2011 (DB)
6 // ---------------------------------------------------------------------------
7 // Creates built-in concrete implementations of IBamIODevices
8 // ***************************************************************************
9
10 #ifndef BAMDEVICEFACTORY_P_H
11 #define BAMDEVICEFACTORY_P_H
12
13 //  -------------
14 //  W A R N I N G
15 //  -------------
16 //
17 // This file is not part of the BamTools API.  It exists purely as an
18 // implementation detail. This header file may change from version to version
19 // without notice, or even be removed.
20 //
21 // We mean it.
22
23 #include <api/IBamIODevice.h>
24 #include <string>
25
26 namespace BamTools {
27 namespace Internal {
28
29 class BamDeviceFactory {
30     public:
31         static IBamIODevice* CreateDevice(const std::string& source);
32 };
33
34 } // namespace Internal
35 } // namespace BamTools
36
37 #endif // BAMDEVICEFACTORY_P_H