24 #ifndef __TCDS_ASCII_HARMONIC_H__
25 #define __TCDS_ASCII_HARMONIC_H__
27 #include <wx/string.h>
32 #include "TCDataFactory.h"
33 #include "Station_Data.h"
34 #include "IDX_entry.h"
43 TC_Error_Code LoadData(
const wxString &data_file_path);
45 int GetMaxIndex(
void) {
return num_IDX; };
47 TC_Error_Code LoadHarmonicData(
IDX_entry *pIDX);
51 long IndexFileIO(
int func,
long value);
52 TC_Error_Code init_index_file();
53 TC_Error_Code build_IDX_entry(
IDX_entry *pIDX);
54 TC_Error_Code LoadHarmonicConstants(
const wxString &data_file_path);
55 int read_next_line(FILE *fp,
char linrec[linelen],
int end_ok);
57 char *nojunk(
char *line);
58 int slackcmp(
char *a,
char *b);
65 ArrayOfStationData m_msd_array;
67 wxString m_indexfile_name;
68 wxString m_harmfile_name;
69 wxString m_last_reference_not_found;
71 char index_line_buffer[1024];
73 std::vector<abbr_entry> m_abbreviation_array;
74 ArrayOfIDXEntry m_IDX_array;
82 double **m_cst_epochs;
83 double *m_work_buffer;