character_container Derived Type

type, public, extends(container) :: character_container

type~~character_container~~InheritsGraph type~character_container character_container type~container container type~container->type~character_container
Help


A container for holding the defualt character type.


Type-Bound Procedures

procedure, private :: typeguard => character_guard

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

    Arguments

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