2000 2011 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. The Initial Developer of the Original Code is Ericsson AB. CosPropertyService_PropertyNamesIterator 2000-07-25 1.0
CosPropertyService_PropertyNamesIterator This module implements the OMG CosPropertyService::PropertyNamesIterator 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 name Iterator = #objref

This operation resets the position to the first property name.

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

This operation returns true if a Property Name exists at the current position and the out parameter is a valid Property Name. If false is returned the out parameter is a non-valid Property Name.

next_n(Iterator, HowMany) -> Reply Return HowManyProperty Names and a boolean which is true if additional Property Names exists Iterator = #objref HowMany = long() Reply = {boolean(), [Name]} Name = string()

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

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

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