Module hiew :: Class Names
[frames] | no frames]

Class Names

object --+
         |
        Names

Name management class

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods
 
Clear()
Clear all names
 
AddLocal(offset, name)
Adds a local name
 
AddGlobal(offset, name)
Adds a global name
 
AddLocalComment(offset, comment)
Adds a local comment
 
AddGlobalComment(offset, comment)
Adds a global comment
 
DelGlobalComment(offset)
Deletes a global comment
 
DelLocalComment(offset)
Deletes a local comment
 
DelLocal(offset)
Deletes a local name
 
DelGlobal(offset)
Deletes a global name
 
CountLocal()
Returns the local names count
 
CountGlobal()
Returns the global names count
 
CountNames()
Returns all the name count
 
FindName(name)
Finds any name
 
FindLocalName(name)
Finds a local name
 
FindGlobalName(name)
Finds a global name
Properties

Inherited from object: __class__

Method Details

AddLocal(offset, name)
Static Method

 

Adds a local name

Parameters:
  • offset - the offset to add the name at
  • name - local name

AddGlobal(offset, name)
Static Method

 

Adds a global name

Parameters:
  • offset - the offset to add the name at
  • name - global name

AddLocalComment(offset, comment)
Static Method

 

Adds a local comment

Parameters:
  • offset - the offset
  • comment - comment

AddGlobalComment(offset, comment)
Static Method

 

Adds a global comment

Parameters:
  • offset - the offset
  • comment - comment

DelGlobalComment(offset)
Static Method

 

Deletes a global comment

Parameters:
  • offset - the offset

DelLocalComment(offset)
Static Method

 

Deletes a local comment

Parameters:
  • offset - the offset

DelLocal(offset)
Static Method

 

Deletes a local name

Parameters:
  • offset - the offset

DelGlobal(offset)
Static Method

 

Deletes a global name

Parameters:
  • offset - the offset

FindName(name)
Static Method

 

Finds any name

Returns:
tuple(name offset, local ? 1 : 0) or None

FindGlobalName(name)
Static Method

 

Finds a global name

Returns:
Global name offset