Function
write
Saves records to a file.
write(file, memPtr, count)
int write(file, fragStore, tag)
write(file, graph, nodeMap, edgeMap, tag)
write(file, graph, nodeMap, tag)
write(file, graph, tag)
Include Headers
seqan/file.h, seqan/graph_types.h, seqan/store.h
Parameters
file
A File object.
Types: File
memPtr
A pointer to the first source record in memory.
count
The amount of records to be written.
tag
A tag to select the output format.
fragStore
A fragment store.
graph
The graph to write out.
Types: Graph
nodeMap
A mapping from vertex descriptor to vertex label.
edgeMap
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.
Member of
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:37