>  Docs Center  >  Libraries  >  Motley  >  MGH_STRUCT_HASH

MGH_STRUCT_HASH

MGH_STRUCT_HASH

Name


  MGH_STRUCT_HASH

Purpose


  For a specified structure, calculate and return an integer hash value:
 
    http://en.wikipedia.org/wiki/Hash_function

Calling Sequence


  result = mgh_struct_hash(struct)

Return Value


  The structure returns a long-64 integer value that depends on the
  structure tag names and tag values.
  POSITIONAL ARGUMENTS:
  struct (input, structure)
    The structure for which the hash value is to be calculated/

Dependencies


  Requires CHECKSUM32 from the IDL Astronomy Library.
###########################################################################
  Copyright (c) 2013 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2013-06:
    Written.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us