|
vg
tools for working with variation graphs
|
Define a way to pack an integer and an orientation bit into a handle_t. More...
#include <util.hpp>
Static Public Member Functions | |
| static uint64_t | unpack_number (const handle_t &handle) |
| Extract the packed integer. | |
| static bool | unpack_bit (const handle_t &handle) |
| Extract the packed bit. | |
| static handle_t | pack (const uint64_t &number, const bool &bit) |
| Pack up an integer and a bit into a handle. | |
| static handle_t | toggle_bit (const handle_t &handle) |
| Toggle the packed bit and return a new handle. | |
Define a way to pack an integer and an orientation bit into a handle_t.
|
inlinestatic |
Pack up an integer and a bit into a handle.
Toggle the packed bit and return a new handle.
|
inlinestatic |
Extract the packed bit.
|
inlinestatic |
Extract the packed integer.
1.15.0