Functions | Variables
add_sick_scan_base_header Namespace Reference

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"])
 

Detailed Description

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

Function Documentation

◆ scandirectory()

def add_sick_scan_base_header.scandirectory (   dir,
  extensions,
  excludes 
)

Definition at line 12 of file add_sick_scan_base_header.py.

Variable Documentation

◆ additional_line

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.

◆ content

add_sick_scan_base_header.content = ""

Definition at line 41 of file add_sick_scan_base_header.py.

◆ exclude_string

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.

◆ folder

string add_sick_scan_base_header.folder = "../.."

Definition at line 35 of file add_sick_scan_base_header.py.

◆ header_files

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.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:14