GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl Class Reference
Inheritance diagram for com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl:
Collaboration diagram for com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl:

Public Member Functions

 AliasedSymbolImpl (final String origName)
 
 AliasedSymbolImpl (final AliasedSymbolImpl o)
 
void rename (final String newName)
 Rename this symbol with the given newName if not equal current-name. More...
 
void addAliasedName (final String origName)
 Add the given origName to the list of aliases if not equal current-name. More...
 
boolean hasAliases ()
 Returns true if this symbol has aliases, i.e. More...
 
Set< String > getAliasedNames ()
 Return all aliases for this symbol, i.e. More...
 
String getOrigName ()
 Return the original-name as set at creation. More...
 
String getName ()
 Return the current-name, which is the last renamed-name if issued, or the original-name. More...
 
String getAliasedString ()
 Return this object's toString() wrapped w/ the current-name and all aliases. More...
 
void rename (final String newName)
 Rename this symbol with the given newName if not equal current-name. More...
 
void addAliasedName (final String origName)
 Add the given origName to the list of aliases if not equal current-name. More...
 
boolean hasAliases ()
 Returns true if this symbol has aliases, i.e. More...
 
Set< String > getAliasedNames ()
 Return all aliases for this symbol, i.e. More...
 
String getOrigName ()
 Return the original-name as set at creation. More...
 
String getName ()
 Return the current-name, which is the last renamed-name if issued, or the original-name. More...
 
String getAliasedString ()
 Return this object's toString() wrapped w/ the current-name and all aliases. More...
 

Detailed Description

Definition at line 97 of file AliasedSymbol.java.

Constructor & Destructor Documentation

◆ AliasedSymbolImpl() [1/2]

◆ AliasedSymbolImpl() [2/2]

Member Function Documentation

◆ addAliasedName()

void com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.addAliasedName ( final String  origName)

Add the given origName to the list of aliases if not equal current-name.

Operation will be ignored if newName is null.

Parameters
origNamethe new alias to be added, maybe null

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 124 of file AliasedSymbol.java.

Here is the caller graph for this function:

◆ getAliasedNames()

Set< String > com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.getAliasedNames ( )

Return all aliases for this symbol, i.e.

original names, for this symbol.

Inclusive original-name, if renamed,

Exclusive current-name.

May return null or a zero sized Set for no aliases.

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 134 of file AliasedSymbol.java.

Here is the caller graph for this function:

◆ getAliasedString()

String com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.getAliasedString ( )

Return this object's toString() wrapped w/ the current-name and all aliases.

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 146 of file AliasedSymbol.java.

◆ getName()

String com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.getName ( )

Return the current-name, which is the last renamed-name if issued, or the original-name.

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 142 of file AliasedSymbol.java.

Here is the caller graph for this function:

◆ getOrigName()

String com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.getOrigName ( )

Return the original-name as set at creation.

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 138 of file AliasedSymbol.java.

Here is the caller graph for this function:

◆ hasAliases()

boolean com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.hasAliases ( )

Returns true if this symbol has aliases, i.e.

either being renamed or aliases-added.

Otherwise false is being returned.

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 130 of file AliasedSymbol.java.

◆ rename()

void com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl.rename ( final String  newName)

Rename this symbol with the given newName if not equal current-name.

Before renaming the current-name will be added to the list of aliases. while the given newName will be removed.

Operation will be ignored if newName is null.

Parameters
newNamethe new current-name, maybe null

Implements com.jogamp.gluegen.cgram.types.AliasedSymbol.

Definition at line 116 of file AliasedSymbol.java.

Here is the caller graph for this function:

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