Public Member Functions | Public Attributes | List of all members
Indirection Class Reference

Public Member Functions

def __init__ (self, evalStr=None, dictKey=NoDictKey)
def __repr__ (self)
def acquire (self)
def dereferenceDictKey (self, parentDict)
def destroy (self)
def getString (self, prevIndirection=None, nextIndirection=None)
def isDictKey (self)
def release (self)

Public Attributes


Detailed Description

Represents the indirection that brings you from a container to an element of the container.
Stored as a string to be used as part of an eval, or as a key to be looked up in a dict.
Each dictionary dereference is individually eval'd since the dict key might have been
TODO: store string components that are duplicates of strings in the actual system so that
Python will keep one copy and reduce memory usage

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  evalStr = None,
  dictKey = NoDictKey 

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ acquire()

def acquire (   self)

◆ dereferenceDictKey()

def dereferenceDictKey (   self,

◆ destroy()

def destroy (   self)

◆ getString()

def getString (   self,
  prevIndirection = None,
  nextIndirection = None 

◆ isDictKey()

def isDictKey (   self)

◆ release()

def release (   self)

Member Data Documentation

◆ dictKey


◆ evalStr