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

forEachParameter(ParameterConsumer) Consumer More...

Collaboration diagram for com.jogamp.gluegen.cgram.types.FunctionType.ParameterConsumer:

Public Member Functions

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

Detailed Description

forEachParameter(ParameterConsumer) Consumer

Definition at line 189 of file FunctionType.java.

Member Function Documentation

◆ accept()

boolean com.jogamp.gluegen.cgram.types.FunctionType.ParameterConsumer.accept ( int  idx,
int  consumedCount,
Type  cType,
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
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: