MAPL_FlapCLI Derived Type

type, public :: MAPL_FlapCLI


Inherits

type~~mapl_flapcli~~InheritsGraph type~mapl_flapcli MAPL_FlapCLI command_line_interface command_line_interface type~mapl_flapcli->command_line_interface cli_options

Components

Type Visibility Attributes Name Initial
type(command_line_interface), public :: cli_options

Constructor

public interface MAPL_FlapCLI

  • private function new_CapOptions_from_flap(unusable, description, authors, dummy, extra, rc) result(cap_options)

    Arguments

    Type IntentOptional Attributes Name
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in) :: description
    character(len=*), intent(in) :: authors
    character(len=*), intent(in) :: dummy
    procedure(I_extraoptions), optional :: extra
    integer, intent(out), optional :: rc

    Return Value type(MAPL_CapOptions)

  • private function new_CapOptions_from_flap_back_comp(unusable, description, authors, extra, rc) result(flapcap)

    Arguments

    Type IntentOptional Attributes Name
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in) :: description
    character(len=*), intent(in) :: authors
    procedure(I_extraoptions), optional :: extra
    integer, intent(out), optional :: rc

    Return Value type(MAPL_FlapCLI)


Type-Bound Procedures

procedure, public, nopass :: add_command_line_options

  • private subroutine add_command_line_options(options, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(command_line_interface), intent(inout) :: options
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

procedure, public :: fill_cap_options

  • private subroutine fill_cap_options(flapCLI, cap_options, unusable, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(MAPL_FlapCLI), intent(inout) :: flapCLI
    type(MAPL_CapOptions), intent(out) :: cap_options
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer, intent(out), optional :: rc

Source Code

   type :: MAPL_FlapCLI
     type(command_line_interface) :: cli_options
   contains
      procedure, nopass :: add_command_line_options
      procedure :: fill_cap_options
   end type MAPL_FlapCLI