CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
commentSkipper.commentSkipper Namespace Reference

Functions

def filter
 

Variables

string __author__ = "Aurelija"
 
string __date__ = "$2010-08-09 14.23.54$"
 
list buildfilesCommentFiles = ['buildfile', 'buildfile.xml']
 
list cppCommentFiles = ['.h', '.c', '.cc', '.cxx']
 

Function Documentation

def commentSkipper.commentSkipper.filter (   fileList)

Definition at line 12 of file commentSkipper.py.

12 
13 def filter(fileList):
14 
15  if not fileList: return fileList
16  head, tail = os.path.split(fileList[0])
17  root, ext = os.path.splitext(tail)
18 
19  if (tail.lower() in buildfilesCommentFiles):
20  fileList = buildFileCommentSkipper.filterFiles(fileList)
21  elif (ext.lower() in cppCommentFiles):
22  fileList = cppCommentSkipper.filterFiles(fileList)
return fileList

Variable Documentation

string commentSkipper.commentSkipper.__author__ = "Aurelija"

Definition at line 2 of file commentSkipper.py.

string commentSkipper.commentSkipper.__date__ = "$2010-08-09 14.23.54$"

Definition at line 3 of file commentSkipper.py.

list commentSkipper.commentSkipper.buildfilesCommentFiles = ['buildfile', 'buildfile.xml']

Definition at line 10 of file commentSkipper.py.

list commentSkipper.commentSkipper.cppCommentFiles = ['.h', '.c', '.cc', '.cxx']

Definition at line 9 of file commentSkipper.py.