SAF User Manual
latest
  • Sets and Fields (SAF) API
  • SAF Examples
  • SAF Support Library
    • Table of Contents
      • Introduction [chapter]
      • Library [chapter]
      • Environment_Variables [chapter]
      • Error_Handling [chapter]
      • Magic_Numbers [chapter]
      • Properties [chapter]
      • Persistent_Objects [chapter]
        • Members
      • Persistent_Object_Tables [chapter]
      • Strings [chapter]
      • Variable_Length_Arrays [chapter]
      • Files [chapter]
      • Global_File_Information [chapter]
      • Scopes [chapter]
      • Object_Attributes [chapter]
      • Values [chapter]
      • HDF5 [chapter]
      • Datatypes [chapter]
      • Miscellaneous [chapter]
      • Notes [chapter]
      • Debugging [chapter]
      • Overloaded_Definitions [chapter]
      • Permuted_Index [chapter]
SAF User Manual
  • Docs »
  • SAF Support Library (SSlib) Programming Reference Manual for SAF 2.0.0 and later »
  • Persistent Objects »
  • Updates an object link
  • Edit on GitHub

Updates an object link¶

ss_pers_update is a function defined in sspers.c.

Synopsis:

herr_t ss_pers_update(ss_pers_t *pers)¶

Description: This function makes information in the object link as current as possible. If the object has a permanent home in the table but the object index stored in the link is indirect then it is converted to a direct index. If the object is in memory then the link is moved to the `memory’ state. If the `mapidx’ value stored in the object is different than the object index in the link then the object index is updated in the link.

This function is essentially a weaker version of ss_pers_deref.

Return Value: Returns non-negative on success; negative on failure.

Parallel Notes: Independent

See Also:

  • ss_pers_deref: 7.5: Dereference an object link
  • Persistent Objects: Introduction for current chapter
Next Previous

© Copyright 2005-07-01, Sandia proj 28462, 002008MLTPL00, OSTI: 1230929. This documentation was automatically generated via Robb Matzke's Mkdoc Revision 565d7697.

Built with Sphinx using a theme provided by Read the Docs.