Public Member Functions

BinNavi.API.disassembly.GlobalVariable Class Reference

A global module variable. More...

Inherits BinNavi::APIHelpers::ApiObject< IGlobalVariable >.

List of all members.

Public Member Functions

void addListener (final IGlobalVariableListener listener)
 Adds a listener.
Address getAddress ()
 Address of the variable.
String getName ()
 Name of the variable.
void removeListener (final IGlobalVariableListener listener)
 Removes the listener.
void setName (final String name)
 Changes the variable name.

Detailed Description

Represents a single global variable of a module.


Member Function Documentation

void BinNavi.API.disassembly.GlobalVariable.addListener ( final IGlobalVariableListener  listener  ) 

Adds a listener object that is notified about changes in the global variable.

Parameters:
listener The listener to add.
Address BinNavi.API.disassembly.GlobalVariable.getAddress (  ) 

Returns the address where the variable can be found in the module.

Returns:
The address of the variable.
String BinNavi.API.disassembly.GlobalVariable.getName (  ) 

Returns the name of the variable.

Returns:
The name of the variable.
void BinNavi.API.disassembly.GlobalVariable.removeListener ( final IGlobalVariableListener  listener  ) 

Removes a previously added listener object from the global variable.

Parameters:
listener The listener object to remove.
void BinNavi.API.disassembly.GlobalVariable.setName ( final String  name  ) 

Changes the name of the variable.

Parameters:
name The new name of the variable.