|
Panda3D
|
Public Member Functions | |
| __init__ (self, evalStr=None, dictKey=NoDictKey) | |
| __repr__ (self) | |
| acquire (self) | |
| dereferenceDictKey (self, parentDict) | |
| destroy (self) | |
| getString (self, prevIndirection=None, nextIndirection=None) | |
| isDictKey (self) | |
| release (self) | |
Public Attributes | |
| dictKey = NoDictKey | |
| str | evalStr = evalStr |
Protected Member Functions | |
| _getNonWeakDictKey (self) | |
Protected Attributes | |
| bool | _isWeakRef = False |
| int | _refCount = 0 |
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
| __init__ | ( | self, | |
| evalStr = None, | |||
| dictKey = NoDictKey ) |
| __repr__ | ( | self | ) |
|
protected |
| acquire | ( | self | ) |
| dereferenceDictKey | ( | self, | |
| parentDict ) |
| destroy | ( | self | ) |
| getString | ( | self, | |
| prevIndirection = None, | |||
| nextIndirection = None ) |
| isDictKey | ( | self | ) |
| release | ( | self | ) |
|
protected |
|
protected |
| dictKey = NoDictKey |
| str evalStr = evalStr |