### IGraphicIterator

  IGraphicIterator is an abstract base class that allows iteration of a hierarchy. IGraphicIterator is an abstract base class; therefore, there is no implementation of the class. IGraphicIterator allows for iteration of a hierarchy. By default IGraphiGroup creates a shallow iterator which traverses only a one level. In order to iterate thru the entire hierarchy the iterators should be created recursively.

### IGraphicIterator - Member Functions and Data by Group

### Constructors & Destructor

The functions in this group construct or destroy iterator objects of class IGraphicIterator.

~IGraphicIterator

      public:
      virtual ~IGraphicIterator()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IGraphicIterator

      protected:
      IGraphicIterator()

  Protected default constructor.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Iterating Through the Hierarchy and Obtaining IMGraphic Objects

Use the functions in this group to position the iterator and get the first, last, or next IMGraphic object in the hierarchy. You can also decrement the iterator and obtain a pointer to the IMGraphic it refers to.

first

      public:
      virtual IMGraphic* first() = 0

  Gets the first IMGraphic in the hierarchy.

  None

Return
  Returns a pointer to the first graphic in the hierarchy.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

last

      public:
      virtual IMGraphic* last() = 0

  Gets the last IMGraphic in the hierarchy.

  None

Return
  A pointer to the last graphic in the hierarchy.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

next

      public:
      virtual IMGraphic* next() = 0

  Increments the iterator and returns a pointer to that IMGraphic.

  None

Return
  A pointer to the next graphic in the hierarchy.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

previous

      public:
      virtual IMGraphic* previous() = 0

  Decrements the iterator and returns a pointer to that IMGraphic.

  None

Return
  A pointer to the previous graphic in the hierarchy.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

reset

      public:
      virtual void reset() = 0

  Resets this IGraphicIterator to the first IMGraphic in the hierarchy.

  None

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IGraphicIterator - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None