18#ifndef __SAM_RECORD_POOL_H__
19#define __SAM_RECORD_POOL_H__
65 std::queue<SamRecord*> myFreeSamRecords;
void setMaxAllocatedRecs(int maxNumRecs)
Set the maximum number of records allowed to be allocated.
void releaseRecord(SamRecord *record)
If record is not NULL, adds it back to the free list.
~SamRecordPool()
Destructor.
SamRecordPool()
Constructor that sets there to be no max number of allocated records.
SamRecord * getRecord()
Get a SamRecord.
Class providing an easy to use interface to get/set/operate on the fields in a SAM/BAM record.