Function
resize
Resizes a container. If the new length exceeds the old length the new elements are filled with copies of value.
resize(file, new_length)
Size resize(object, newLength [value], [resizeTag])
Include Headers
seqan/file.h, seqan/sequence.h
Parameters
object
A container.
file
A File object.
Types: File
new_length
The new file size measured in bytes.
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.
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 @2013/07/11 09:12:18