Writes a CrrFile to an output stream. More...
#include <CrrFileWriter.hpp>
Classes | |
struct | ChromosomeInfo |
Public Member Functions | |
CrrFileWriter (std::ostream *out) | |
Construct this CrrFileWriter -- out must be randomly accessible (not stdout). | |
void | newChromosome (const std::string &name, bool circular) |
Start adding sequence for a new chromosome. | |
void | addSequence (const std::string &sequence) |
Function to stream additional sequence into the CrrFileWriter. | |
void | close () |
Finish writing the CrrFile (automatically called by destructor). | |
Friends | |
class | CrrFile |
Writes a CrrFile to an output stream.
cgatools::reference::CrrFileWriter::CrrFileWriter | ( | std::ostream * | out | ) |
Construct this CrrFileWriter -- out must be randomly accessible (not stdout).
void cgatools::reference::CrrFileWriter::close | ( | ) |
Finish writing the CrrFile (automatically called by destructor).