WXP C++ Library
Version 6.74.9
Loading...
Searching...
No Matches
include
Grids.h
1
#ifndef _WINC_GRIDS
2
#define _WINC_GRIDS
3
4
#include <WXP/Domain.h>
5
#include <WXP/DomainVal.h>
6
#include <WXP/EarthPoint.h>
7
#include <WXP/FloatArray.h>
8
#include <WXP/Grid.h>
9
#include <WXP/GridPoint.h>
10
#include <WXP/GridSpec.h>
11
#include <WXP/VarSpec.h>
12
13
namespace
WXP
{
14
class
Grids
{
15
GridSpec
*gs;
16
Grid
*grd;
17
int
*flag;
18
int
num;
19
int
max;
20
21
int
initClass();
22
23
public
:
24
Grids
();
25
Grids
(
int
rmax );
26
~Grids
();
27
28
int
setSize(
int
rmax );
29
int
resize(
int
rmax );
30
int
init();
31
int
setNum(
int
val );
32
int
getNum();
33
int
addSpec(
const
GridSpec
&spec );
34
int
addSpec(
const
char
*str );
35
int
setSpec(
int
ind,
const
GridSpec
&spec );
36
int
setSpec(
int
ind,
const
char
*str );
37
int
getSpec(
int
ind,
GridSpec
&spec );
38
GridSpec
getSpec(
int
ind );
39
int
getVarSpec(
int
ind,
VarSpec
&spec );
40
VarSpec
getVarSpec(
int
ind );
41
int
add(
const
Grid
&grid );
42
int
addGrid(
const
Grid
&grid );
43
int
setGrid(
int
ind,
const
Grid
&grid );
44
int
get(
int
ind,
Grid
&grid );
45
int
getGrid(
int
ind,
Grid
&grid );
46
DomainVal
getDomainVal(
int
ind );
47
Domain
getDomain(
int
ind );
48
int
getProj(
int
ind );
49
int
setDomain(
Domain
&rdom );
50
int
allocData();
51
int
setDate(
Date
&date );
52
int
setDate(
int
ind,
Date
&date );
53
int
setDatim(
const
char
*str );
54
int
setDatim(
int
ind,
const
char
*str );
55
int
setInfo(
int
ind,
const
char
*str );
56
int
setVar(
int
ind,
VarSpec
&vspec );
57
const
char
*getSpecUnits(
int
ind );
58
bool
isSet(
int
ind );
59
bool
isVarSet(
int
ind );
60
bool
isVarSet();
61
int
getNumSet();
62
int
setValue(
int
ind,
int
i,
int
j,
float
val );
63
float
getValue(
int
ind,
int
i,
int
j );
64
float
getValue(
int
ind,
GridPoint
&gpt );
65
float
getValue(
int
ind,
EarthPoint
&ept );
66
int
getValue(
EarthPoint
&ept,
FloatArray
&flt );
67
int
equal(
GridSpec
&spec );
68
bool
equal(
int
ind,
GridSpec
&spec );
69
int
print();
70
int
print(
int
ind );
71
int
printStats();
72
int
printData();
73
};
74
}
75
#endif
WXP::Date
This class stores date and time information.
Definition
Date.h:8
WXP::Domain
This class stores and manipulates domain data.
Definition
Domain.h:19
WXP::FloatArray
This class creates an integer array.
Definition
FloatArray.h:7
WXP::GridSpec
This class defines vertical level parameters.
Definition
GridSpec.h:7
WXP::Grid
This class defines a grid.
Definition
Grid.h:20
WXP::Grids
This class sets up a repository for grids.
Definition
Grids.h:14
WXP::VarSpec
This class specifies variable information.
Definition
VarSpec.h:13
WXP
All WXP classes fall under the WXP namespace.
Definition
Angle.h:4
WXP::DomainVal
This struct defines basic domain parameters.
Definition
DomainVal.h:5
WXP::EarthPoint
This struct defines earth point values (lat, lon, elev)
Definition
EarthPoint.h:5
WXP::GridPoint
This struct defines basic gridpoint values.
Definition
GridPoint.h:5
Generated on Sun Jul 28 2024 18:05:35 for WXP C++ Library by
1.9.7