| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

XmlDetDescGen::util::Comment Class Reference

List of all members.

Public Member Functions

def __init__
def xml

Public Attributes

 comment

Detailed Description

Definition at line 3 of file util.py.


Member Function Documentation

def XmlDetDescGen::util::Comment::__init__ (   self,
  comment = "" 
)

Definition at line 4 of file util.py.

00004                                  :
00005         self.comment = comment
00006 
    def xml(self,fo,pre):

def XmlDetDescGen::util::Comment::xml (   self,
  fo,
  pre 
)

Definition at line 7 of file util.py.

00007                         :
00008         lines = self.comment.split('\n')
00009         if 1 == len(lines) and len(lines[0]) <= 70:
00010             fo.write("%s<!-- %s -->\n"%(pre,lines[0]))
00011             return
00012         fo.write("%s<!--\n"%pre)
00013         for line in self.comment.split('\n'):
00014             fo.write(pre+'    '+line+'\n')
00015         fo.write("%s-->\n"%pre)
00016         return
class ExternalEntity:


Member Data Documentation

XmlDetDescGen::util::Comment::comment

Definition at line 5 of file util.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 Mon Apr 11 20:13:45 2011 for MiniDryRunXmlDetDesc by doxygen 1.4.7