OpenCPN Partial API docs
Loading...
Searching...
No Matches
tcds_binary_harmonic.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2013 by David S. Register *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
16 **************************************************************************/
17
24#ifndef TCDS_BINARY_HARMONIC_H_
25#define TCDS_BINARY_HARMONIC_H_
26
27#include <wx/string.h>
28
29#include "tc_data_factory.h"
30#include "station_data.h"
31#include "idx_entry.h"
32
34public:
37
38 TC_Error_Code LoadData(const wxString &data_file_path);
39
40 int GetMaxIndex() { return num_IDX; };
41 IDX_entry *GetIndexEntry(int n_index);
42 TC_Error_Code LoadHarmonicData(IDX_entry *pIDX);
43
44private:
45 ArrayOfStationData m_msd_array;
46
47 wxString m_last_reference_not_found;
48
49 ArrayOfIDXEntry m_IDX_array;
50
51 int num_IDX;
52 int num_nodes;
53 int num_csts;
54 int num_epochs;
55 double *m_cst_speeds;
56 double **m_cst_nodes;
57 double **m_cst_epochs;
58 double *m_work_buffer;
59 int m_first_year;
60};
61
62#endif
Represents an index entry for tidal and current data.
Definition idx_entry.h:48
Tidal data container.
Amplitude measurement container.
Tide and current data container.