# generic_pen_row_iterator< T > Class Template Reference

`#include <_pen.h>`

List of all members.

## Public Types

typedef T | value_type
typedef int | difference_type
typedef value_type * | pointer
typedef value_type & | reference
typedef generic_pen_row_iterator < value_type > | self_type

## Public Member Functions

reference | operator[] (int i) const
reference | operator* () const
pointer | operator-> () const
void | inc ()
void | inc (int n)
void | dec ()
void | dec (int n)
const self_type & | operator++ ()
const self_type & | operator-- ()
self_type | operator++ (int)
self_type | operator-- (int)
bool | operator== (const self_type &rhs) const
bool | operator!= (const self_type &rhs) const
difference_type | operator- (const self_type &rhs) const
self_type | operator+ (const difference_type &rhs) const
self_type | operator- (const difference_type &rhs) const
| operator const generic_pen_row_iterator< const value_type > () const
| operator bool () const
bool | operator! () const
| generic_pen_row_iterator (pointer data, int pitch)
| generic_pen_row_iterator ()

## Public Attributes

pointer | data_
int | pitch_

## Classes

struct | iterator_category

## Detailed Description

### template<typename T>
class generic_pen_row_iterator< T >

======================================================================== Extended Template Library Pen Template Class Implementation $Id$

Copyright (c) 2002 Robert B. Quattlebaum Jr.

This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

=== N O T E S ===========================================================

This is an internal header file, included by other ETL headers. You should not attempt to use it directly.

=========================================================================

Definition at line 46 of file _pen.h.

## Member Typedef Documentation

template<typename T>

typedef T generic_pen_row_iterator< T >::value_type

Definition at line 50 of file _pen.h.

template<typename T>

typedef int generic_pen_row_iterator< T >::difference_type

Definition at line 51 of file _pen.h.

template<typename T>

typedef value_type* generic_pen_row_iterator< T >::pointer

Definition at line 52 of file _pen.h.

template<typename T>

typedef value_type& generic_pen_row_iterator< T >::reference

Definition at line 53 of file _pen.h.

template<typename T>

typedef generic_pen_row_iterator<value_type> generic_pen_row_iterator< T >::self_type

Definition at line 55 of file _pen.h.

## Constructor & Destructor Documentation

template<typename T>

generic_pen_row_iterator< T >::generic_pen_row_iterator | ( | pointer | data,
|  | int | pitch |
| ) |  |  | `[inline]`

Definition at line 111 of file _pen.h.

template<typename T>

generic_pen_row_iterator< T >::generic_pen_row_iterator | ( |  | ) | `[inline]`

Definition at line 112 of file _pen.h.

## Member Function Documentation

template<typename T>

reference generic_pen_row_iterator< T >::operator[] | ( | int | i | ) | const`[inline]`

Definition at line 60 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

template<typename T>

reference generic_pen_row_iterator< T >::operator* | ( |  | ) | const`[inline]`

Definition at line 61 of file _pen.h.

References generic_pen_row_iterator< T >::data_.

Referenced by generic_pen_row_iterator< T >::operator->().

template<typename T>

pointer generic_pen_row_iterator< T >::operator-> | ( |  | ) | const`[inline]`

Definition at line 62 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::operator*().

template<typename T>

void generic_pen_row_iterator< T >::inc | ( |  | ) | `[inline]`

Definition at line 64 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

Referenced by generic_pen_row_iterator< T >::operator+(), and generic_pen_row_iterator< T >::operator++().

template<typename T>

void generic_pen_row_iterator< T >::inc | ( | int | n | ) | `[inline]`

Definition at line 65 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

template<typename T>

void generic_pen_row_iterator< T >::dec | ( |  | ) | `[inline]`

Definition at line 67 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

Referenced by generic_pen_row_iterator< T >::operator-(), and generic_pen_row_iterator< T >::operator--().

template<typename T>

void generic_pen_row_iterator< T >::dec | ( | int | n | ) | `[inline]`

Definition at line 68 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

template<typename T>

const self_type& generic_pen_row_iterator< T >::operator++ | ( |  | ) | `[inline]`

Definition at line 70 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::inc().

template<typename T>

const self_type& generic_pen_row_iterator< T >::operator-- | ( |  | ) | `[inline]`

Definition at line 71 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::dec().

template<typename T>

self_type generic_pen_row_iterator< T >::operator++ | ( | int |  | ) | `[inline]`

Definition at line 73 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::inc().

template<typename T>

self_type generic_pen_row_iterator< T >::operator-- | ( | int |  | ) | `[inline]`

Definition at line 75 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::dec().

template<typename T>

bool generic_pen_row_iterator< T >::operator== | ( | const self_type & | rhs | ) | const`[inline]`

Definition at line 78 of file _pen.h.

References generic_pen_row_iterator< T >::data_.

template<typename T>

bool generic_pen_row_iterator< T >::operator!= | ( | const self_type & | rhs | ) | const`[inline]`

Definition at line 81 of file _pen.h.

References generic_pen_row_iterator< T >::data_.

template<typename T>

difference_type generic_pen_row_iterator< T >::operator- | ( | const self_type & | rhs | ) | const`[inline]`

Definition at line 84 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

template<typename T>

self_type generic_pen_row_iterator< T >::operator+ | ( | const difference_type & | rhs | ) | const`[inline]`

Definition at line 87 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::inc().

template<typename T>

self_type generic_pen_row_iterator< T >::operator- | ( | const difference_type & | rhs | ) | const`[inline]`

Definition at line 95 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::dec().

template<typename T>

generic_pen_row_iterator< T >::operator const generic_pen_row_iterator< const value_type > | ( |  | ) | const`[inline]`

Definition at line 103 of file _pen.h.

References generic_pen_row_iterator< T >::data_, and generic_pen_row_iterator< T >::pitch_.

template<typename T>

generic_pen_row_iterator< T >::operator bool | ( |  | ) | const`[inline]`

Definition at line 108 of file _pen.h.

References generic_pen_row_iterator< T >::data_.

template<typename T>

bool generic_pen_row_iterator< T >::operator! | ( |  | ) | const`[inline]`

Definition at line 109 of file _pen.h.

References generic_pen_row_iterator< T >::data_.

## Member Data Documentation

template<typename T>

pointer generic_pen_row_iterator< T >::data_

Definition at line 57 of file _pen.h.

Referenced by generic_pen_row_iterator< T >::dec(), generic_pen_row_iterator< T >::inc(), generic_pen_row_iterator< T >::operator bool(), generic_pen_row_iterator< T >::operator const generic_pen_row_iterator< const value_type >(), generic_pen_row_iterator< T >::operator!(), generic_pen_row_iterator< T >::operator!=(), generic_pen_row_iterator< T >::operator*(), generic_pen_row_iterator< T >::operator+(), generic_pen_row_iterator< T >::operator++(), generic_pen_row_iterator< T >::operator-(), generic_pen_row_iterator< T >::operator--(), generic_pen_row_iterator< T >::operator->(), generic_pen_row_iterator< T >::operator==(), and generic_pen_row_iterator< T >::operator[]().

template<typename T>

int generic_pen_row_iterator< T >::pitch_

Definition at line 58 of file _pen.h.

Referenced by generic_pen_row_iterator< T >::dec(), generic_pen_row_iterator< T >::inc(), generic_pen_row_iterator< T >::operator const generic_pen_row_iterator< const value_type >(), generic_pen_row_iterator< T >::operator-(), and generic_pen_row_iterator< T >::operator[]().

The documentation for this class was generated from the following file:

- _pen.h