'Print summary of lint.'

def print_summary(self, strm):

    nerr = 0
    nerr += LintHelper._print_summary_map(strm, self.cpp_header_map, 'cpp-header')
    nerr += LintHelper._print_summary_map(strm, self.cpp_src_map, 'cpp-soruce')
    nerr += LintHelper._print_summary_map(strm, self.python_map, 'python')
    if (nerr == 0):
        strm.write('All    passed!\n')
    else:
        strm.write(('%d    files    failed    lint\n' % nerr))
    return nerr
