int1_container Derived Type

type, public, extends(container) :: int1_container

type~~int1_container~~InheritsGraph type~int1_container int1_container type~container container type~container->type~int1_container
Help


A container for holding the 1 byte integer type.


Type-Bound Procedures

procedure, private :: typeguard => int1_guard

  • private function int1_guard(this, lhs) result(ret)

    Arguments

    Type IntentOptional AttributesName
    class(int1_container), intent(in) :: this
    class(*), intent(inout) :: lhs

    Return Value logical

    Description

    Author
    Chris MacMackin
    Date
    December 2015

    Transfers the container's contents to the variable on the left hand side of the equals sign if it is of the correct type.

Source Code

  type, extends(container) ::  int1_container
    !! Author: Chris MacMackin
    !! Date: December 2015
    !!
    !! A container for holding the 1 byte integer type.
  contains
    private
    procedure   ::  typeguard => int1_guard
  end type int1_container