The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.drawwithdot.DictObj Class Reference
Inheritance diagram for cma.drawwithdot.DictObj:
Collaboration diagram for cma.drawwithdot.DictObj:

Public Member Functions

def __init__ (self, obj, kw=None, failreturn='')
 
def __contains__ (self, name)
 
def __getitem__ (self, name)
 

Data Fields

 obj
 
 failreturn
 
 kw
 

Detailed Description

This is a class that allows us to see the objects below us as a
dict-like object - both for any dict-like characteristics and for its
attributes.  This is for formatting them with the "usual" Python
formatting rules like for example, "%(ipaddr)s".

Definition at line 73 of file drawwithdot.py.

Constructor & Destructor Documentation

def cma.drawwithdot.DictObj.__init__ (   self,
  obj,
  kw = None,
  failreturn = '' 
)
Initialization

Definition at line 80 of file drawwithdot.py.

Member Function Documentation

def cma.drawwithdot.DictObj.__contains__ (   self,
  name 
)

Definition at line 126 of file drawwithdot.py.

References cma.drawwithdot.DictObj.kw, and cma.drawwithdot.DictObj.obj.

Field Documentation

cma.drawwithdot.DictObj.failreturn

Definition at line 83 of file drawwithdot.py.

Referenced by cma.drawwithdot.DictObj.__getitem__().

cma.drawwithdot.DictObj.obj

The documentation for this class was generated from the following file: