Class
Segment
A contiguous part of a sequence.
Include Headers
seqan/sequence.h
Parameters
Type of the whole sequence. Instances of Metafunctions: Host | |
The specializing type. Metafunctions: Spec Default: InfixSegment. |
Specializations
| An arbitrary segment. | |
| First part of a sequence. | |
| End part segment of a sequence. |
Metafunctions
| The default overflow strategy for explicit resize. | |
| The default overflow strategy for implicit resize. | |
| Type for reading values. | |
| Type of the object a given object depends on. | |
| Determines whether a container stores its elements in a contiguous array. | |
| Determines whether an object can efficiently be passed by copy. | |
| Determines whether a container stores its elements in sequential order. | |
| Type of iterator objects that are used to traverse the container. | |
| Reference type. | |
| Type of an object that is suitable to hold size information. | |
| The spec of a class. | |
| Type of the items in the container or behind an iterator. |
Functions
| Assigns one object to another object. | |
| Determines whether an iterator is at the beginning position. | |
| Determines whether an iterator is at the end position. | |
| The begin of a container. | |
| Begin position of object in host. | |
| The maximal length. | |
| Complement a sequence or a StringSet in-place. | |
| Test a container for being empty. | |
| End position of object in host. | |
| A value that identifies the underlying sequence. | |
| Iterates to the first position of a container. | |
| Iterates down one edge or a path in a tree. | |
| Iterates to the last position of a container. | |
| Iterates to next position. | |
| Iterates to pevious position. | |
| The object a given object depends on. | |
| The number of items/characters. | |
| Reverse and complement a sequence or a StringSet in-place. | |
| Sets the host of an object. | |
| Determines whether two sequences share the same resource. | |
| Convert characters in sequence or StringSet to lower case in-place. | |
| Convert characters in sequence or StringSet to lower case in-place. | |
| Reference to the value. |
Examples
File "infix.cpp"
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 |
The output is as follows:
SeqAn - Sequence Analysis Library - www.seqan.de
