]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/BamIndex.h
Removed index cache mode
[bamtools.git] / src / api / BamIndex.h
index 5e40d87eb517d4fbc8797e8f5d874eb520602f56..b0b1281b4c517c375113cbc6426cf5d7ddc9d480 100644 (file)
@@ -35,11 +35,6 @@ class API_EXPORT BamIndex {
 
     // enums
     public:
-        // specify index-caching behavior
-        enum IndexCacheMode { FullIndexCaching = 0 // store entire index file contents in memory
-                            , LimitedIndexCaching  // store only index data for current reference
-                            , NoIndexCaching       // do not store any index data between jumps
-                            };
 
         // list of supported BamIndex types
         enum IndexType { BAMTOOLS = 0
@@ -71,9 +66,6 @@ class API_EXPORT BamIndex {
         // loads existing data from file into memory
         virtual bool Load(const std::string& filename) =0;
 
-        // change the index caching behavior
-        virtual void SetCacheMode(const BamIndex::IndexCacheMode& mode) =0;
-
     //! \cond
 
     // internal methods