Function
write
Saves records to a file.
int write(file, fragStore, tag)
write(file, memPtr, count)
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
tag
A tag to select the output format.
fragStore
A fragment store.
file
A File object.
Types: File
memPtr
A pointer to the first source record in memory.
count
The amount of records to be written.
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
An int with the status code. 0 on success, non-0 on errors.
A bool which is true on success.
Member of
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2014/09/23 19:49:45