Function
write
Saves records to a file.
Writes the basic information about the ArgParseOption to the provided stream.
write(file, graph, nodeMap, edgeMap, tag)
write(file, graph, nodeMap, tag)
write(file, graph, tag)
write(file, fragStore, tag)
write(file, memPtr, count)
write(stream,option)
Include Headers
seqan/arg_parse.h, seqan/file.h, seqan/graph_types.h, seqan/store.h
Parameters
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.
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.
stream
The target stream.
option
The ArgParseOption object.
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.
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:34