DDS 1.0 NO IDEA Avatar
  1. OMG Issue

DDS — Operations on collections of objects (addition

  • Key: DDS-48
  • Legacy Issue Number: 6754
  • Status: closed  
  • Source: THALES ( Virginie Watine)
  • Summary:

    Issue [THALES]
    Rather than returning a sequence of objects as the list of instances and let the application iterate in it, it seems better to let the infrastructure iterate by providing operations that would
    filter the objects
    apply a modifier on the objects
    Proposal [THALES]
    Introduce a new class FooExtent that would embed a sequence of Foo and provide those operations.
    Make the find_objects returning a FooExtent to allow to filter on a filtered result (like was allowed with the initial ObjectFilter::filter)
    Suppres the filter operation in an ObjectFilter (that is now redundant)
    Replace the list of instances in FooHome and FooSelection, by an instance of this class
    IDL
    local interface FooFilter : DLRL::ObjectFilter

    { boolean check_object (in Foo an_object); }

    local interface FooModifier: DLRL::ObjectModifier

    { void modify_objects (in Foo an_object); }

    local interface FooExtend: DLRL::OjectExtent

    { readonly attribute FooSeq objects; FooExtent find_objects (in FooFilter filter); void modify_objects (in FooFilter filter, in FooModifier modifier); }

    local interface FooHome

    { readonly attribute FooExtent extent; // instead of FooSeq }

    local interface FooSelection

    { readonly attribute FooExtent members;// instead of FooSeq }

    concerns the PIM (figure, list of interfaces, interface sections - table and text) and the PSM

  • Reported: DDS 1.0b1 — Fri, 19 Dec 2003 05:00 GMT
  • Disposition: Resolved — DDS 1.0
  • Disposition Summary:

    see below

  • Updated: Fri, 6 Mar 2015 20:58 GMT