COSNAMING_BINDINGITERATOR(3erl)
β¨ NAME β¨
CosNaming_BindingIterator β bestie, this is the interface that supports iteration over a name binding list. no cap. π
π DESCRIPTION π
okay so, this interface lets a client iterate over the Bindinglist it has been initiated with. that's the whole vibe. π
The type NameComponent used below is defined as:
-record('CosNaming_NameComponent', {id, kind=""}).
id and kind are strings. β¨
The type Binding used below is defined as:
-record('CosNaming_Binding', {binding_name, binding_type}).
binding_name is a Name = [NameComponent] and binding_type is an enum which has the values nobject and ncontext. π¦
Both these records are defined in the file CosNaming.hrl, and it is included with:
-include_lib("orber/COSS/CosNaming/CosNaming.hrl").
literally just include it and you're set, iykyk π«Ά
π EXPORTS π
π next_one(BindinIterator) -> Return
Types:
BindingIterator = #objref
Return = {bool(), Binding}
This operation returns the next binding and a boolean. The boolean is set to true if the binding is valid, otherwise false. And if that boolean is false? there are no more bindings to retrieve, bestie, that's it, we're done. π
π next_n(BindinIterator, HowMany) -> Return
Types:
BindingIterator = #objref
HowMany = int()
BindingList = [Binding]
Return = {bool(), BindingList}
This operation returns a binding list with at most HowMany bindings. If there are no more bindings it returns false, otherwise true. slay. π₯
π destroy(BindingIterator) -> Return
Types:
BindingIterator = #objref
Return = ok
This operation destroys the binding iterator. poof, gone, main character exit. π
so yeah, that's the whole page, page name CosNaming_...ingIterator(3), and it's an Erlang Module Definition, in case the (3) didn't already give that away π
this lil masterpiece came from Ericsson AB, running orber 5.2.2 β obsessed, honestly. stay iterating, bestie πβ¨
π¦ where this page comes from
- fedora 43: erlang-orber 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-orber 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms