Function
clear
Resets an object.
Include Headers
seqan/graph_types.h, seqan/sequence.h, seqan/sequence_journaled.h
Parameters
The object that will be resetted. Types: Accumulator, BamAlignmentRecord, BamHeader, BamHeaderRecord, char array, CompressedSA, Finder, FrequencyDistribution, Graph, Holder, Index, Journaled String, Pool, PriorityType, RankSupportBitString, RightArrayBinaryTree, SeedSet, SparseString, std::basic_string, std::list, std::vector, String, StringSet, UnionFind |
Remarks
If object is a container, then all elements are removed from this container.
The length is set to 0.
The capacity can be changed, depending on the implementation.
If object is a graph, then all vertices and all edges are removed.
If clear is applied on a Holder object,
the state of this object is set to 'empty'.
Member of
Part of Concept
See Also
SeqAn - Sequence Analysis Library - www.seqan.de