WXP C++ Library Version 6.74.9
|
This class creates an array a hurricane storms. More...
#include "../include/HurStorms.h"
Public Member Functions | |
int | init () |
int | init (int size) |
HurStorms () | |
HurStorms (int size) | |
~HurStorms () | |
HurStorms (const HurStorms &data) | |
HurStorms | operator= (const HurStorms &data) |
int | copy (const HurStorms &data) |
int | clear () |
int | expand (int size) |
int | add (int location, const char *data) |
int | add (HurStorm &storm) |
int | update (HurStorm &storm) |
int | set (int ind, HurStorm &storm) |
int | get (int ind, HurStorm &storm) |
HurStorm | get (int ind) |
int | getNum () |
bool | checkLocation (int locate) |
int | getInd (const char *name, int locate) |
int | getLocation (int ind) |
int | searchNew (HurData &data) |
int | update (HurData &data) |
int | sortDate () |
int | print () |
int | printAll () |
This class creates an array a hurricane storms.
HurStorms::HurStorms | ( | ) |
Constructor. Initializes the values.
References init().
HurStorms::HurStorms | ( | int | size | ) |
HurStorms::~HurStorms | ( | ) |
Destructor.
HurStorms::HurStorms | ( | const HurStorms & | data | ) |
int HurStorms::add | ( | HurStorm & | storm | ) |
|
inline |
Clears the array
int HurStorms::copy | ( | const HurStorms & | data | ) |
Copy data.
data | Strings class to copy from |
References init().
Referenced by HurStorms(), and operator=().
int HurStorms::expand | ( | int | size | ) |
HurStorm HurStorms::get | ( | int | ind | ) |
int HurStorms::get | ( | int | ind, |
HurStorm & | storm | ||
) |
Gets a specific point value from array.
ind | Index of value to get |
storm | Output HurStorm class with values |
Referenced by WXP::HurPlot::draw(), and get().
int HurStorms::init | ( | ) |
Initializes the object
References init().
Referenced by copy(), WXP::HurPlot::draw(), HurStorms(), HurStorms(), and init().
int HurStorms::init | ( | int | size | ) |
Initializes the object
size | The initial number of points |
int HurStorms::print | ( | ) |
int HurStorms::printAll | ( | ) |
int HurStorms::set | ( | int | ind, |
HurStorm & | storm | ||
) |
Sets a specific point value in array.
ind | Index of value to set |
storm | New values |