# Indirection

from direct.showbase.ContainerLeakDetector import Indirection

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 garbage-collected TODO: store string components that are duplicates of strings in the actual system so that Python will keep one copy and reduce memory usage

## Inheritance:

Indirection:

## Methods of Indirection:

__init__
__repr__
_getNonWeakDictKey
acquire
dereferenceDictKey
destroy
getString
isDictKey
release

__init__ def __init__(self, evalStr=None, dictKey=NoDictKey) Undocumented function.

__repr__ def __repr__(self) Undocumented function.

_getNonWeakDictKey def _getNonWeakDictKey(self) Undocumented function.

acquire def acquire(self) Undocumented function.

dereferenceDictKey def dereferenceDictKey(self, parentDict) Undocumented function.

destroy def destroy(self) Undocumented function.

getString def getString(self, prevIndirection=None, nextIndirection=None) Undocumented function.

isDictKey def isDictKey(self) Undocumented function.

release def release(self) Undocumented function.