Package com.jogamp.gluegen
Interface SymbolFilter
public interface SymbolFilter
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 TypeMethodDescriptionvoidfilterSymbols(List<ConstantDefinition> constants, List<FunctionSymbol> functions) Filters the given constant and function symbols.Returns the filtered list of constants.Returns the filtered list of function symbols.
-
Method Details
-
filterSymbols
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:
defines- a list ofDefineobjectsfunctions- a list ofFunctionSymbolobjects
-
getConstants
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. -
getFunctions
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.
-