OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
epr_record.h
Go to the documentation of this file.
1 /*
2  * $Id: epr_record.h,v 1.1.1.1 2004-10-28 19:22:23 norman Exp $
3  *
4  * Copyright (C) 2002 by Brockmann Consult (info@brockmann-consult.de)
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation. This program is distributed in the hope it will
9  * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
10  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16  */
17 
18 #ifndef EPR_RECORD_H_INCL
19 #define EPR_RECORD_H_INCL
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 #include <stdio.h> /* just to get the ANSI-C type FILE */
26 
35  char* dataset_name;
36 
40  EPR_SPtrArray* field_infos;
48 };
49 
58 EPR_SRecordInfo* epr_get_record_info(EPR_SDatasetId* dataset_id);
59 EPR_SRecordInfo* epr_read_record_info(EPR_SProductId* product_id, EPR_SDatasetId* dataset_id);
60 void epr_read_sub_record_info(EPR_SProductId* product_id, FILE* db_file_istream, const char* parent_name, EPR_SPtrArray* field_infos);
61 EPR_SRecordInfo* epr_create_record_info(const char* dataset_name, EPR_SPtrArray* field_infos);
62 EPR_SRecord* epr_create_record_from_info(EPR_SRecordInfo* record_info);
63 char* epr_get_record_info_path(EPR_SProductId* product_id, const char* dataset_name);
64 void epr_free_record_info(EPR_SRecordInfo* record_info);
65 
66 #ifdef __cplusplus
67 } /* extern "C" */
68 #endif
69 
70 #endif
71 /* #ifndef EPR_RECORD_H_INCL */
char * epr_get_record_info_path(EPR_SProductId *product_id, const char *dataset_name)
unsigned int epr_uint
Definition: epr_api.h:188
EPR_SRecord * epr_create_record_from_info(EPR_SRecordInfo *record_info)
Definition: epr_record.c:315
epr_uint tot_size
Definition: epr_record.h:47
void epr_free_record_info(EPR_SRecordInfo *record_info)
Definition: epr_record.c:109
What value is used by your function when the data value is bad Default is BAD_FLT l2prod product_id[0]
EPR_SRecordInfo * epr_create_record_info(const char *dataset_name, EPR_SPtrArray *field_infos)
Definition: epr_record.c:61
EPR_SPtrArray * field_infos
Definition: epr_record.h:40
EPR_SRecordInfo * epr_get_record_info(EPR_SDatasetId *dataset_id)
Definition: epr_record.c:151
EPR_SRecordInfo * epr_read_record_info(EPR_SProductId *product_id, EPR_SDatasetId *dataset_id)
Definition: epr_record.c:190
char * dataset_name
Definition: epr_record.h:35
void epr_read_sub_record_info(EPR_SProductId *product_id, FILE *db_file_istream, const char *parent_name, EPR_SPtrArray *field_infos)