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

Utility class for recording names of typedefs and structs. More...

Collaboration diagram for com.jogamp.gluegen.cgram.types.TypeDictionary:

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< TypegetEqualSemantics (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< Typevalues ()
 Returns a collection of all the Types in the dictionary that are mapped via typedefs names. More...
 

Detailed Description

Utility class for recording names of typedefs and structs.

Definition at line 50 of file TypeDictionary.java.

Member Function Documentation

◆ containsKey()

boolean com.jogamp.gluegen.cgram.types.TypeDictionary.containsKey ( final String  key)

Definition at line 132 of file TypeDictionary.java.

Here is the caller graph for this function:

◆ containsValue()

boolean com.jogamp.gluegen.cgram.types.TypeDictionary.containsValue ( final Type  value)

Definition at line 136 of file TypeDictionary.java.

◆ entrySet()

Set< Map.Entry< String, Type > > com.jogamp.gluegen.cgram.types.TypeDictionary.entrySet ( )

Definition at line 128 of file TypeDictionary.java.

Here is the caller graph for this function:

◆ get()

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.

Here is the caller graph for this function:

◆ getEqualSemantics()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEqualSemantics1()

Type com.jogamp.gluegen.cgram.types.TypeDictionary.getEqualSemantics1 ( final Type  s,
final JavaConfiguration  cfg,
final boolean  skipOpaque 
)

Definition at line 88 of file TypeDictionary.java.

Here is the call graph for this function:

◆ isEmpty()

boolean com.jogamp.gluegen.cgram.types.TypeDictionary.isEmpty ( )

Definition at line 140 of file TypeDictionary.java.

◆ keySet()

Set< String > com.jogamp.gluegen.cgram.types.TypeDictionary.keySet ( )

Get all the names that map to Types.

Returns
a Set of Strings that are the typedef names that map to Types in the dictionary.

Definition at line 124 of file TypeDictionary.java.

Here is the caller graph for this function:

◆ put()

Type com.jogamp.gluegen.cgram.types.TypeDictionary.put ( final String  name,
final Type  type 
)

Create a mapping from a type to its name.

Parameters
namethe name to which the type is defined
typethe type that can be referred to by the specified name.

Definition at line 59 of file TypeDictionary.java.

Here is the caller graph for this function:

◆ remove()

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.

◆ values()

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.


The documentation for this class was generated from the following file: