Functions | Variables
enums Namespace Reference

Functions

def files_gen (path, ends)
 
def get_enums_from_file (file_path, regexp)
 
def get_enums_from_folder (folder_path, ends, regexp)
 
def get_first_by_regexp (line, regexp)
 
def run (include_folder_path, addon_folder_path)
 

Variables

 action
 
 args = parser.parse_args()
 
 dest
 
string ENUM_CPP_REGEXP = r'^[ ]*_FORCE_SET_ENUM\((\w+)\)'
 
string ENUM_H_REGEXP = r'^[ ]*(RS2_\w+)'
 
string ENUM_JS_REGEXP = r'RS2\.(RS2_\w+)'
 
 help
 
string message = "[ERROR] Node.js wrapper has missing enum values: %s"
 
 missed = run(args.include_folder_path, args.addon_folder_path)
 
 parser = argparse.ArgumentParser(description='Ping script')
 
 required
 

Function Documentation

def enums.files_gen (   path,
  ends 
)

Definition at line 13 of file enums.py.

def enums.get_enums_from_file (   file_path,
  regexp 
)

Definition at line 35 of file enums.py.

def enums.get_enums_from_folder (   folder_path,
  ends,
  regexp 
)

Definition at line 27 of file enums.py.

def enums.get_first_by_regexp (   line,
  regexp 
)

Definition at line 20 of file enums.py.

def enums.run (   include_folder_path,
  addon_folder_path 
)

Definition at line 46 of file enums.py.

Variable Documentation

enums.action

Definition at line 62 of file enums.py.

enums.args = parser.parse_args()

Definition at line 66 of file enums.py.

enums.dest

Definition at line 62 of file enums.py.

string enums.ENUM_CPP_REGEXP = r'^[ ]*_FORCE_SET_ENUM\((\w+)\)'

Definition at line 9 of file enums.py.

string enums.ENUM_H_REGEXP = r'^[ ]*(RS2_\w+)'

Definition at line 8 of file enums.py.

string enums.ENUM_JS_REGEXP = r'RS2\.(RS2_\w+)'

Definition at line 10 of file enums.py.

enums.help

Definition at line 64 of file enums.py.

string enums.message = "[ERROR] Node.js wrapper has missing enum values: %s"

Definition at line 72 of file enums.py.

enums.missed = run(args.include_folder_path, args.addon_folder_path)

Definition at line 68 of file enums.py.

enums.parser = argparse.ArgumentParser(description='Ping script')

Definition at line 61 of file enums.py.

enums.required

Definition at line 62 of file enums.py.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36