multovl
1.3
Multiple overlaps of genomic regions
|
Base class of stringifier objects. More...
#include "linewriter.hh"
Public Member Functions | |
Linewriter (const std::string &chrom) | |
virtual std::string | write (const Region ®)=0 |
virtual std::string | write (const MultiRegion ®)=0 |
Protected Member Functions | |
void | reset () |
Protected Attributes | |
std::string | _chr |
std::ostringstream | _ostr |
Base class of stringifier objects.
|
explicit |
Sets up a Linewriter object.
chrom | the chromosome name containing the regions to be stringified |
|
pure virtual |
Writes a Region to a string (no newline) and returns it.
reg | the Region to be stringified |
Implemented in multovl::io::GffLinewriter, and multovl::io::BedLinewriter.
|
pure virtual |
Writes a MultiRegion to a string (no newline) and returns it.
reg | the MultiRegion to be stringified |
Implemented in multovl::io::GffLinewriter, and multovl::io::BedLinewriter.