Ticket #145 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

CapeArrayInterface

Reported by: jasper Owned by: jasper
Priority: minor Milestone: Maintenance of Phase II
Component: COBIA IDL Version: 1.2.0.11
Keywords: Cc:

Description

The IDL allows for an array of objects in the form of CapeArrayInterface?. In CAPE-OPEN 1.1 this was used only in passing an array of parameter specifications for a parameter array - CAPE-OPEN 1.2 has abandoned this approach.

Support for CapeArrayInterface? was overlooked; the basic data type, wrappers, adapters, code generation and marshaling for this type are not implemented. This remained unnoticed because it is not used in CAPE-OPEN 1.2.

It could be argued that in an interface design that supports collections, passing an array of objects is not required under any circumstance.

Are we dropping IDL support for this unused data type or are we implementing support for it throughout COBIA?

Change History

comment:1 Changed 17 months ago by jasper

Decision was taken in the M&T SIG meeting to drop support for CapeArrayInterface? for the time being, and possibly re-introduce it in case a use case arises.

The underlying argument is that in principle an array of components can always be represented by a collection-type interface.

This implies currently removing CapeArrayInterface? from the IDL parser as a supported type.

Reintroduction would imply:

As the type is not currently referenced by any CAPE-OPEN IDL, this does not lead to backward compatibility issues.

comment:2 Changed 17 months ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.