Top Description Methods
com.jogamp.gluegen

public Interface SymbolFilter

Known Direct Implementers
com.jogamp.gluegen.JavaEmitter.ConstFuncRenamer
Imports
com.jogamp.gluegen.cgram.types.FunctionSymbol, java.util.List

Provides a mechanism by which the GlueEmitter can look at all of the #defines, enum values and function symbols and perform certain filtering and processing which requires all of them to be visible simultaneously.

Method Summary

Modifier and TypeMethod and Description
public void
filterSymbols(List<ConstantDefinition>
a list of Define objects
constants
,
List<FunctionSymbol>
a list of FunctionSymbol objects
functions
)

Filters the given constant and function symbols.

public List<ConstantDefinition>
getConstants()

Returns the filtered list of constants.

public List<FunctionSymbol>
getFunctions()

Returns the filtered list of function symbols.

Method Detail

filterSymbolsback to summary
public void filterSymbols(List<ConstantDefinition> constants, List<FunctionSymbol> functions)

Filters the given constant and function symbols. The caller will query the SymbolFilter for its resulting constant and function symbol lists after this routine returns.

Parameters
constants:List<ConstantDefinition>

a list of Define objects

functions:List<FunctionSymbol>

a list of FunctionSymbol objects

getConstantsback to summary
public List<ConstantDefinition> getConstants()

Returns the filtered list of constants. This method may return a new list, the original list, or null, in which case the original list will be used.

getFunctionsback to summary
public List<FunctionSymbol> getFunctions()

Returns the filtered list of function symbols. This method may return a new list, the original list, or null, in which case the original list will be used.