real_container Derived Type

type, public, extends(container) :: real_container

type~~real_container~~InheritsGraph type~real_container real_container type~container container type~container->type~real_container
Help


A container for holding the defualt real type.


Type-Bound Procedures

procedure, private :: typeguard => real_guard

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

    Arguments

    Type IntentOptional AttributesName
    class(real_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) ::  real_container
    !! Author: Chris MacMackin
    !! Date: December 2015
    !!
    !! A container for holding the defualt real type.
  contains
    private
    procedure   ::  typeguard => real_guard
  end type real_container