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

HASH_DEEP_COPY

HASH_DEEP_COPY

Name


      HASH_DEEP_COPY

Purpose


      Copy a hash using deep copy.

Category


Calling Sequence


      out = hash_deep_copy(in)

Inputs


      in = Input hash. in
        If this is not a hash it is
        returned as is.

Keyword Parameters


Outputs


      out = Output deep copy of in. out

Common Blocks


Notes


      Notes: An IDL hash is really a reference to the hash data in
        memory. So a copy of a hash still points to the same data
        and any changes to that copy will change the data which will
        show up as changes to any other hashes that are related.
        A deep copy will construct a copy from the original items
        so it is an independent copy which may be changed.

Modification History


      R. Sterner, 2013 Apr 15
  Copyright (C) 2013, 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