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~set2~13 set2 type~stringvariablemap->type~set2~13 tree type~variable->StringVector dimensions type~stringattributemap StringAttributeMap type~variable->type~stringattributemap attributes type~unlimitedentity UnlimitedEntity type~variable->type~unlimitedentity const_value type~ivector~12 iVector type~set2~13->type~ivector~12 parents, lefts, rights, heights type~tvector~12 tVector type~set2~13->type~tvector~12 items type~set2~11 set2 type~stringattributemap->type~set2~11 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