>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  HASH_TO_STRUCT

HASH_TO_STRUCT

HASH_TO_STRUCT

Name


      HASH_TO_STRUCT

Purpose


      Convert a nested hash to a nested structure.

Category


Calling Sequence


      s = hash_to_struct(h)

Inputs


      h = An IDL hash. in

Keyword Parameters


Keywords


        /VERBOSE list conversion progress.

Outputs


      s = Returned structure. out

Common Blocks


Notes


Notes


          The hash method, ToStruct, only converts the top level
          items to a structure. Any nested hashes stay as hashes.
          This routine recursively converts a nested hash. It only
          converts hashes used as values, not hashes that are
          inside a structure.
          Any hash values that are !NULL are ignored.
     

Modification History


      R. Sterner, 2012 Jun 28
      R. Sterner, 2012 Jun 29 --- Used tag_clash to handle tag clashes.
  Copyright (C) 2012, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



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