Function
resize
Resizes a container. If the new length exceeds the old length the new elements are filled with copies of value.
Size resize(object, newLength [,value [,resizeTag]])
resize(file, new_length)
Include Headers
seqan/file.h, seqan/sequence.h
Parameters
object
A container.
newLength
The new length object will get.
value
Value that is copied if new items are created in object.
Remarks: If the value argument is omitted, the items are not initialized if IsSimple returns `False`.
resizeTag
Specifies the strategy that is applied if the capacity of object is less than newLength. (optional)
Default: Specified by DefaultOverflowExplicit.
file
A File object.
Types: File
new_length
The new file size measured in bytes.
Remarks
This function can be used both for expanding and for shrinking object.
If pm is of the UnionFind, value will automatically be set to -1.
Return Values
The new length length(object).
Metafunctions: Size
Part of Concept
See Also
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2014/10/25 20:20:37