Function
write
Saves records to a file.
Include Headers
seqan/file.h, seqan/graph_types.h, seqan/store.h
Parameters
A File object. Types: File | |
A pointer to the first source record in memory. | |
The amount of records to be written. | |
A tag to select the output format. | |
A fragment store. Types: FragmentStore | |
The graph to write out. Types: Graph | |
A mapping from vertex descriptor to vertex label. | |
A mapping from edge descriptor to edge label. |
Remarks
The records are written at the position pointed by the current file pointer (see seek).
Return Values
A bool which is true on success.
An int with the status code. 0 on success, non-0 on errors.
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de