Frog
|
#include <iostream>
#include <iomanip>
#include "ticcutils/PrettyPrint.h"
#include "ticcutils/StringOps.h"
#include "frog/FrogData.h"
#include "frog/mbma_brackets.h"
Functions | |
ostream & | operator<< (ostream &os, const frog_record &fr) |
frog_record | merge (const frog_data &fd, size_t start, size_t finish) |
ostream & | operator<< (ostream &os, const frog_data &fd) |
Variables | |
const string | TAB = "\t" |
frog_record merge | ( | const frog_data & | fd, |
size_t | start, | ||
size_t | finish | ||
) |
merge a range of records of an frog_data structure into the first one
fd | the frog_data structure |
start | index of the first record in the structure to merge |
finish | index of the last record in the structure to merge |
all information from the records start +1 to finish is merged into the record at position start. Strings are concatenated using an underscore ('_') which is the way Frog has always displayed MWU's
ostream& operator<< | ( | ostream & | os, |
const frog_data & | fd | ||
) |
output a frog_data structure to a stream
os | output stream |
fd | the record to output |
ostream& operator<< | ( | ostream & | os, |
const frog_record & | fr | ||
) |
output a frog_record structure to a stream
os | output stream |
fr | the record to output |
const string TAB = "\t" |