WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
RedbookPlot.h
1#ifndef _WINC_REDBOOKPLOT
2#define _WINC_REDBOOKPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/Filename.h>
8#include <WXP/Listener.h>
9#include <WXP/Plot.h>
10#include <WXP/String.h>
11#include <WXP/Timezone.h>
12
13namespace WXP {
14 class RedbookPlot : public Drawing, public Listener {
15 Domain domain;
16 String color_table;
17 String color;
18 Timezone tz;
19 int fill;
20 int proj;
21 char type[20];
22 int sync;
23 int map;
24 Filename filename;
25
26 public:
28 int init();
29 int setParam( const char *str );
30 int setPath( const char *path );
31 int setFile();
32 int setInput( const char *file );
33 int setNameConv( const char *file );
34 int setHour( const char *str );
35 int setFilename();
36 int setFilename( const char *file );
37 int setFilename( Date &date );
38 int setFilename( Date &date, const char *param );
40 inline int setForeTime( const char *fore ){ return 1; };
41 int getDate( Date &date );
42 int getInitDate( Date &date);
43 int getDateOffset();
44 int getLoopType();
45 int getNumFrames();
46 int setDomain( const char *str );
47 int setDomain( Domain &rdomain );
48 int getDomain( Domain &rdomain );
49 int setColorTable( const char *str );
50 int setColor( const char *str );
51 int setTimezone( const char *str );
53 inline int setMap( bool val ){ map = val; return 1; };
55 inline int getSync(){ return sync; };
56 int draw( Plot &plot );
57 void callback( const char *ev_str, const char *ev_data, const void *data );
58 int print();
59 };
60}
61#endif
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This is a virtual class defining drawing routines.
Definition Drawing.h:16
This class creates filenames.
Definition Filename.h:11
This virtual class defines the callback method for use with plotting.
Definition Listener.h:11
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
This class plots redbook graphics files.
Definition RedbookPlot.h:14
int setFilename()
Definition RedbookPlot.cc:206
int setFile()
Definition RedbookPlot.cc:154
int setForeTime(const char *fore)
Definition RedbookPlot.h:40
int getInitDate(Date &date)
Definition RedbookPlot.cc:253
int getDomain(Domain &rdomain)
Definition RedbookPlot.cc:90
int setParam(const char *str)
Definition RedbookPlot.cc:118
int setMap(bool val)
Definition RedbookPlot.h:53
int setColorTable(const char *str)
Definition RedbookPlot.cc:288
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition RedbookPlot.cc:317
RedbookPlot()
Definition RedbookPlot.cc:38
int getDate(Date &date)
Definition RedbookPlot.cc:244
int setInput(const char *file)
Definition RedbookPlot.cc:176
int getLoopType()
Definition RedbookPlot.cc:272
int init()
Definition RedbookPlot.cc:46
int setColor(const char *str)
Definition RedbookPlot.cc:297
int draw(Plot &plot)
Definition RedbookPlot.cc:324
int setHour(const char *str)
Definition RedbookPlot.cc:198
int setTimezone(const char *str)
Definition RedbookPlot.cc:306
int setNameConv(const char *file)
Definition RedbookPlot.cc:184
int setPath(const char *path)
Definition RedbookPlot.cc:146
int getSync()
Definition RedbookPlot.h:55
int print()
Definition RedbookPlot.cc:650
int getDateOffset()
Definition RedbookPlot.cc:264
int getNumFrames()
Definition RedbookPlot.cc:280
int setDomain(const char *str)
Definition RedbookPlot.cc:72
This is a variable length string class.
Definition String.h:5
This class manipulates timezones.
Definition Timezone.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4