example_config_t Derived Type

type, public, extends(executable_config_t) :: example_config_t

Configuation meta data for an example


Contents

Source Code


Components

TypeVisibility AttributesNameInitial
type(dependency_config_t), public, allocatable:: dependency(:)

Dependency meta data for this executable

type(string_t), public, allocatable:: link(:)

Libraries to link against

character(len=:), public, allocatable:: main

Name of the source file declaring the main program

character(len=:), public, allocatable:: name

Name of the resulting executable

character(len=:), public, allocatable:: source_dir

Source directory for collecting the executable


Type-Bound Procedures

procedure, public :: info

Print information on this instance

  • private subroutine info(self, unit, verbosity)

    Write information on instance

    Arguments

    Type IntentOptional AttributesName
    class(example_config_t), intent(in) :: self

    Instance of the example configuration

    integer, intent(in) :: unit

    Unit for IO

    integer, intent(in), optional :: verbosity

    Verbosity of the printout

Source Code

    type, extends(executable_config_t) :: example_config_t

    contains

        !> Print information on this instance
        procedure :: info

    end type example_config_t