hdr file header destination (should be allocated, length=FILE_HDR_LENGTH)
Get a value 2-byte (16 bit) integer value from the header.
Returns non-zero on failure (see seisio.h for error definitions). Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
hdrName name of the header to access
hdrValue output argument for value of the header
Get a value 2-byte (16 bit) integer value from the header given a starting byte location.
Returns non-zero on failure (see seisio.h for error definitions). Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
byt byte number in file header from which the value should be retrieved. Starts at 0.
hdrValue output argument for value of the header
Get a value 4-byte (32 bit) integer value from the header.
Returns non-zero on failure (see seisio.h for error definitions). Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
hdrName name of the header to access
hdrValue output argument for value of the header
Get a value 4-byte (32 bit) integer value from the header given a starting byte location.
Returns non-zero on failure (see seisio.h for error definitions). Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
byt byte number in file header from which the value should be retrieved. Starts at 0.
hdrValue output argument for value of the header
Gets a pointer to the data segment of the file header.
Returns:
a pointer to the data segment of the file header. Returns null if id is invalid.
Parameters:
id identification number of the seismic file header instance to access
Gets the text segment of the file header.
Returns a pointer to the text segment of the file header. Returns null if id is invalid.
Parameters:
id identification number of the seismic file header instance to access
Returns the text segment of the file header as an array of chars.
fileHdrStr length must be at least 3200. Output contains actual 3200 header formatted in ASCII.
Parameters:
id identification number of the seismic file header instance to access
fileHdrStr string of characters to store the text segment in
Creates a new seismic file header object instance.
Returns id of new seismic file header object.
Parameters:
seisioHdrDefnID identification number of an open seimic header defnition instance
See also:
seisioFileHdr_putI2() (p.pagenum)
Put a value (int16, int32 or float) into the data segment.
Returns non-zero on failure (see seisio.h for error definitions). Put fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
hdrName name of the header to access
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.