set_interface Abstract Interface

abstract interface

Set the content of the storage to value passed.

private subroutine set_interface(self, content)

Arguments

Type IntentOptional AttributesName
class(content_adt), intent(out) :: self

The content.

class(*), intent(in) :: content

The content to be stored.

Description

Set the content of the content.

The type of the content variable provided must be the same as the content variable is designed to accept (as determined by the concrete implementation of the [[content:typeguard]] method in the extension) or be of the same type of content.