7#include <WXP/DateVal.h>
8#include <WXP/NameConvFile.h>
35 int parsePath(
const char *path,
const char *conv );
43 int set(
const char *type );
47 inline int getFixDate(
DateVal &rdate ){ rdate = fix_date;
return 1; };
51 inline int setOffset(
int val ){ off = val;
return 1; };
58 inline const char *getType(){
return type; };
60 inline int setForeTime(
int val ){ fore_time = val;
return 1; };
61 inline int getForeTime(){
return fore_time; };
63 int setExt(
const char *str );
65 int setKey(
char ch,
const char *str );
66 const char *
getKey(
char ch );
67 int setPath(
const char *path );
70 inline int getNumPath(){
return npath; };
71 inline int setPathNum(
int ind ){ cpath = ind;
return 1; };
72 int encode( Date &rdate,
int flag, String &filename );
73 int encodeFile( Date &rdate, String &filename );
74 int encodeHdr( Date &rdate, String &filename );
75 int decode(
const char *filename );
76 int setLatest(
const char *str, NameConvFile &file );
77 int setFile( Date &rdate, NameConvFile &file );
This class stores date and time information.
Definition Date.h:8
This class creates a name convention used to create filenames.
Definition NameConv.h:12
int setKey(char ch, const char *str)
Definition NameConv.cc:261
int encode(Date &rdate, int flag, String &filename)
Definition NameConv.cc:535
int getOffset()
Definition NameConv.h:53
int setLateDate(Date rdate)
Definition NameConv.cc:182
int setForeTime(int val)
Definition NameConv.h:60
Type
Definition NameConv.h:83
@ HEADER
Definition NameConv.h:85
@ FILENAME
Definition NameConv.h:84
int getDate(Date &rdate)
Definition NameConv.cc:1597
int init()
Definition NameConv.cc:40
int setExt(const char *str)
Definition NameConv.cc:243
int set(const char *type)
Definition NameConv.cc:288
int setLatest(const char *str, NameConvFile &file)
Definition NameConv.cc:902
NameConv()
Definition NameConv.cc:64
int setOutput(bool val)
Definition NameConv.cc:89
const char * getFile()
Definition NameConv.cc:235
int getMinTime()
Definition NameConv.h:57
int decode(const char *filename)
Definition NameConv.cc:1209
int setPath(const char *path)
Definition NameConv.cc:191
int getMinSize()
Definition NameConv.h:55
int encodeFile(Date &rdate, String &filename)
Definition NameConv.cc:884
int setOffset(int val)
Definition NameConv.h:51
const char * getPath()
Definition NameConv.cc:227
~NameConv()
Definition NameConv.cc:81
int setLateLimit(int val)
Definition NameConv.cc:172
int initParam()
Definition NameConv.cc:30
const char * getKey(char ch)
Definition NameConv.cc:275
int setFile(Date &rdate, NameConvFile &file)
Definition NameConv.cc:1565
const char * getExt()
Definition NameConv.cc:252
int encodeHdr(Date &rdate, String &filename)
Definition NameConv.cc:893
int setFixDate(const char *str)
Definition NameConv.cc:109
This is a variable length string class.
Definition String.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic date values.
Definition DateVal.h:5