GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.gluegen.MethodBinding.ParameterConsumer Interface Reference

forEachParameter(ParameterConsumer) Consumer More...

Collaboration diagram for com.jogamp.gluegen.MethodBinding.ParameterConsumer:

Public Member Functions

boolean accept (int idx, int consumedCount, Type cType, JavaType jType, String name)
 Accept the arguments of the traversed collection element and return true if consumed. More...
 

Detailed Description

forEachParameter(ParameterConsumer) Consumer

Definition at line 293 of file MethodBinding.java.

Member Function Documentation

◆ accept()

boolean com.jogamp.gluegen.MethodBinding.ParameterConsumer.accept ( int  idx,
int  consumedCount,
Type  cType,
JavaType  jType,
String  name 
)

Accept the arguments of the traversed collection element and return true if consumed.

Consumed elements will increased passed consumedCount state.

Parameters
idxindex of current element, ranges [0 .. size-1]
consumedCountnumber of consumed elements, useful for e.g. boolean needsSeparator = 0 < consumedCount
cTypeC Type of argument
jTypeJava Type of argument
nameargument name
Returns
true to signal consumed and have traversing loop increment consumedCount, otherwise false
Here is the caller graph for this function:

The documentation for this interface was generated from the following file: