Spec RnaStructFileOut
Class for writing DBN, DBV, CT, STH, BPSEQ, and EBPSEQ files containing RNA structures.

Extends FormattedFileOut
All Extended FormattedFile, FormattedFileOut
Defined in <seqan/rna_io.h>
Signature typedef FormattedFile<RnaStruct, Output> RnaStructFileOut;

Member Function Overview

Member Functions Inherited From FormattedFile

Interface Function Overview

Interface Functions Inherited From FormattedFile

Interface Functions Inherited From FormattedFileOut

Interface Metafunction Overview

Interface Metafunctions Inherited From FormattedFile

Interface Functions Detail

void writeHeader(fileOut, header);

Write one FormattedFileHeaderConcept into an RnaStructFileOut object.

Parameters

fileOut The RnaStructFileOut object to write into.
record The RnaHeader object where to read from.

Thrown Exceptions

IOError On low-level I/O errors.
ParseError On high-level file format errors.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

void writeRecord(fileOut, record);

Write one FormattedFileRecordConcept into an RnaStructFileOut object.

Parameters

fileOut The RnaStructFileOut object to write into.
record The RnaRecord object where to read from.

Thrown Exceptions

IOError On low-level I/O errors.
ParseError On high-level file format errors.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

void writeRecords(fileOut, contents);

Write RnaStructContents into a RnaStructFileOut object.

Parameters

fileOut The RnaStructFileOut object to write into.
contents The RnaStructContents object where to read from.

Thrown Exceptions

IOError On low-level I/O errors.
ParseError On high-level file format errors.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

See Also