FileMetadata_deserialize Subroutine

public subroutine FileMetadata_deserialize(buffer, fmd, rc)

Arguments

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

Calls

proc~~filemetadata_deserialize~~CallsGraph proc~filemetadata_deserialize FileMetadata_deserialize interface~deserialize_intrinsic deserialize_intrinsic proc~filemetadata_deserialize->interface~deserialize_intrinsic interface~mapl_assert MAPL_Assert proc~filemetadata_deserialize->interface~mapl_assert interface~serialize_buffer_length serialize_buffer_length proc~filemetadata_deserialize->interface~serialize_buffer_length proc~mapl_return MAPL_Return proc~filemetadata_deserialize->proc~mapl_return proc~mapl_verify MAPL_Verify proc~filemetadata_deserialize->proc~mapl_verify proc~stringintegermap_deserialize StringIntegerMap_deserialize proc~filemetadata_deserialize->proc~stringintegermap_deserialize proc~stringvariablemap_deserialize StringVariableMap_deserialize proc~filemetadata_deserialize->proc~stringvariablemap_deserialize proc~stringvector_deserialize StringVector_deserialize proc~filemetadata_deserialize->proc~stringvector_deserialize proc~variable_deserialize Variable_deserialize proc~filemetadata_deserialize->proc~variable_deserialize at at proc~mapl_return->at insert insert proc~mapl_return->insert proc~mapl_throw_exception MAPL_throw_exception proc~mapl_return->proc~mapl_throw_exception proc~mapl_verify->proc~mapl_throw_exception proc~stringintegermap_deserialize->interface~deserialize_intrinsic proc~stringintegermap_deserialize->interface~serialize_buffer_length proc~stringintegermap_deserialize->proc~mapl_return proc~stringintegermap_deserialize->insert stringintegermap stringintegermap proc~stringintegermap_deserialize->stringintegermap proc~stringvariablemap_deserialize->interface~deserialize_intrinsic proc~stringvariablemap_deserialize->interface~mapl_assert proc~stringvariablemap_deserialize->interface~serialize_buffer_length proc~stringvariablemap_deserialize->proc~mapl_return proc~stringvariablemap_deserialize->proc~mapl_verify proc~stringvariablemap_deserialize->proc~variable_deserialize none~insert~104 StringVariableMap%insert proc~stringvariablemap_deserialize->none~insert~104 proc~coordinatevariable_deserialize CoordinateVariable_deserialize proc~stringvariablemap_deserialize->proc~coordinatevariable_deserialize proc~stringvector_deserialize->interface~deserialize_intrinsic proc~stringvector_deserialize->interface~serialize_buffer_length proc~stringvector_deserialize->proc~mapl_return push_back push_back proc~stringvector_deserialize->push_back stringvector stringvector proc~stringvector_deserialize->stringvector proc~variable_deserialize->interface~deserialize_intrinsic proc~variable_deserialize->interface~mapl_assert proc~variable_deserialize->interface~serialize_buffer_length proc~variable_deserialize->proc~mapl_return proc~variable_deserialize->proc~mapl_verify proc~variable_deserialize->proc~stringvector_deserialize proc~stringattributemap_deserialize StringAttributeMap_deserialize proc~variable_deserialize->proc~stringattributemap_deserialize proc~unlimitedentity_deserialize UnlimitedEntity_deserialize proc~variable_deserialize->proc~unlimitedentity_deserialize none~insert_pair~11 StringVariableMap%insert_pair none~insert~104->none~insert_pair~11 proc~coordinatevariable_deserialize->interface~deserialize_intrinsic proc~coordinatevariable_deserialize->interface~mapl_assert proc~coordinatevariable_deserialize->interface~serialize_buffer_length proc~coordinatevariable_deserialize->proc~mapl_return proc~coordinatevariable_deserialize->proc~mapl_verify proc~coordinatevariable_deserialize->proc~variable_deserialize proc~stringattributemap_deserialize->interface~deserialize_intrinsic proc~stringattributemap_deserialize->interface~mapl_assert proc~stringattributemap_deserialize->interface~serialize_buffer_length proc~stringattributemap_deserialize->proc~mapl_return proc~stringattributemap_deserialize->proc~mapl_verify none~insert~170 StringAttributeMap%insert proc~stringattributemap_deserialize->none~insert~170 proc~attribute_deserialize Attribute_deserialize proc~stringattributemap_deserialize->proc~attribute_deserialize proc~unlimitedentity_deserialize->interface~deserialize_intrinsic proc~unlimitedentity_deserialize->interface~mapl_assert proc~unlimitedentity_deserialize->interface~serialize_buffer_length proc~unlimitedentity_deserialize->proc~mapl_return proc~unlimitedentity_deserialize->proc~mapl_verify none~get_rank UnlimitedEntity%get_rank proc~unlimitedentity_deserialize->none~get_rank none~set~93 UnlimitedEntity%set proc~unlimitedentity_deserialize->none~set~93 none~get_rank->proc~mapl_return none~get_shape UnlimitedEntity%get_shape none~get_rank->none~get_shape none~insert_pair~18 StringAttributeMap%insert_pair none~insert~170->none~insert_pair~18 none~set~93->proc~mapl_return proc~attribute_deserialize->proc~mapl_return proc~attribute_deserialize->proc~mapl_verify proc~attribute_deserialize->proc~unlimitedentity_deserialize

Called by

proc~~filemetadata_deserialize~~CalledByGraph proc~filemetadata_deserialize FileMetadata_deserialize proc~historycollectionvector_deserialize HistoryCollectionVector_deserialize proc~historycollectionvector_deserialize->proc~filemetadata_deserialize proc~test_serialize~4 test_serialize proc~test_serialize~4->proc~filemetadata_deserialize

Source Code

   subroutine FileMetadata_deserialize(buffer, fmd, rc)
      integer, intent(in) :: buffer(:)
      type (FileMetadata), intent(inout) :: fmd
      integer, optional, intent(out) :: rc
      integer :: status

      fmd = FileMetaData()
      call deserialize(fmd, buffer, rc=status)
      _VERIFY(status)
      _RETURN(_SUCCESS)

   contains

      subroutine deserialize(this, buffer, rc)
         class (FileMetadata), intent(inout) :: this
         integer, intent(in) :: buffer(:)
         integer, optional, intent(out) :: rc
         integer :: n,length
         integer :: status
         n = 1
         call deserialize_intrinsic(buffer(n:),length)
         _ASSERT(length <= size(buffer), "length does not match")

         length = serialize_buffer_length(length)
         n = n+length
         call StringIntegerMap_deserialize(buffer(n:),this%dimensions, status)
         _VERIFY(status)
         call deserialize_intrinsic(buffer(n:),length)
         n = n + length
         call deserialize_intrinsic(buffer(n:),length)
         call Variable_deserialize(buffer(n:n+length-1),this%global_var, status)
         _VERIFY(status)
         n = n + length
         call StringVariableMap_deserialize(buffer(n:), this%variables, status)

         call deserialize_intrinsic(buffer(n:),length)
         n = n + length
         call StringVector_deserialize(buffer(n:), this%order, status)
         _VERIFY(status)
         _RETURN(_SUCCESS)
      end subroutine deserialize
   end subroutine FileMetadata_deserialize