NCBI C++ ToolKit
|
Search Toolkit Book for CBGZFPos
#include <sra/readers/bam/bgzf.hpp>
Public Types | |
typedef Uint8 | TFileBlockPos |
typedef Uint4 | TByteOffset |
typedef Uint8 | TVirtualPos |
Public Member Functions | |
CBGZFPos () | |
CBGZFPos (TVirtualPos pos) | |
CBGZFPos (TFileBlockPos block_pos, TByteOffset byte_offset) | |
TVirtualPos | GetVirtualPos () const |
TFileBlockPos | GetFileBlockPos () const |
TByteOffset | GetByteOffset () const |
bool | operator== (const CBGZFPos &b) const |
bool | operator!= (const CBGZFPos &b) const |
bool | operator< (const CBGZFPos &b) const |
bool | operator> (const CBGZFPos &b) const |
bool | operator<= (const CBGZFPos &b) const |
bool | operator>= (const CBGZFPos &b) const |
bool | IsInvalid () const |
DECLARE_OPERATOR_BOOL (m_VirtualPos !=0) | |
Static Public Member Functions | |
static CBGZFPos | GetInvalid () |
Static Public Attributes | |
static const Uint4 | kMaxBlockSize = 1<<16 |
Private Attributes | |
TVirtualPos | m_VirtualPos |
typedef Uint4 CBGZFPos::TByteOffset |
typedef Uint8 CBGZFPos::TFileBlockPos |
typedef Uint8 CBGZFPos::TVirtualPos |
|
inline |
Definition at line 201 of file bgzf.hpp.
Referenced by GetInvalid().
|
inlineexplicit |
|
inline |
CBGZFPos::DECLARE_OPERATOR_BOOL | ( | m_VirtualPos ! | = 0 | ) |
|
inline |
Definition at line 224 of file bgzf.hpp.
References m_VirtualPos.
Referenced by operator<<(), s_EstimatedPos(), and CBGZFStream::Seek().
|
inline |
Definition at line 220 of file bgzf.hpp.
References m_VirtualPos.
Referenced by operator<<(), s_EstimatedPos(), and CBGZFStream::Seek().
Definition at line 254 of file bgzf.hpp.
References CBGZFPos().
Referenced by CBamFileRangeSet::AddFrom(), CBamFileRangeSet::AddRanges(), SBamIndexRefIndex::GetAlnOverStarts(), SBamIndexRefIndex::GetFileRange(), SBamIndexRefIndex::GetLimitRange(), CBGZFStream::Open(), s_GetFilePos(), s_GetNextFilePos(), and s_GetOverlap().
|
inline |
|
inline |
Definition at line 258 of file bgzf.hpp.
References GetVirtualPos().
Referenced by SBamIndexRefIndex::GetAlnOverStarts().
Definition at line 233 of file bgzf.hpp.
References b, and m_VirtualPos.
Definition at line 237 of file bgzf.hpp.
References b, and m_VirtualPos.
Definition at line 245 of file bgzf.hpp.
References b, and m_VirtualPos.
Definition at line 229 of file bgzf.hpp.
References b, and m_VirtualPos.
Definition at line 241 of file bgzf.hpp.
References b, and m_VirtualPos.
Definition at line 249 of file bgzf.hpp.
References b, and m_VirtualPos.
|
private |
Definition at line 266 of file bgzf.hpp.
Referenced by GetByteOffset(), GetFileBlockPos(), GetVirtualPos(), operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().