|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Utility class for recording names of typedefs and structs. More...
Public Member Functions | |
| Type | put (final String name, final Type type) |
| Create a mapping from a type to its name. More... | |
| Type | get (final String name) |
| Get the type corresponding to the given name. More... | |
| List< Type > | getEqualSemantics (final Type s, final JavaConfiguration cfg, final boolean skipOpaque) |
| Type | getEqualSemantics1 (final Type s, final JavaConfiguration cfg, final boolean skipOpaque) |
| Type | remove (final String name) |
| Get the names that correspond to the given type. More... | |
| Set< String > | keySet () |
| Get all the names that map to Types. More... | |
| Set< Map.Entry< String, Type > > | entrySet () |
| boolean | containsKey (final String key) |
| boolean | containsValue (final Type value) |
| boolean | isEmpty () |
| Collection< Type > | values () |
| Returns a collection of all the Types in the dictionary that are mapped via typedefs names. More... | |
Utility class for recording names of typedefs and structs.
Definition at line 50 of file TypeDictionary.java.
| boolean com.jogamp.gluegen.cgram.types.TypeDictionary.containsKey | ( | final String | key | ) |
| boolean com.jogamp.gluegen.cgram.types.TypeDictionary.containsValue | ( | final Type | value | ) |
Definition at line 136 of file TypeDictionary.java.
| Set< Map.Entry< String, Type > > com.jogamp.gluegen.cgram.types.TypeDictionary.entrySet | ( | ) |
| Type com.jogamp.gluegen.cgram.types.TypeDictionary.get | ( | final String | name | ) |
Get the type corresponding to the given name.
Returns null if no type was found corresponding to the given name.
Definition at line 65 of file TypeDictionary.java.
| List< Type > com.jogamp.gluegen.cgram.types.TypeDictionary.getEqualSemantics | ( | final Type | s, |
| final JavaConfiguration | cfg, | ||
| final boolean | skipOpaque | ||
| ) |
Definition at line 69 of file TypeDictionary.java.
| Type com.jogamp.gluegen.cgram.types.TypeDictionary.getEqualSemantics1 | ( | final Type | s, |
| final JavaConfiguration | cfg, | ||
| final boolean | skipOpaque | ||
| ) |
| boolean com.jogamp.gluegen.cgram.types.TypeDictionary.isEmpty | ( | ) |
Definition at line 140 of file TypeDictionary.java.
| Set< String > com.jogamp.gluegen.cgram.types.TypeDictionary.keySet | ( | ) |
Get all the names that map to Types.
Definition at line 124 of file TypeDictionary.java.
Create a mapping from a type to its name.
| name | the name to which the type is defined |
| type | the type that can be referred to by the specified name. |
Definition at line 59 of file TypeDictionary.java.
| Type com.jogamp.gluegen.cgram.types.TypeDictionary.remove | ( | final String | name | ) |
Get the names that correspond to the given type.
There will be more than one name in the returned list if the type has been defined to multiple names. Returns null if no names were found for given type. Remove the mapping from the specified name to its associated type.
Definition at line 117 of file TypeDictionary.java.
| Collection< Type > com.jogamp.gluegen.cgram.types.TypeDictionary.values | ( | ) |
Returns a collection of all the Types in the dictionary that are mapped via typedefs names.
Definition at line 145 of file TypeDictionary.java.