Panda3D
Public Member Functions | Public Attributes

Indirection Class Reference

List of all members.

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

 All Classes Namespaces Functions Variables Properties