parameters: (path)
return_statement: return includes
docstring: Build a set that contains vtk includes.
docstring_summary: Build a set that contains vtk includes.
docstring_tokens: Build a set that contains vtk includes .
function: def FindIncludes(path):
      '''
      Build a set that contains vtk includes.
      '''
      includes = set()
      includeProg = re.compile(r"((?:vtk|QVTK).*\.h)")
      with open(path, "r") as fid:
          contents = fid.read()
      incs = includeProg.findall(contents)
      includes.update(incs)
      return includes
function_tokens: def FindIncludes ( path ) : includes = set ( ) includeProg = re . compile ( r"((?:vtk|QVTK).*\.h)" ) with open ( path , "r" ) as fid : contents = fid . read ( ) incs = includeProg . findall ( contents ) includes . update ( incs ) return includes