Gamgee
You miserable little maggot. I'll stove your head in!
|
Go to the source code of this file.
Namespaces | |
gamgee | |
gamgee::utils | |
utility functions for the gamgee library | |
Enumerations | |
enum | gamgee::utils::VariantFieldType { gamgee::utils::VariantFieldType::NIL = 0, gamgee::utils::VariantFieldType::INT8 = 1, gamgee::utils::VariantFieldType::INT16 = 2, gamgee::utils::VariantFieldType::INT32 = 3, gamgee::utils::VariantFieldType::FLOAT = 5, gamgee::utils::VariantFieldType::STRING = 7 } |
an enumeration of the types in htslib for the format field values More... | |
Functions | |
int32_t | gamgee::utils::convert_data_to_integer (const uint8_t *data_ptr, const int index, const uint8_t num_bytes_per_value, const VariantFieldType &type) |
converts the value in an index from the byte array into int32_t More... | |
float | gamgee::utils::convert_data_to_float (const uint8_t *data_ptr, const int index, const uint8_t num_bytes_per_value, const VariantFieldType &type) |
converts the value in an index from the byte array into float More... | |
std::string | gamgee::utils::convert_data_to_string (const uint8_t *data_ptr, const int index, const uint8_t num_bytes_per_value, const VariantFieldType &type) |
converts the value in an index from the byte array into string More... | |
uint8_t | gamgee::utils::size_for_type (const VariantFieldType &type, const bcf_fmt_t *const format_ptr) |
returns the number of bytes for a given VariantFieldType More... | |
uint8_t | gamgee::utils::size_for_type (const VariantFieldType &type, const bcf_info_t *const info_ptr) |
returns the number of bytes for a given VariantFieldType More... | |
bool | gamgee::utils::is_string_type (const int32_t &type) |
| |