MLReplaceDeprecatedAPI¶
-
MacroModule¶ author MeVis Medical Solutions AGpackage MeVisLab/Standarddefinition MLReplaceDeprecatedAPI.def keywords deprecation
Purpose¶
The module MLReplaceDeprecatedAPI can warn or replace ML deprecated API usage on recursive file trees.
It is a simple whole-word parser, so it may replace more than anticipated; make sure to review the code after applying replacements.
Details¶
Note: The Warn mode will report more than the replace mode will replace, since some replacements are ambiguous.
Warning: If this tool runs in Replace mode, it will replace text in your files without backups.
Parameter Fields¶
Field Index¶
Extensions: String |
Filter: String |
Level: Integer |
Mode: Enum |
No Namespace Check: Bool |
Path: String |
Run: Trigger |
Verbose: Bool |
Visible Fields¶
Extensions¶
-
name:extensions, type:String, default:h cpp¶ Sets the file extensions that are used for searching.
Mode¶
-
name:mode, type:Enum, default:Warn¶ Defines the mode the tool is running in.
Values:
| Title | Name |
|---|---|
| Warn | Warn |
| Replace | Replace |
Verbose¶
-
name:verbose, type:Bool, default:FALSE¶ If checked, the tool prints log messages to the console.
Level¶
-
name:level, type:Integer, default:4, minimum:0, maximum:4¶ Sets a level that controls how much of the API is replaced or warned about.