/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
XmlDetDescGen::geometry::Boolean Class Reference

List of all members.

Public Member Functions

def __init__
def xml

Public Attributes

 type
 name
 primary
 secondaries

Detailed Description

Definition at line 65 of file geometry.py.


Constructor & Destructor Documentation

def XmlDetDescGen::geometry::Boolean::__init__ (   self,
  type,
  name,
  primary,
  secondaries = [] 
)

Definition at line 67 of file geometry.py.

00068                                                        :
00069         self.type = type
00070         self.name = name
00071         self.primary = primary
00072         self.secondaries = secondaries
00073         return


Member Function Documentation

def XmlDetDescGen::geometry::Boolean::xml (   self,
  fo,
  pre 
)

Definition at line 74 of file geometry.py.

00075                         :
00076         "Output self as XML to file object fo, prefacing each line with pre"
00077         fo.write('%s<%s name="%s">\n'%(pre,self.type,self.name))
00078         self.primary.xml(fo,pre+'  ')
00079         for sec in self.secondaries:
00080             sec.xml(fo,pre+'  ')
00081         fo.write('%s</%s>\n'%(pre,self.type))
00082         return


Member Data Documentation

Definition at line 67 of file geometry.py.

Definition at line 67 of file geometry.py.

Definition at line 67 of file geometry.py.

Definition at line 67 of file geometry.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:07 for XmlDetDesc by doxygen 1.7.4