libStatGen Software 1
|
Classes | |
class | Bin |
class | Reference |
Public Member Functions | |
virtual void | resetIndex () |
Reset the member data for a new index file. | |
virtual StatGenStatus::Status | readIndex (const char *filename)=0 |
int32_t | getNumRefs () const |
Get the number of references in this index. | |
bool | getMinOffsetFromLinearIndex (int32_t refID, uint32_t position, uint64_t &minOffset) const |
Static Protected Member Functions | |
static void | getBinsForRegion (uint32_t start, uint32_t end, bool binMap[MAX_NUM_BINS+1]) |
Protected Attributes | |
int32_t | n_ref |
std::vector< Reference > | myRefs |
Static Protected Attributes | |
static const uint32_t | MAX_NUM_BINS = 37450 |
static const uint32_t | MAX_POSITION = 536870911 |
static const uint32_t | LINEAR_INDEX_SHIFT = 14 |
Definition at line 62 of file IndexBase.h.
IndexBase::IndexBase | ( | ) |
Definition at line 116 of file IndexBase.cpp.
|
virtual |
Definition at line 124 of file IndexBase.cpp.
|
staticprotected |
Definition at line 148 of file IndexBase.cpp.
bool IndexBase::getMinOffsetFromLinearIndex | ( | int32_t | refID, |
uint32_t | position, | ||
uint64_t & | minOffset | ||
) | const |
Definition at line 185 of file IndexBase.cpp.
int32_t IndexBase::getNumRefs | ( | ) | const |
Get the number of references in this index.
Definition at line 139 of file IndexBase.cpp.
|
pure virtual |
|
virtual |
Reset the member data for a new index file.
Reimplemented in BamIndex, and Tabix.
Definition at line 130 of file IndexBase.cpp.
Referenced by BamIndex::resetIndex(), and Tabix::resetIndex().
|
staticprotected |
Definition at line 95 of file IndexBase.h.
|
staticprotected |
Definition at line 87 of file IndexBase.h.
|
staticprotected |
Definition at line 91 of file IndexBase.h.
|
protected |
Definition at line 161 of file IndexBase.h.
|
protected |
Definition at line 158 of file IndexBase.h.