26 #include "IndexBase.h"
29 #include "StatGenStatus.h"
56 bool getStartPos(
const char* refName, int32_t start,
57 uint64_t& fileStartPos)
const;
61 const char*
getRefName(
unsigned int indexNum)
const;
64 inline int32_t getFormat()
const {
return myFormat.format; }
79 char* myChromNamesBuffer;
82 std::vector<const char*> myChromNamesVector;
Status
Return value enum for StatGenFile methods.
void resetIndex()
Reset the member data for a new index file.
bool getStartPos(const char *refName, int32_t start, uint64_t &fileStartPos) const
Get the starting file offset to look for the specified start position.
const char * getRefName(unsigned int indexNum) const
Return the reference name at the specified index or throws an exception if out of range.
StatGenStatus::Status readIndex(const char *filename)