/usr/include/dx/import.h is in libdx4-dev 1:4.4.4-9+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /***********************************************************************/
/* Open Visualization Data Explorer */
/* (C) Copyright IBM Corp. 1989,1999 */
/* ALL RIGHTS RESERVED */
/* This code licensed under the */
/* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */
/***********************************************************************/
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#ifndef _DXI_IMPORT_H_
#define _DXI_IMPORT_H_
/* TeX starts here. Do not remove this comment. */
/*
\section{Data Import}
This section describes routines for importing data into the Data Explorer.
This includes support for Data Explorer (.dx) files, as well as
industry-standard netCDF files.
\paragraph{Data Explorer Files}
Files in the Data Explorer format, as described in ---Data Model chapter,
User's manual--- can be imported by the {\tt DXImportDX()} routine.
*/
Object DXImportDX(char *filename, char **variable,
int *start, int *end, int *delta);
/**
\index{DXImportDX}
Imports data from a Data Explorer file specified by the {\tt filename}
parameter. The {\tt variable} parameter specifies a null-terminated
list of strings that identify which variables to import. This
parameter identifies objects in the file that have the names specified
by {\tt variable}.
For series data, {\tt *start}, {\tt *end}, and {\tt *delta} are used
to control which series members are read in. If {\tt start} is null,
it defaults to the beginning of the series; if {\tt end} is null, it
defaults to the end of the series; if {\tt delta} is null, it defaults
to one.
Returns a pointer to the object, or returns null and sets the error
code to indicate on error.
**/
Object DXExportDX(Object o, char *filename, char *format);
/**
\incde{DXExportDX}
Exports data in Data Explorer file format.
**/
/*
\paragraph{netCDF Data}
The Data Explorer is capable of accepting industry-standard netCDF
files. These files are capable only of a subset of the Data Explorer
data model capabilities. For example, netCDF files are limited to
regular data. This routine is provided for compatibility with other
systems that use netCDF.
*/
Object DXImportNetCDF(char *filename, char **variable,
int *start, int *end, int *delta);
/**
\index{DXImportNetCDF}
Creates a new group or field object. The {\tt filename} parameter is
the name of a data file in netCDF format. The {\tt variable}
parameter specifies a null-terminated list of strings that identify
which variables to import.
For series data, {\tt *start}, {\tt *end}, and {\tt *delta} are used
to control which series members are read in. If {\tt start} is null,
it defaults to the beginning of the series; if {\tt end} is null, it
defaults to the end of the series; if {\tt delta} is null, it defaults
to one.
Returns a pointer to the object, or returns null and sets the error
code to indicate on error.
**/
/* DO NOT INCLUDE IN DOCUMENTATION */
Field DXImportHDF(char *filename, char *variable);
Object DXImportCDF(char *filename, char **fieldlist, int *start,
int *end, int *delta);
Object DXImportCM(char *filename,char **fieldlist);
#endif /* _DXI_IMPORT_H_ */
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
|