Package pyxsd :: Package transforms :: Module expandCell :: Class ExpandCell
[hide private]
[frames] | no frames]

Class ExpandCell

source code

         object --+        
                  |        
transform.Transform --+    
                      |    
    cellSizer.CellSizer --+
                          |
                         ExpandCell

Instance Methods [hide private]
  __init__(self, root)
Cannot Initialize a true abstact class!
  __call__(self, a1Expand, a2Expand, a3Expand)
  expand(self, a1Expand, a2Expand, a3Expand)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from cellSizer.CellSizer
  cellSizerInit(self)
  findCenter(self, vectors)
  getAtoms(self)
  getBravaisVectors(self)
  getCartesianCoords(self, vectors, position)
  getVectorList(self)
  makeAtom(self, position, atomType)
  makeBravaisLattice(self, newVectors, newAtoms)
  makeNewXml(self, bravaisLattice)
  makeNewXmlAtomElements(self, atom)
    Inherited from transform.Transform
  classCollector(self, instance, attrNames, elemNames, collectorDict)
Visitor function to make a dictionary that associates a class with its instances.
  find(self, tagName, baseElem)
  findAll(self, tagName, baseElem)
  getAllSubElements(self, root)
Function to use the walk function with the tagCollector visitor function to make a dictionary that associates all elements with their sub-Elements.
  getElementsByName(self, root, name)
Function to use the walk function with the tagFinder visitor function to make a list containing all elements with a particular name.
  getInstancesByClassName(self, root)
Function to use the walk function with the classCollector visitor function.
  makeCommentElem(self, comment)
  makeElemObj(self, name)
Creates a new element that contains the proper tree stucture
  tagCollector(self, instance, attrNames, elemNames, collectorDict)
A visitor function that is used to make a dictionary that associates a tag name with its children.
  tagFinder(self, instance, attrNames, elemNames, collection, name)
A visitor function to collect all tags with a particular name, and put them into a list.
  walk(self, instance, visitor, *args, **kwargs)

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, root)
(Constructor)

source code 
Cannot Initialize a true abstact class!
Overrides: transform.Transform.__init__
(inherited documentation)

__call__(self, a1Expand, a2Expand, a3Expand)
(Call operator)

source code 
None

expand(self, a1Expand, a2Expand, a3Expand)

source code 
None