complex4_container Derived Type

type, public, extends(container) :: complex4_container

type~~complex4_container~~InheritsGraph type~complex4_container complex4_container type~container container type~container->type~complex4_container
Help


A container for holding the 4 byte complex type.


Type-Bound Procedures

procedure, private :: typeguard => complex4_guard

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

    Arguments

    Type IntentOptional AttributesName
    class(complex4_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) ::  complex4_container
    !! Author: Chris MacMackin
    !! Date: December 2015
    !!
    !! A container for holding the 4 byte complex type.
  contains
    private
    procedure   ::  typeguard => complex4_guard
  end type complex4_container