+
Point of view
All features
expanded class COMMAND_LINE_ARGUMENT_CUSTOM_FACTORY [D_]
Summary
A specialized factory for custom arguments.
Direct parents
Insert list: COMMAND_LINE_ARGUMENT_FACTORY
Overview
Features
Options
{ANY}
Positional
{ANY}
Options
{ANY}
Positional
{ANY}
{ANY}
Option names validity
{ANY}
option_custom (short: ABSTRACT_STRING, long: ABSTRACT_STRING, name: ABSTRACT_STRING, usage: ABSTRACT_STRING, validate: FUNCTION[TUPLE 1[STRING], BOOLEAN], decode: FUNCTION[TUPLE[TUPLE 1[STRING], D_]]): COMMAND_LINE_TYPED_ARGUMENT[D_]
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
  • decode /= Void
option_customs (short: ABSTRACT_STRING, long: ABSTRACT_STRING, name: ABSTRACT_STRING, usage: ABSTRACT_STRING, validate: FUNCTION[TUPLE 1[STRING], BOOLEAN], decode: FUNCTION[TUPLE[TUPLE 1[STRING], D_]]): COMMAND_LINE_TYPED_ARGUMENT[TRAVERSABLE[D_]]
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
  • decode /= Void
positional_custom (name: ABSTRACT_STRING, usage: ABSTRACT_STRING, validate: FUNCTION[TUPLE 1[STRING], BOOLEAN], decode: FUNCTION[TUPLE[TUPLE 1[STRING], D_]]): COMMAND_LINE_TYPED_ARGUMENT[D_]
effective function
{ANY}
require
  • name /= Void
  • decode /= Void
positional_customs (name: ABSTRACT_STRING, usage: ABSTRACT_STRING, validate: FUNCTION[TUPLE 1[STRING], BOOLEAN], decode: FUNCTION[TUPLE[TUPLE 1[STRING], D_]]): COMMAND_LINE_TYPED_ARGUMENT[TRAVERSABLE[D_]]
effective function
{ANY}
require
  • name /= Void
  • decode /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
  • name /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
effective function
{ANY}
require
  • short /= Void implies short_pattern.match(short.out)
  • long /= Void implies long_pattern.match(long.out)
  • short /= Void or else long /= Void
effective function
{ANY}
require
  • name /= Void
effective function
{ANY}
require
  • name /= Void
effective function
{ANY}
require
  • name /= Void
effective function
{ANY}
require
  • name /= Void
effective function
{ANY}
require
  • name /= Void
effective function
{ANY}
require
  • name /= Void
no_parameters: COMMAND_LINE_ARGUMENT
once function
{ANY}
useful to allow an empty command line.
once function
{ANY}
allows parameters to be set after a special "--" option
short_pattern: REGULAR_EXPRESSION
once function
{ANY}
long_pattern: REGULAR_EXPRESSION
once function
{ANY}