Class
GapsIteratorIterator class for Gaps.
Iterator class for Gaps.
Implements | RandomAccessIteratorConcept |
---|---|
All Impl'd | BidirectionalIteratorConcept, CopyConstructibleConcept, DefaultConstructibleConcept, EqualityComparableConcept, ForwardIteratorConcept, InputIteratorConcept, IteratorAssociatedTypesConcept, LessThanComparableConcept, RandomAccessIteratorConcept |
Defined in | |
Signature |
template <typename TGaps, typename TSpec>
class Iter<TGaps, GapsIterator<TSpec> >;
|
Member Function Overview
Member Functions Inherited From EqualityComparableConcept
Member Functions Inherited From LessThanComparableConcept
Member Functions Inherited From RandomAccessIteratorConcept
Interface Function Overview
-
TSize countCharacters(it);
Count characters at iterator. -
TSize countGaps(it);
Count gaps at iterator. -
void insertGap(it);
Insert gap at the current position. -
void insertGaps(it, num);
Insert gaps at the current position. -
bool isCharacter(it);
Query an iterator for being at a character -
bool isGap(it);
Query an iterator for being at a gap -
TSize removeGap(it);
Insert gap at the current position. -
TSize removeGaps(it, num);
Remove gaps from the current position.
Interface Functions Inherited From BidirectionalIteratorConcept
Interface Functions Inherited From InputIteratorConcept
Interface Functions Inherited From IteratorAssociatedTypesConcept
Interface Functions Inherited From RandomAccessIteratorConcept
Interface Metafunction Overview
Interface Metafunctions Inherited From IteratorAssociatedTypesConcept
Interface Metafunctions Inherited From RandomAccessIteratorConcept
Interface Functions Detail
TSize countCharacters(it);
Count characters at iterator.
Parameters
it
|
Iterator for counting characters at. |
---|
Returns
TSize |
Number of characters. |
---|
Data Races
Thread safety unknown!
TSize countGaps(it);
Count gaps at iterator.
Parameters
it
|
Iterator for counting gaps at. |
---|
Returns
TSize |
Number of gaps. |
---|
Data Races
Thread safety unknown!
void insertGap(it);
Insert gap at the current position.
Parameters
it
|
The iterator to insert gaps at. |
---|
Data Races
Thread safety unknown!
void insertGaps(it, num);
Insert gaps at the current position.
Parameters
it
|
Remove gap at the given position (if any). |
---|---|
num
|
Number of gaps to insert. |
Data Races
Thread safety unknown!
bool isCharacter(it);
Query an iterator for being at a character
Parameters
it
|
Iterator to query for pointing at a character. |
---|
Returns
bool |
true if it is at a character and false otherwise. |
---|
Data Races
Thread safety unknown!
bool isGap(it);
Query an iterator for being at a gap
Parameters
it
|
Iterator to query for pointing at a gap. |
---|
Returns
bool |
true if it is at a gap and false otherwise. |
---|
Data Races
Thread safety unknown!
TSize removeGap(it);
Insert gap at the current position.
Parameters
it
|
Remove gap at the given position (if any). |
---|
Returns
TSize |
Number of removed gaps. |
---|
Data Races
Thread safety unknown!
TSize removeGaps(it, num);
Remove gaps from the current position.
Parameters
it
|
Remove gap at the given position (if any). |
---|---|
num
|
Number of gaps to remove. |
Returns
TSize |
Number of removed gaps. |
---|
Data Races
Thread safety unknown!