ReplaceMetadataMessage Derived Type

type, public, extends(AbstractMessage) :: ReplaceMetadataMessage


Inherits

type~~replacemetadatamessage~~InheritsGraph type~replacemetadatamessage ReplaceMetadataMessage type~abstractmessage AbstractMessage type~replacemetadatamessage->type~abstractmessage type~filemetadata FileMetadata type~replacemetadatamessage->type~filemetadata fmd StringIntegerMap StringIntegerMap type~filemetadata->StringIntegerMap dimensions StringVector StringVector type~filemetadata->StringVector order type~stringvariablemap StringVariableMap type~filemetadata->type~stringvariablemap variables type~variable Variable type~filemetadata->type~variable global_var type~map_set~15 map_Set type~stringvariablemap->type~map_set~15 tree type~variable->StringVector dimensions type~stringattributemap StringAttributeMap type~variable->type~stringattributemap attributes type~unlimitedentity UnlimitedEntity type~variable->type~unlimitedentity const_value type~map_s_basenode~15 map_s_BaseNode type~map_set~15->type~map_s_basenode~15 root type~set2~10 set2 type~stringattributemap->type~set2~10 tree

Components

Type Visibility Attributes Name Initial
integer, public :: collection_id
type(FileMetadata), public :: fmd

Constructor

public interface ReplaceMetadataMessage

  • private function new_ReplaceMetadataMessage(collection_id, fmd, rc) result(message)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: collection_id
    type(FileMetadata), intent(in) :: fmd
    integer, intent(out), optional :: rc

    Return Value type(ReplaceMetadataMessage)


Type-Bound Procedures

procedure, public :: deserialize

  • private subroutine deserialize(this, buffer, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(ReplaceMetadataMessage), intent(inout) :: this
    integer, intent(in) :: buffer(:)
    integer, intent(out), optional :: rc

procedure, public :: dispatch

  • private recursive subroutine dispatch(this, visitor, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(AbstractMessage), intent(in) :: this
    class(SurrogateMessageVisitor), intent(inout), target :: visitor
    integer, intent(out), optional :: rc

procedure, public :: get_length

  • private function get_length(this) result(length)

    Arguments

    Type IntentOptional Attributes Name
    class(ReplaceMetadataMessage), intent(in) :: this

    Return Value integer

procedure, public, nopass :: get_type_id

  • private function get_type_id() result(type_id)

    Arguments

    None

    Return Value integer

procedure, public :: serialize

  • private subroutine serialize(this, buffer, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(ReplaceMetadataMessage), intent(in) :: this
    integer, intent(inout) :: buffer(:)
    integer, intent(out), optional :: rc

Source Code

   type, extends(AbstractMessage) :: ReplaceMetadataMessage
      integer :: collection_id
      type (FileMetadata) :: fmd
   contains
      procedure, nopass :: get_type_id
      procedure :: get_length
      procedure :: serialize
      procedure :: deserialize
   end type ReplaceMetadataMessage