Functions | |
def | scandirectory (dir, extensions, excludes) |
Variables | |
string | additional_line = "#include \"sick_scan/sick_scan_base.h\" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */\n" |
string | content = "" |
string | exclude_string = "#include \"sick_scan/sick_scan_base.h\"" |
string | folder = "../.." |
def | header_files = scandirectory(folder, [".h", ".hpp"], ["sick_scan_base.h", "sick_scan_api.h"]) |
Searches recursive all files "*.h" and "*.hpp" and adds line "include \"sick_scan/sick_scan_base.h\" at the beginning of all files. Usage: python3 add_sick_scan_base_header.py
def add_sick_scan_base_header.scandirectory | ( | dir, | |
extensions, | |||
excludes | |||
) |
Definition at line 12 of file add_sick_scan_base_header.py.
string add_sick_scan_base_header.additional_line = "#include \"sick_scan/sick_scan_base.h\" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */\n" |
Definition at line 37 of file add_sick_scan_base_header.py.
add_sick_scan_base_header.content = "" |
Definition at line 41 of file add_sick_scan_base_header.py.
string add_sick_scan_base_header.exclude_string = "#include \"sick_scan/sick_scan_base.h\"" |
Definition at line 36 of file add_sick_scan_base_header.py.
string add_sick_scan_base_header.folder = "../.." |
Definition at line 35 of file add_sick_scan_base_header.py.
def add_sick_scan_base_header.header_files = scandirectory(folder, [".h", ".hpp"], ["sick_scan_base.h", "sick_scan_api.h"]) |
Definition at line 39 of file add_sick_scan_base_header.py.