Function
capacity
The maximal length.
Size capacity(object)
Include Headers
seqan/sequence.h
Parameters
object
A container.
Remarks: If object cannot be converted to one of these types, the function returns 1.
Remarks
The size of a sequence can never exceed it's capacity, but some containers support resizing of the capacity. Some functions do that implicitely if they are called with a suitable overflow strategy. The function reserve can be used to change the capacity explicitely.
Return Values
The maximal number of items/characters that can be stored in object.
Metafunctions: Size
Part of Concept
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2011/02/08 21:37:03