# Class Repeat
Store information about a repeat.

Defined in | <seqan/index.h>
Signature | `template <typename TPos, typename TPeriod> struct Repeat;`

## Template Parameters

`TPeriod` | Type to use for storing the repeat period. Default: 1
`TPos` | Type to use for storing positions.

## Member Variable Overview

- `TPos Repeat::beginPosition`
  The begin position of the repeat of type `TPos`.
- `TPos Repeat::endPosition`
  The end position of the repeat of type `TPos`.
- `TPeriod Repeat::period`
  The period of the repeat of type `TPeriod`.

## See Also

- findRepeats

## Member Variables Detail

### `TPos Repeat::beginPosition`

The begin position of the repeat of type `TPos`.

### `TPos Repeat::endPosition`

The end position of the repeat of type `TPos`.

### `TPeriod Repeat::period`

The period of the repeat of type `TPeriod`.

#### Dox Sources

    /*!
     * @class Repeat
     *
     * @headerfile <seqan/index.h>
     *
     * @brief Store information about a repeat.
     *
     * @signature template <typename TPos, typename TPeriod> struct Repeat;
     *
     * @tparam TPeriod Type to use for storing the repeat period. Default: 1
     * @tparam TPos Type to use for storing positions.
     *
     * @see findRepeats
     *
     * @var TPos Repeat::endPosition;
     *
     * @brief The end position of the repeat of type <tt>TPos</tt>.
     *
     * @var TPos Repeat::beginPosition;
     *
     * @brief The begin position of the repeat of type <tt>TPos</tt>.
     *
     * @var TPeriod Repeat::period;
     *
     * @brief The period of the repeat of type <tt>TPeriod</tt>.
     */