dataio.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef DATAIO_H
00007 #define DATAIO_H
00008
00009 #include <Python.h>
00010 #include "datatypes.h"
00011
00013 double get_conv(char* units);
00014
00019 void get_coordinfo(PyObject* arg, coordset* coord);
00020
00023 void get_recinfo(PyObject* arg, char* filename,
00024 coordset* coord1, coordset* coord2,
00025 int* reclen);
00026
00029 void gobble(char* filename, coordset coord1, coordset coord2, int reclen,
00030 CartesianSet cart[], IndexedList declist[]);
00031
00034 int count_records(char* filename, int reclen);
00035
00038 char* makeoutname(int i1, int i2, char* path);
00039
00041 void write_pointers(char* filename, int* pp, int nrec);
00042
00044 void read_pointers(char* filename, int* pp, int nrec);
00045
00046 #endif