>  Docs Center  >  Libraries  >  ASTROLIB  >  DB_ENT2HOST
Libraries

DB_ENT2HOST

DB_ENT2HOST

Name


DB_ENT2HOST

Purpose


Converts a database entry from external data format to host format.

Explanation


All items are extracted from the entry, and then converted to host
format, and placed back into the entry. Called from DBRD and DBEXT_DBF.

Calling Sequence


DB_ENT2HOST, ENTRY, DBNO

Inputs


ENTRY = Byte array containing a single record read from the
database file.
DBNO = Number of the opened database file.

Outputs


ENTRY = The converted array is returned in place of the input array.

Common Blocks


DB_COM

History


Version 1, William Thompson, GSFC/CDS (ARC), 1 June 1994
Version 2, William Thompson, GSFC/CDS (ARC), 15 September 1995
Fixed bug where only the first element in a
multidimensional array was converted.
Version 3, Richard Schwartz, GSFC/SDAC, 23 August 1996
Allow 2 dimensional byte arrays for entries to facilitate
multiple entry processing. Pass IDLTYPE onto IEEE_TO_HOST
      Version 4, 2 May 2003, W. Thompson
              Use BSWAP keyword to DBXVAL instead of calling IEEE_TO_HOST.
      Version 4.1 W. Landsman August 2010 Fix for multidimensional strings
      Version 4.2 W. Landsman Sep 2011 Work with new DB format



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us