2000 2013 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions 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.