Othello
 All Classes Files Functions Variables Macros
io_helper.h File Reference
#include <string>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <errno.h>
#include <queue>
#include <algorithm>
#include <cstring>
Include dependency graph for io_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IOHelper< keyType, valueType >
 interface for converting a key from its raw format to a keyTypeype. Split key into groups. More...
 
class  FileReader< keyType, valueType >
 
class  ConstantLengthKmerHelper< keyType, valueType >
 IOHelper for Constant-Length Kmers. More...
 
class  KmerFileReader< keyType, valueType >
 
struct  KVpair< keyType, valueType >
 
class  compressFileReader< keyType, valueType >
 
class  MultivalueFileReaderWriter< keyType, valueType >
 
class  KmerReader< keyType >
 
class  BinaryKmerReader< KVpair >
 
class  BinaryKmerWriter< KVpair >
 
class  SortedKmerTxtReader< keyType >
 read kmer from unsorted txt file and sort . More...
 
class  taxoTreeBuilder< keyType, valueType >
 

Functions

std::string human (uint64_t word)
 convert a 64-bit Integer to human-readable format in K/M/G. e.g, 102400 is converted to "100K".
 
std::vector< std::string > split (const char *str, char deli)
 split a c-style string with delimineter chara.
 
template<typename keyType , typename valueType >
struct KVpair __attribute__ ((packed))
 
bool friend operator< (const KVpair &a, const KVpair &b)
 

Variables

keyType k
 
valueType v
 
compressFileReader __attribute__
 

Detailed Description

Contains IO utilities.