Issue 63: Suggested changes to Collection spec. (zz-collection) Source: (, ) Nature: Uncategorized Severity: Summary: Summary: A number of interface changes suggested for the Collection specification. Resolution: Revised Text: Actions taken: July 24, 1996: received issue Discussion: End of Annotations:===== From geoff Wed Jul 24 12:33:54 1996 Received: by amethyst.omg.org (5.4R2.01/1.34) id AA18471; Wed, 24 Jul 1996 12:33:54 -0400 Date: Wed, 24 Jul 1996 12:33:54 -0400 From: geoff (Geoffrey Speare) Message-Id: <9607241633.AA18471@amethyst.omg.org> To: issue-logger@omg.org Subject: issues with CosCollection X-Omg-Issue: 63 From: Julio Garcia Subject: issues with CosCollection To: issues@omg.org Date: Fri, 19 Jul 1996 15:18:58 -0600 (MDT) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Hello, here is a list of problems, issues, and questions that I have encountered while prototyping CosCollection::Heap, CosCollection::Iterator, and CosCollection::HeapFactory. Contact me if you need clarification. -- Julio Garcia - julio@fc.hp.com - http://hpfcmdd.fc.hp.com/~julio/ - (970) 229-3168 - FAX (970) 229-7182 CHANGES { read_only | read-only } attribute TO readonly attribute read_only attribute TypeCode element_type; TO readonly attribute CORBA::TypeCode element_type; See section 3.12 of CORBA 2.0, page 3-31 boolean replace_next_n_elements (in AnySequence elements out actual_number) TO boolean replace_next_n_elements (in AnySequence elements out unsigned long actual_number) boolean add_n_elements (in AnySequence elements out actual_number) TO boolean add_n_elements (in AnySequence elements out unsigned long actual_number) boolean is_equal (in Iterator) TO boolean is_equal (in Iterator test) void assign (in Iterator) TO void assign (in Iterator other_iterator) The create function is overloaded in the collection factories. I have renamed CosCollection::HeapFactory::create TO CosCollection::HeapFactory::create_heap boolean add_element_set_iterator (in any element, in Iterator iterator) TO boolean add_element_set_iterator (in any element, in Iterator where) See section 3.13 of CORBA 2.0, page 3-31, bottom two paragraphs void add_all_from (in Collection collection) raises (ElementInvalid); TO void add_all_from (in Collection elements) raises (ElementInvalid); See section 3.13 of CORBA 2.0, page 3-31, bottom two paragraphs boolean is_for (in Collection collection); TO boolean is_for (in Collection test_collection); See section 3.13 of CORBA 2.0, page 3-31, bottom two paragraphs boolean add_element_set_iterator (in any element) raises (IteratorInvalid, IteratorInBetween, ElementInvalid); TO boolean add_element_set_iterator (in any element) raises (ElementInvalid); Spec inconsistency. See pages 92 and 97 boolean add_n_elements_set_iterator ( in AnySequence elements, out unsigned long actual_number) // Number of added elements raises (IteratorInvalid, IteratorInBetween, ElementInvalid); TO void add_n_elements_set_iterator ( in AnySequence elements, out unsigned long actual_number) // Number of added elements raises (ElementInvalid); Spec inconsistency. See pages 92 and 97