# Spec Infix Segment
An infix of a sequence.

Extends | Segment
All Extended | Segment
All Impl'd | AssignableConcept, ContainerConcept, DestructibleConcept, ForwardContainerConcept, RandomAccessContainerConcept, ReversibleContainerConcept, SegmentableConcept
Defined in | <seqan/sequence.h>
Signature | `template <typename THost> class Segment<THost, InfixSegment>;`

## Template Parameters

`THost` | The underlying sequence type.

## Member Function Overview

### Member Functions Inherited From AssignableConcept

- `operator=`

### Member Functions Inherited From RandomAccessContainerConcept

- `operator[]`

## Interface Function Overview

### Interface Functions Inherited From Segment

- `beginPosition`
- `endPosition`

### Interface Functions Inherited From AssignableConcept

- `assign`
- `set`
- `move`

### Interface Functions Inherited From ContainerConcept

- `begin`
- `end`
- `length`
- `empty`
- `swap`
- `writeValue`
- `write`
- `getObjectId`
- `moveValue`
- `append`
- `appendValue`
- `shrinkToFit`
- `directionIterator`

### Interface Functions Inherited From RandomAccessContainerConcept

- `value`
- `assignValue`
- `getValue`

### Interface Functions Inherited From SegmentableConcept

- `prefix`
- `infixWithLength`
- `infix`
- `suffix`

## Interface Metafunction Overview

### Interface Metafunctions Inherited From ContainerConcept

- `DefaultGetIteratorSpec`
- `DefaultIteratorSpec`
- `Difference`
- `DirectionIterator`
- `GetValue`
- `Iterator`
- `Position`
- `Reference`
- `Size`
- `Value`

### Interface Metafunctions Inherited From SegmentableConcept

- `Infix`
- `Prefix`
- `Suffix`

## Detailed Description

Also known as:

substring

## See Also

- PrefixSegment
- SuffixSegment

#### Dox Sources

    /*!
     * @class InfixSegment Infix Segment
     *
     * @extends Segment
     *
     * @headerfile <seqan/sequence.h>
     *
     * @brief An infix of a sequence.
     *
     * @signature template <typename THost> class Segment<THost, InfixSegment>;
     *
     * @tparam THost The underlying @link ContainerConcept sequence @endlink type.
     *
     * @see SuffixSegment
     * @see PrefixSegment
     */