/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::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.


Constructor & Destructor Documentation

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

Definition at line 4 of file util.py.

00005                                  :
00006         self.comment = comment


Member Function Documentation

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

Definition at line 7 of file util.py.

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

Member Data Documentation

Definition at line 4 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 Fri May 16 2014 09:56:07 for XmlDetDesc by doxygen 1.7.4