### ISWPArray

  The ISWPArray (set-window-position) class represents an array of ISWP objects. This class provides functions to do the following:

  - Access a given ISWP object in the array
  - Locate the ISWP object for a child window of the frame window, specified by window identifier

### ISWPArray - Member Functions and Data by Group

### Constructors & Destructor

You can construct objects of this class.

ISWPArray

      public:
      ISWPArray(ISWP* array, unsigned dimension)

  Constructs objects of this class from ISWP objects.

Supported Platforms

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

OS/2 Considerations

  You can create an ISWP* for array by casting a Presentation Manager PSWP pointer.

### Array Contents

Use these members to operate on the collection of ISWP objects.

indexOf

      public:
      unsigned indexOf(unsigned long windowId) const

  Returns the 0-based index of an ISWP element in the array. You can pass this index to ISWPArray::operator[] to access the ISWP object.

  windowId
    The identifier of the window for the desired ISWP object.

Supported Platforms

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

operator []

      public:
      ISWP& operator [](unsigned index)

  Returns a reference to the specified element of the array.

  index
    The 0-based index of the ISWP array element.

Supported Platforms

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

size

      public:
      unsigned size() const

  Returns the dimension of the array, as specified on the constructor.

Supported Platforms

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

### ISWPArray - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None