Package com.jogamp.gluegen
Interface SymbolFilter
-
public interface SymbolFilterProvides 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfilterSymbols(List<ConstantDefinition> constants, List<FunctionSymbol> functions)Filters the given constant and function symbols.List<ConstantDefinition>getConstants()Returns the filtered list of constants.List<FunctionSymbol>getFunctions()Returns the filtered list of function symbols.
-
-
-
Method Detail
-
filterSymbols
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:
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.
-
-