| Function clear Resets an object. clear(object) Parameters
object | The object that will be resetted. Types: char array, Finder, FrequencyDistribution, Graph, Holder, Index, Pool, PriorityType, Segment, std::basic_string, String, StringSet
Remarks If object is a graph, then all vertices and all edges are removed. object is set to a state that is equivalent to a default constructed object of the same type. 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 clear is applied on a Holder object, the state of this object is set to 'empty'. If clear is applied on a Holder object, the state of this object is set to 'empty'. Part of Concept Pattern See Also clearEdges, clearVertices, goNil, length, resize SeqAn - Sequence Analysis Library - www.seqan.de