WXP C++ Library
Version 6.74.9
Loading...
Searching...
No Matches
include
SfcRaw.h
1
#ifndef _WINC_SFCRAW
2
#define _WINC_SFCRAW
3
4
#include <WXP/CityHash.h>
5
#include <WXP/Date.h>
6
#include <WXP/Datum.h>
7
#include <WXP/Domain.h>
8
#include <WXP/Filename.h>
9
#include <WXP/Raw.h>
10
#include <WXP/SfcData.h>
11
#include <WXP/StatPrior.h>
12
#include <WXP/StrLib.h>
13
#include <WXP/String.h>
14
15
namespace
WXP
{
16
class
SfcRaw
{
17
Filename
filename;
18
String
variable;
19
String
var_file;
20
String
city_file;
21
char
stat_prior[20];
22
Domain
domain;
23
StatPrior
prior;
24
CityHash
hash;
25
int
def_prior;
26
int
syn_id;
27
28
public
:
29
SfcRaw
();
30
SfcRaw
(
const
char
*param );
31
int
init();
32
int
setParam(
const
char
*str );
33
int
setPath(
const
char
*path );
34
int
setFile();
35
int
setInput
(
const
char
*str );
36
int
setNameConv
(
const
char
*name );
37
int
setHour(
const
char
*str );
38
int
setFilename();
39
int
setFilename(
Date
&date );
40
int
setFilename(
const
char
*str );
41
int
setFilename(
Date
&date,
const
char
*param );
42
inline
int
setDefPrior(
int
rprior ){ def_prior = rprior;
return
1; };
43
inline
int
setStatPrior(
const
char
*str ){
44
StrLib::copy
( stat_prior, 20, str );
return
1; };
45
int
setVariable
(
const
char
*str );
46
int
getDate
(
Date
&date );
47
int
setDomain(
Domain
&rdomain );
48
int
setVarFile(
const
char
*file );
49
inline
int
getDomain(
Domain
&rdomain ){ rdomain = domain;
return
1; };
50
int
createHash();
51
int
setPrior(
Domain
&domain );
52
int
getInfo(
SfcData
&sfcdata,
Datum
&datum );
53
int
compute
(
Raw
&data );
54
int
print();
55
};
56
}
57
#endif
WXP::CityHash
This class sets up a hash table for city database information.
Definition
CityHash.h:9
WXP::Date
This class stores date and time information.
Definition
Date.h:8
WXP::Datum
This class stores raw point data.
Definition
Datum.h:7
WXP::Domain
This class stores and manipulates domain data.
Definition
Domain.h:19
WXP::Filename
This class creates filenames.
Definition
Filename.h:11
WXP::Raw
This class replicates Data.
Definition
Raw.h:7
WXP::SfcData
This class stores surface data.
Definition
SfcData.h:12
WXP::SfcRaw
This class puts surface data into a Data class for further processing.
Definition
SfcRaw.h:16
WXP::SfcRaw::setVariable
int setVariable(const char *str)
Definition
SfcRaw.cc:319
WXP::SfcRaw::compute
int compute(Raw &data)
Definition
SfcRaw.cc:209
WXP::SfcRaw::setNameConv
int setNameConv(const char *name)
Definition
SfcRaw.cc:91
WXP::SfcRaw::setInput
int setInput(const char *str)
Definition
SfcRaw.cc:83
WXP::SfcRaw::getDate
int getDate(Date &date)
Definition
SfcRaw.cc:125
WXP::StatPrior
This class defines station priority values.
Definition
StatPrior.h:5
WXP::StrLib::copy
static int copy(char *s1, int len1, const char s2)
Definition
StrLib.cc:506
WXP::String
This is a variable length string class.
Definition
String.h:5
WXP
All WXP classes fall under the WXP namespace.
Definition
Angle.h:4
Generated on Sun Jul 28 2024 18:05:35 for WXP C++ Library by
1.9.7