Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QSocModuleManager: Add Function to Fetch Module Nodes by Regex
- Implemented `getModuleNode` function in QSocModuleManager class. This function retrieves YAML nodes for modules matching the given regular expression. It provides a mechanism to query specific module data within the module library based on regex patterns. - The function defaults to fetching all modules if no regex is specified, returning an empty node for invalid or unmatched regex. - Ensured the implementation checks for regex validity using QStaticRegex::isNameRegexValid before proceeding with data retrieval. - Added corresponding function declaration in qsocmodulemanager.h with a detailed Doxygen comment explaining its purpose and usage. This addition enhances the module data querying capabilities of QSocModuleManager, allowing for more flexible and targeted data retrieval based on regex patterns. Signed-off-by: Huang Rui <[email protected]>
- Loading branch information