data_models#
- class data_models.DataModels(version: str)[source]#
Bases:
object
app data models
- Args:
object (object): base object specialization
- LCcmdParam = ['listCommands', '', 'listCommands', '12', '0', '0', 'no_wildcards', '0', '0', 'UI_ARG_HANDLING::no_args', '0', '0', '{UITYPE::NO_ARGS}']#
- LScmdParam = ['listSettings', '', 'listSettings', '12', '0', '0', 'no_wildcards', '0', '0', 'UI_ARG_HANDLING::no_args', '0', '0', '{UITYPE::NO_ARGS}']#
- arduino_structure = {'project_directory': {'CLI': {'config': {'files': ['config.h', 'noedit.h'], 'utility': {'files': ['freeRam.h', 'vsnprintf.h']}}, 'files': ['InputHandler.cpp', 'InputHandler.h', 'cli.h', 'functions.h', 'parameters.h']}, 'files': ['README.md']}}#
- arg_handling_strings = ['UI_ARG_HANDLING::no_args', 'UI_ARG_HANDLING::one_type', 'UI_ARG_HANDLING::type_arr']#
- button_dict = {'buttons': {}}#
- button_sub_dict = {'QPushButton': None, 'enabled': False, 'text': None}#
- button_tree_state_dict = {'child count': None, 'combobox widget': None, 'current item index': None, 'index of top level item': None, 'is expanded': None, 'item selected': None, 'items selected': [], 'root item index': None, 'root item selected': None, 'table widget': None, 'tree': None}#
- cliopt_model = {'builtin methods': {'var': {'defaultFunction': False, 'listCommands': False, 'listSettings': False, 'outputToStream': False}}, 'commands': {'index': {}, 'number of commands': '0', 'parameters': {}, 'primary id key': '0'}, 'config': {'var': {'debug methods': {}, 'library settings': {}, 'optional methods': {}, 'progmem settings': {}}}, 'process output': {'var': {'buffer size': '0', 'output stream': None}}, 'process parameters': {'var': {'data delimiter sequences': {'0': ' ', '1': ','}, 'end of line characters': '\r\n', 'input control char sequence': '##', 'process name': '', 'start stop data delimiter sequences': {'0': '\\"', '1': '\\"'}, 'wildcard char': '*'}}, 'type': 'cli options', 'var': {'tool version': ''}}#
- command_arg_types_list = ['UINT8_T', 'UINT16_T', 'UINT32_T', 'INT16_T', 'FLOAT', 'CHAR', 'STARTSTOP', 'NOTYPE']#
- command_parameters_dict_keys_list = ['functionName', 'returnFunctionName', 'commandString', 'commandLength', 'parentId', 'commandId', 'commandHasWildcards', 'commandDepth', 'commandSubcommands', 'commandArgumentHandling', 'commandMinArgs', 'commandMaxArgs', 'commandArguments']#
- command_parameters_input_field_settings_dict = {'commandArgumentHandling': {'enabled': True, 'value': ''}, 'commandArguments': {'enabled': True, 'value': ''}, 'commandDepth': {'enabled': True, 'value': ''}, 'commandHasWildcards': {'enabled': True, 'value': ''}, 'commandId': {'enabled': True, 'value': ''}, 'commandLength': {'enabled': True, 'value': ''}, 'commandMaxArgs': {'enabled': True, 'value': ''}, 'commandMinArgs': {'enabled': True, 'value': ''}, 'commandString': {'enabled': True, 'value': ''}, 'commandSubcommands': {'enabled': True, 'value': ''}, 'functionName': {'enabled': True, 'value': ''}, 'parentId': {'enabled': True, 'value': ''}, 'returnFunctionName': {'enabled': True, 'value': ''}}#
- default_session_model = {'opt': {'builtin methods': {'defaultFunction': True, 'listCommands': True, 'listSettings': True, 'outputToStream': True}, 'cli_output_dir': None, 'inputhandler_config_file_path': None, 'log_file_path': None, 'log_level': None, 'output': {'buffer size': '700', 'stream': 'Serial'}, 'recent_files': {'num_paths_to_keep': '5', 'paths': []}, 'save_file_path': None}, 'tool version': '', 'type': 'session'}#
- generated_filename_dict = {'files': {'README.md': {'file_lines_list': [], 'file_string': '', 'filename': ''}, 'cli.h': {'file_lines_list': [], 'file_string': '', 'filename': ''}, 'config.h': {'file_lines_list': [], 'file_string': '', 'filename': ''}, 'functions.h': {'file_lines_list': [], 'file_string': '', 'filename': ''}, 'parameters.h': {'file_lines_list': [], 'file_string': '', 'filename': ''}}}#
- generated_filename_sub_dict = {'file_lines_list': [], 'file_string': '', 'filename': ''}#
- listCommands = {'listCommands': {'commandArgumentHandling': 'UI_ARG_HANDLING::no_args', 'commandArguments': '{UITYPE::NO_ARGS}', 'commandDepth': '0', 'commandHasWildcards': 'no_wildcards', 'commandId': '0', 'commandLength': '12', 'commandMaxArgs': '0', 'commandMinArgs': '0', 'commandString': 'listCommands', 'commandSubcommands': '0', 'functionName': 'listCommands', 'parentId': '0', 'returnFunctionName': ''}}#
- listSettings = {'listSettings': {'commandArgumentHandling': 'UI_ARG_HANDLING::no_args', 'commandArguments': '{UITYPE::NO_ARGS}', 'commandDepth': '0', 'commandHasWildcards': 'no_wildcards', 'commandId': '0', 'commandLength': '12', 'commandMaxArgs': '0', 'commandMinArgs': '0', 'commandString': 'listSettings', 'commandSubcommands': '0', 'functionName': 'listSettings', 'parentId': '0', 'returnFunctionName': ''}}#
- minimum_file_len_dict = {'README.md': 0, 'cli.h': 57, 'config.h': 0, 'functions.h': 27, 'parameters.h': 27}#
- parameters_index_struct = {'child index key list': [], 'parameters key': '', 'parent index key': '', 'root index key': ''}#
- pio_structure = {'project_directory': {'lib': {'CLI': {'config': {'files': ['config.h', 'noedit.h'], 'utility': {'files': ['freeRam.h', 'vsnprintf.h']}}, 'files': ['InputHandler.cpp', 'InputHandler.h', 'cli.h', 'functions.h', 'parameters.h']}, 'files': ['README.md']}}}#
- version = ''#
- wildcard_flag_strings = ['no_wildcards', 'has_wildcards']#