_HashTable Class Reference

Basic hash table (same as __builtin__.dict). More...

Inheritance diagram for _HashTable:

Singleton

List of all members.

Public Member Functions

def __new_instance__
 to be initialize class instead of __init__
def __len__
def has_key
def has_active_referers
def __clean__
def get_scalars_map
def getHash
def __getitem__
def __setitem__
def items
def values
def __str__
def __repr__
def __contains__
def append
 appends item to the hash table the id of item
def getActiveSet
def clear_at_exit
 same as clear
def clear
 for each item in the graph try to remove it
def getRef
 returns the refrence count of the value that item points to
def printHash
 Prints a formated output of the hash table.
def removeSource
 remove a node from the set of sources

Static Public Attributes

tuple env = InstanceManager()
tuple scalars_map = property( get_scalars_map )


Detailed Description

Basic hash table (same as __builtin__.dict).

Definition at line 39 of file hashTable.py.


Member Function Documentation

def __new_instance__ (   self,
  name 
)

to be initialize class instead of __init__

Reimplemented from Singleton.

Definition at line 42 of file hashTable.py.

def __len__ (   self  ) 

Definition at line 53 of file hashTable.py.

def has_key (   self,
  k 
)

Definition at line 56 of file hashTable.py.

def has_active_referers (   self,
  node_id 
)

Definition at line 59 of file hashTable.py.

def __clean__ (   self  ) 

Reimplemented from Singleton.

Definition at line 71 of file hashTable.py.

def get_scalars_map (   self  ) 

Definition at line 77 of file hashTable.py.

def getHash (   self  ) 

Definition at line 82 of file hashTable.py.

def __getitem__ (   self,
  item 
)

Definition at line 93 of file hashTable.py.

def __setitem__ (   self,
  item,
  val 
)

Definition at line 102 of file hashTable.py.

def items (   self  ) 

Definition at line 105 of file hashTable.py.

def values (   self  ) 

Definition at line 109 of file hashTable.py.

def __str__ (   self  ) 

Definition at line 112 of file hashTable.py.

def __repr__ (   self  ) 

Definition at line 121 of file hashTable.py.

def __contains__ (   self,
  item 
)

Definition at line 125 of file hashTable.py.

def append (   self,
  item 
)

appends item to the hash table the id of item

Definition at line 133 of file hashTable.py.

def getActiveSet (   self  ) 

Definition at line 138 of file hashTable.py.

def clear_at_exit (   self  ) 

same as clear

Definition at line 145 of file hashTable.py.

def clear (   self  ) 

for each item in the graph try to remove it

Definition at line 152 of file hashTable.py.

def getRef (   self,
  item 
)

returns the refrence count of the value that item points to

Definition at line 178 of file hashTable.py.

def printHash (   self  ) 

Prints a formated output of the hash table.

Definition at line 185 of file hashTable.py.

def removeSource (   self,
  src 
)

remove a node from the set of sources

Definition at line 225 of file hashTable.py.


Member Data Documentation

tuple env = InstanceManager() [static]

Definition at line 40 of file hashTable.py.

tuple scalars_map = property( get_scalars_map ) [static]

Definition at line 80 of file hashTable.py.


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

Generated on Sun Aug 10 09:11:12 2008 for SLIMpy by  doxygen 1.5.6