20002009 Ericsson AB. All Rights Reserved. The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. CosPropertyService_­PropertiesIterator ..._PropertiesIterator 2000-07-25 1.0
CosPropertyService_PropertiesIterator This module implements the OMG CosPropertyService::PropertiesIterator interface.

To get access to the record definitions for the structures use:

-include_lib("cosProperty/include/CosPropertyService.hrl").

reset(Iterator) -> ok Reset the position to the first property Iterator = #objref

This operation resets the position to the first property.

next_one(Iterator) -> Reply Return true if a Property exists at the current position and the out parameter is a valid Property. Otherwise false and a non-valid property Iterator = #objref Reply = {boolean(), #'CosPropertyService_Property'{property_name = Name, property_value = Value}} Name = string() Value = #any

This operation returns true . If false is returned the out parameter is a non-valid Property.

next_n(Iterator, HowMany) -> Reply Return true if the requested number of properties can be delivered and there are additional properties. Otherwise false is returned and a sequence of max HowManyproperties Iterator = #objref HowMany = long() Reply = {boolean(), Properties} Properties = [#'CosPropertyService_Property'{property_name = Name, property_value = Value}] Name = string() Value = #any

This operation returns true if the requested number of properties can be delivered and there are additional properties. If false is returned and a sequence of max HowMany properties will be returned and no more properties can be delivered.

destroy(Iterator) -> ok Terminate the target object Iterator = #objref

This operation will terminate the Iterator and all subsequent calls will fail.