Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
Indirection Class Reference

Public Member Functions

def __init__
 
def __repr__
 
def acquire
 
def dereferenceDictKey
 
def destroy
 
def getString
 
def isDictKey
 
def release
 

Public Attributes

 dictKey
 
 evalStr
 

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
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

Constructor & Destructor Documentation

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

Member Function Documentation

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)

Member Data Documentation

dictKey
evalStr