Class representing a location in a CrrFile. More...
#include <range.hpp>
| Public Member Functions | |
| Location (uint16_t chromosome, uint32_t offset) | |
| int32_t | distanceTo (const Location &other) const | 
| Returns the position of the other Location minus the position of the current. | |
| Public Attributes | |
| uint16_t | chromosome_ | 
| Chromosome id in CrrFile. | |
| uint32_t | offset_ | 
| 0-based offset in CrrFile. | |
Class representing a location in a CrrFile.
Offsets in the CrrFile are 0-based.
Returns the position of the other Location minus the position of the current.
Returns std::numeric_limits<int32_t>::max() if the locations are on different chromosomes
 1.6.2
 1.6.2