WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
HurStorms.h
1#ifndef _WINC_HURSTORMS
2#define _WINC_HURSTORMS
3
4#include <WXP/Const.h>
5#include <WXP/HurStorm.h>
6
7namespace WXP {
8 class HurStorms { /* Coordinate data structure */
9 int num;
10 int max;
11 int ind;
12 HurStorm *storms;
13 int initClass();
14
15 public:
16 int init();
17 int init( int size );
18 HurStorms();
19 HurStorms(int size);
20 ~HurStorms();
21 HurStorms( const HurStorms &data );
22 HurStorms operator=( const HurStorms &data );
23 int copy( const HurStorms &data );
25 inline int clear(){ num = 0; return 1; };
26 int expand( int size );
27 int add( int location, const char *data );
28 int add( HurStorm &storm );
29 int update( HurStorm &storm );
30 int set( int ind, HurStorm &storm );
31 int get( int ind, HurStorm &storm );
32 HurStorm get( int ind );
33 inline int getNum() { return num; };
34 bool checkLocation( int locate );
35 int getInd( const char *name, int locate );
36 int getLocation( int ind );
37 int searchNew( HurData &data );
38 int update( HurData &data );
39 int sortDate();
40 int print();
41 int printAll();
42 };
43}
44#endif
This struct has data for a single tropical system containing several advisories.
Definition HurStorm.h:9
This class creates an array a hurricane storms.
Definition HurStorms.h:8
int init()
Definition HurStorms.cc:33
int set(int ind, HurStorm &storm)
Definition HurStorms.cc:221
int printAll()
Definition HurStorms.cc:379
int copy(const HurStorms &data)
Definition HurStorms.cc:109
~HurStorms()
Definition HurStorms.cc:78
int print()
Definition HurStorms.cc:370
int clear()
Definition HurStorms.h:25
HurStorms operator=(const HurStorms &data)
Definition HurStorms.cc:97
int get(int ind, HurStorm &storm)
Definition HurStorms.cc:232
HurStorms()
Definition HurStorms.cc:61
int expand(int size)
Definition HurStorms.cc:123
All WXP classes fall under the WXP namespace.
Definition Angle.h:4