Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel MAll & MOptsSet classes MTools extensions (with SysMLv1 models) Tags and keywords Mathematica keywords MTools MTools::Class MTools::method Webel Mathematica keywords W`MOO` W`MOO`MOpts` MDemo` MAll MOptsSet MOptsSetDemo MAllDemo newOptsSetDemo methodWithOptsSet Webel Options Keywords Wolfram Wolfram Language Mathematica Webel::SysML4Mathematica Webel IT Australia Systems Modeling Language SysMLv1 Click on the image to view it full size Up next An MOptSet can also be used in function Options[] Notes [POLICY]{SUBJECT-TO-CHANGE} Webel: Mathematica: The Method syntax for the user contributed MTools does not seem to support Wolfram Language Options[]. The Webel MTools extensions offer options support via a Webel Options Association in combination with the HelpO` method registry. [TIP]{INFORMATIVE} Mathematica: TIPS for living with the user-contributed MTools for Object-Orientation (until a vendor-supported OO solution is eventually provided) [PATTERN, TIP, TOOL]{INFORMATIVE} Webel + Mathematica + MTools + SysML [POLICY]{STRICT} Webel: Mathematica: The Webel MAll universal base class does not itself use Webel method options (but does offer some support for method options for extending classes) Snippets (quotes/extracts) Visit also Visit also (backlinks) Related slides (includes other tutorials) Related slides (backlinks, includes other tutorials) The Webel W`MOO` packages: MOO = MTools OO support utilities The MNestAllDemo class with MAll or MAllDemo as child MDemo`: Overview of demo classes for MAll & MOptsSet Convention-based MDemoConfig with fields for ‘$opt$’ options (works with any MTools class but prefer MOptsSet or MOpt) Flags Book traversal links for Use an MOptsSet options group: Example: MAllDemo.methodWithOptsSet uses MOptsSetDemo Previous Up Next