WXP C++ Library Version 6.74.9
|
This class creates filenames. More...
#include "../include/Filename.h"
Public Member Functions | |
int | initParam () |
int | init () |
Filename (const char *nameconv, const char *str) | |
Filename (const char *nameconv, Date &rdate) | |
Filename (const char *filename) | |
Filename () | |
~Filename () | |
int | set (const char *nameconv, const char *str) |
int | set (const char *nameconv, Date &rdate) |
int | set (const char *filename) |
bool | isSet () |
int | setNameConv (const char *nameconv) |
int | setPath (const char *path) |
int | setDate (Date &rdate) |
int | getDate (Date &rdate) |
DateVal | getDateval () |
int | getOffset () |
int | setFixDate (DateVal &rdate) |
int | setFixDate (const char *str) |
int | setType (const char *rtype) |
const char * | getType () |
int | setForeTime (int time) |
int | getForeTime () |
int | setKey (char ch, const char *str) |
const char * | getExt () |
const char * | getKey (char ch) |
int | setName (const char *rname) |
const char * | getName () |
const char * | getName (int ind) |
int | setHeader (const char *rname) |
const char * | getHeader () |
bool | validHeader () |
int | addOutPath (const char *path) |
bool | isFixed () |
int | setNumFiles (int val) |
int | setNumFiles (const char *str) |
int | getNumFiles () |
int | getNumType () |
int | setOutput (bool val) |
int | setLateLimit (int val) |
int | setLateDate (Date rdate) |
int | setBaseDate (Date &rdate) |
int | checkFile (const char *file) |
int | setFile (Date &rdate) |
int | setFile (Date &rdate, const char *param) |
int | setFile (const char *file) |
int | setFile () |
bool | exist () |
int | setFile (int ind) |
int | listFile () |
int | print () |
int | printConv () |
Static Public Attributes | |
static const int | UNK = 0 |
static const int | HOURS = 1 |
static const int | FILES = 2 |
This class creates filenames.
Filename::Filename | ( | const char * | nameconv, |
const char * | str | ||
) |
Filename::Filename | ( | const char * | nameconv, |
Date & | rdate | ||
) |
Filename::Filename | ( | const char * | filename | ) |
Filename::Filename | ( | ) |
Constructor. Initializes class data
References init().
Filename::~Filename | ( | ) |
Destructor.
int Filename::checkFile | ( | const char * | file | ) |
Check the specified filename for specific parameters
file | Filename to check |
References WXP::String::clear(), WXP::NameConv::decode(), WXP::StrLib::equal(), WXP::Wxp::exit(), WXP::Date::fix(), WXP::NameConv::getDate(), WXP::NameConvFile::getDate(), WXP::NameConv::getFile(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::NameConv::getOffset(), WXP::StrLib::iequal(), WXP::FileTool::isFullPath(), WXP::FileTool::isStdio(), WXP::Const::MISS, WXP::Wxp::NOERR, WXP::Date::set(), WXP::String::set(), WXP::NameConv::setFile(), WXP::NameConv::setLatest(), and WXP::StrLib::valid().
int Filename::getDate | ( | Date & | rdate | ) |
Gets the current date used in the filename
rdate | The output date class |
Referenced by WXP::RcmDecode::decode(), WXP::UpaDecode::decode(), WXP::FrontPlot::draw(), WXP::GridCont::draw(), WXP::GridPlot::draw(), WXP::HurPlot::draw(), WXP::LightPlot::draw(), WXP::MdrPlot::draw(), WXP::MeteoPlot::draw(), WXP::RcmPlot::draw(), WXP::WarnPlot::draw(), WXP::FrontPlot::getDate(), WXP::GridCont::getDate(), WXP::GridPlot::getDate(), WXP::GridVect::getDate(), WXP::HodoPlot::getDate(), WXP::HurPlot::getDate(), WXP::ImagePlot::getDate(), WXP::Lev2Plot::getDate(), WXP::LightPlot::getDate(), WXP::MdrPlot::getDate(), WXP::MetaPlot::getDate(), WXP::MeteoPlot::getDate(), WXP::MiscPlot::getDate(), WXP::MosPlot::getDate(), WXP::MosRaw::getDate(), WXP::NidsPlot::getDate(), WXP::ProfPlot::getDate(), WXP::RadPlot::getDate(), WXP::RawGrid::getDate(), WXP::RawPlot::getDate(), WXP::RcmPlot::getDate(), WXP::RedbookPlot::getDate(), WXP::SatPlot::getDate(), WXP::SfcPlot::getDate(), WXP::SfcRaw::getDate(), WXP::SoundPlot::getDate(), WXP::UpaPlot::getDate(), WXP::UpaRaw::getDate(), WXP::UpaXSectCont::getDate(), WXP::UpaXSectPlot::getDate(), WXP::WarnPlot::getDate(), WXP::WatchPlot::getDate(), WXP::RadMask::getGrids(), WXP::FrontPlot::getInitDate(), WXP::GridCont::getInitDate(), WXP::GridPlot::getInitDate(), WXP::GridVect::getInitDate(), WXP::HodoPlot::getInitDate(), WXP::HurPlot::getInitDate(), WXP::ImagePlot::getInitDate(), WXP::Lev2Plot::getInitDate(), WXP::LightPlot::getInitDate(), WXP::MdrPlot::getInitDate(), WXP::MetaPlot::getInitDate(), WXP::MeteoPlot::getInitDate(), WXP::MiscPlot::getInitDate(), WXP::MosPlot::getInitDate(), WXP::NidsPlot::getInitDate(), WXP::ProfPlot::getInitDate(), WXP::RadPlot::getInitDate(), WXP::RawPlot::getInitDate(), WXP::RcmPlot::getInitDate(), WXP::RedbookPlot::getInitDate(), WXP::SatPlot::getInitDate(), WXP::SfcPlot::getInitDate(), WXP::SoundPlot::getInitDate(), WXP::UpaPlot::getInitDate(), WXP::UpaXSectCont::getInitDate(), WXP::UpaXSectPlot::getInitDate(), WXP::WarnPlot::getInitDate(), WXP::WatchPlot::getInitDate(), WXP::ProfFile::open(), WXP::WarnFile::open(), WXP::WatchFile::open(), WXP::MosFile::open(), and WXP::MdrImage::readFile().
DateVal Filename::getDateval | ( | ) |
Gets the current date used in the filename
References WXP::Date::get().
Referenced by WXP::HurPlot::draw(), WXP::WarnPlot::draw(), and WXP::GribFile::open().
const char * Filename::getHeader | ( | ) |
Gets the header filename
References WXP::String::get().
Referenced by WXP::GribFile::open(), WXP::Parse::open(), and WXP::WmoParse::open().
const char * Filename::getName | ( | ) |
Gets the filename
References WXP::String::get().
Referenced by WXP::MosRaw::compute(), WXP::SfcRaw::compute(), WXP::UpaRaw::compute(), WXP::RcmDecode::decode(), WXP::UpaDecode::decode(), WXP::RcmDecode::decode(), WXP::UpaDecode::decode(), WXP::FrontPlot::draw(), WXP::GridCont::draw(), WXP::GridPlot::draw(), WXP::GridVect::draw(), WXP::HodoPlot::draw(), WXP::HurPlot::draw(), WXP::ImagePlot::draw(), WXP::Lev2Plot::draw(), WXP::LightPlot::draw(), WXP::MdrPlot::draw(), WXP::MetaPlot::draw(), WXP::MiscPlot::draw(), WXP::MosPlot::draw(), WXP::NidsPlot::draw(), WXP::ProfPlot::draw(), WXP::RadPlot::draw(), WXP::RawPlot::draw(), WXP::RcmPlot::draw(), WXP::RedbookPlot::draw(), WXP::SatPlot::draw(), WXP::SfcPlot::draw(), WXP::SoundPlot::draw(), WXP::UpaPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::WarnPlot::draw(), WXP::GridCont::getDomain(), WXP::GridPlot::getDomain(), WXP::GridVect::getDomain(), WXP::ImagePlot::getDomain(), WXP::Lev2Plot::getDomain(), WXP::NidsPlot::getDomain(), WXP::SatPlot::getDomain(), WXP::RedbookPlot::getDomain(), WXP::RadMask::getGrids(), WXP::RadMask::getGrids(), WXP::GribFile::open(), WXP::MetarFile::open(), WXP::Parse::open(), WXP::ProfFile::open(), WXP::WatchFile::open(), WXP::WmoParse::open(), WXP::GridFile::open(), WXP::FrontPlot::print(), WXP::HurPlot::print(), WXP::NidsPlot::print(), WXP::WarnPlot::print(), WXP::NidsImage::readSite(), WXP::SatFile::SatFile(), WXP::HodoPlot::setFilename(), WXP::HodoPlot::setFilename(), WXP::HodoPlot::setFilename(), WXP::HodoPlot::setFilename(), and WXP::NidsImage::setImage().
const char * Filename::getName | ( | int | ind | ) |
Gets the filename from the stored filenames
ind | The index of the filename in the array |
References WXP::String::get(), and WXP::Strings::getString().
int Filename::getNumFiles | ( | ) |
Gets the number of files used in a series
Referenced by WXP::UpaDecode::decode(), WXP::LightPlot::draw(), WXP::MeteoPlot::draw(), WXP::ProfPlot::draw(), WXP::SatPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::FrontPlot::getNumFrames(), WXP::GridCont::getNumFrames(), WXP::GridPlot::getNumFrames(), WXP::GridVect::getNumFrames(), WXP::HodoPlot::getNumFrames(), WXP::HurPlot::getNumFrames(), WXP::ImagePlot::getNumFrames(), WXP::Lev2Plot::getNumFrames(), WXP::MdrPlot::getNumFrames(), WXP::MetaPlot::getNumFrames(), WXP::MiscPlot::getNumFrames(), WXP::MosPlot::getNumFrames(), WXP::NidsPlot::getNumFrames(), WXP::ProfPlot::getNumFrames(), WXP::RadPlot::getNumFrames(), WXP::RawPlot::getNumFrames(), WXP::RcmPlot::getNumFrames(), WXP::SatPlot::getNumFrames(), WXP::SfcPlot::getNumFrames(), WXP::SoundPlot::getNumFrames(), WXP::UpaPlot::getNumFrames(), WXP::UpaXSectCont::getNumFrames(), WXP::UpaXSectPlot::getNumFrames(), WXP::WarnPlot::getNumFrames(), WXP::WatchPlot::getNumFrames(), WXP::Parse::open(), and WXP::WmoParse::open().
const char * Filename::getType | ( | ) |
Gets the file type
Referenced by WXP::ImagePlot::draw(), WXP::ImagePlot::getDomain(), WXP::SatFile::SatFile(), WXP::SatPlot::setInput(), WXP::Lev2Plot::setNameConv(), WXP::LightPlot::setNameConv(), WXP::MdrPlot::setNameConv(), WXP::RadPlot::setNameConv(), WXP::RcmPlot::setNameConv(), and WXP::SatPlot::setNameConv().
int Filename::init | ( | ) |
Initializes class data
References UNK.
Referenced by Filename(), Filename(), Filename(), Filename(), WXP::MosPlot::init(), WXP::SfcPlot::init(), and WXP::UpaPlot::init().
int Filename::initParam | ( | ) |
Initializes parameters
int Filename::listFile | ( | ) |
Produces a list of available files based on the name convention.
References WXP::FileTool::exist(), WXP::String::get(), WXP::NameConv::getExt(), WXP::NameConv::getFile(), WXP::NameConv::getKey(), WXP::FileTool::getPath(), WXP::String::length(), WXP::FileTool::numPath(), and WXP::Wxp::outMessage().
Referenced by setFile().
int Filename::print | ( | ) |
Prints class values to standard output
References FILES, WXP::String::get(), HOURS, WXP::Date::print(), and WXP::StrLib::valid().
Referenced by WXP::MetaPlot::draw(), WXP::SatPlot::draw(), WXP::RadPlot::print(), and WXP::SfcPlot::print().
int Filename::set | ( | const char * | filename | ) |
int Filename::set | ( | const char * | nameconv, |
const char * | str | ||
) |
Sets the filenames given a name convention and file parameter string
nameconv | Name convention tag |
str | File parameter string such as "la" for latest or time number. |
References WXP::StrLib::copy(), WXP::FileTool::exist(), WXP::Date::fix(), WXP::String::get(), WXP::NameConvFile::getDate(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::NameConv::getOffset(), WXP::String::set(), WXP::NameConv::set(), and WXP::NameConv::setLatest().
Referenced by Filename(), Filename(), Filename(), WXP::MetaPlot::setFile(), and WXP::MiscPlot::setFile().
int Filename::set | ( | const char * | nameconv, |
Date & | rdate | ||
) |
Sets the filename given and name convention and date
nameconv | Name convention string to use |
rdate | Date values to set filename with |
References WXP::StrLib::copy(), WXP::Date::fix(), WXP::NameConvFile::getDate(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::NameConv::getOffset(), WXP::String::set(), WXP::NameConv::set(), and WXP::NameConv::setFile().
int Filename::setBaseDate | ( | Date & | rdate | ) |
Sets the name convention base date
rdate | Output date class |
References WXP::Date::fix().
Referenced by WXP::UpaDecode::decode().
int Filename::setDate | ( | Date & | rdate | ) |
Sets the filename given a date (name convention already set).
rdate | Date values to set filename from |
Referenced by WXP::RcmDecode::decode(), WXP::UpaDecode::decode(), WXP::HodoPlot::setFilename(), WXP::MeteoPlot::setFilename(), WXP::MiscPlot::setFilename(), WXP::ProfPlot::setFilename(), WXP::HodoPlot::setFilename(), WXP::MeteoPlot::setFilename(), WXP::MiscPlot::setFilename(), and WXP::ProfPlot::setFilename().
int Filename::setFile | ( | ) |
Sets the filename, checks for existence and prompts user if not specified through resources.
prompt | The filename prompt |
References checkFile(), WXP::StrLib::equal(), WXP::FileTool::exist(), WXP::Wxp::exit(), FILES, WXP::Date::fix(), WXP::String::get(), WXP::NameConvFile::getDate(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::Strings::getNum(), WXP::Strings::getString(), WXP::StrLib::index(), listFile(), WXP::Wxp::NOERR, WXP::String::set(), WXP::NameConv::set(), WXP::Strings::set(), and WXP::NameConv::setLatest().
int Filename::setFile | ( | const char * | filename | ) |
Sets the filename by querying a set of resources
filename | Optional filename |
References checkFile(), WXP::Strings::equal(), FILES, WXP::Date::fix(), WXP::NameConvFile::getDate(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::Strings::getNum(), WXP::Strings::getString(), WXP::StrLib::index(), WXP::String::set(), WXP::Strings::set(), WXP::NameConv::setLatest(), setNumFiles(), and WXP::StrLib::valid().
int Filename::setFile | ( | Date & | rdate | ) |
Sets the filename given a date (name convention already set).
rdate | Date values to set filename from |
References WXP::FileTool::exist(), WXP::Date::fix(), WXP::String::get(), WXP::NameConvFile::getDate(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::Date::getSeconds(), WXP::Const::MISS, WXP::String::set(), and WXP::NameConv::setFile().
Referenced by WXP::MosRaw::compute(), WXP::SfcRaw::compute(), WXP::UpaRaw::compute(), WXP::RcmDecode::decode(), WXP::UpaDecode::decode(), WXP::FrontPlot::draw(), WXP::GridCont::draw(), WXP::GridPlot::draw(), WXP::GridVect::draw(), WXP::HodoPlot::draw(), WXP::HurPlot::draw(), WXP::ImagePlot::draw(), WXP::Lev2Plot::draw(), WXP::LightPlot::draw(), WXP::MdrPlot::draw(), WXP::MosPlot::draw(), WXP::NidsPlot::draw(), WXP::ProfPlot::draw(), WXP::RadPlot::draw(), WXP::RawPlot::draw(), WXP::RcmPlot::draw(), WXP::RedbookPlot::draw(), WXP::SatPlot::draw(), WXP::SfcPlot::draw(), WXP::SoundPlot::draw(), WXP::UpaPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::WarnPlot::draw(), WXP::GridCont::getDomain(), WXP::GridPlot::getDomain(), WXP::GridVect::getDomain(), WXP::RadMask::getGrids(), WXP::FrontPlot::getInitDate(), WXP::GridCont::getInitDate(), WXP::GridPlot::getInitDate(), WXP::GridVect::getInitDate(), WXP::HodoPlot::getInitDate(), WXP::HurPlot::getInitDate(), WXP::ImagePlot::getInitDate(), WXP::Lev2Plot::getInitDate(), WXP::LightPlot::getInitDate(), WXP::MdrPlot::getInitDate(), WXP::MetaPlot::getInitDate(), WXP::MeteoPlot::getInitDate(), WXP::MiscPlot::getInitDate(), WXP::MosPlot::getInitDate(), WXP::NidsPlot::getInitDate(), WXP::ProfPlot::getInitDate(), WXP::RadPlot::getInitDate(), WXP::RawPlot::getInitDate(), WXP::RcmPlot::getInitDate(), WXP::RedbookPlot::getInitDate(), WXP::SatPlot::getInitDate(), WXP::SfcPlot::getInitDate(), WXP::SoundPlot::getInitDate(), WXP::UpaPlot::getInitDate(), WXP::UpaXSectCont::getInitDate(), WXP::UpaXSectPlot::getInitDate(), WXP::WarnPlot::getInitDate(), WXP::WatchPlot::getInitDate(), WXP::Parse::open(), WXP::WmoParse::open(), WXP::FrontPlot::setFilename(), WXP::GridCont::setFilename(), WXP::GridPlot::setFilename(), WXP::GridVect::setFilename(), WXP::HodoPlot::setFilename(), WXP::HurPlot::setFilename(), WXP::ImagePlot::setFilename(), WXP::Lev2Plot::setFilename(), WXP::LightPlot::setFilename(), WXP::MdrPlot::setFilename(), WXP::MetaPlot::setFilename(), WXP::MeteoPlot::setFilename(), WXP::MiscPlot::setFilename(), WXP::MosPlot::setFilename(), WXP::NidsPlot::setFilename(), WXP::ProfPlot::setFilename(), WXP::RadPlot::setFilename(), WXP::RawPlot::setFilename(), WXP::RcmPlot::setFilename(), WXP::RedbookPlot::setFilename(), WXP::SatPlot::setFilename(), WXP::SfcPlot::setFilename(), WXP::SoundPlot::setFilename(), WXP::UpaPlot::setFilename(), WXP::UpaXSectCont::setFilename(), WXP::UpaXSectPlot::setFilename(), WXP::WarnPlot::setFilename(), WXP::WatchPlot::setFilename(), WXP::ImagePlot::setFilename(), WXP::Lev2Plot::setFilename(), WXP::NidsPlot::setFilename(), WXP::RawPlot::setFilename(), WXP::RedbookPlot::setFilename(), WXP::SatPlot::setFilename(), WXP::HodoPlot::setFilename(), WXP::LightPlot::setFilename(), WXP::MdrPlot::setFilename(), WXP::MeteoPlot::setFilename(), WXP::ProfPlot::setFilename(), WXP::RadPlot::setFilename(), WXP::RcmPlot::setFilename(), WXP::SoundPlot::setFilename(), WXP::UpaXSectCont::setFilename(), WXP::UpaXSectPlot::setFilename(), WXP::FrontPlot::setFilename(), WXP::GridCont::setFilename(), WXP::GridPlot::setFilename(), WXP::GridVect::setFilename(), WXP::HurPlot::setFilename(), WXP::MetaPlot::setFilename(), WXP::MiscPlot::setFilename(), WXP::MosPlot::setFilename(), WXP::SfcPlot::setFilename(), WXP::UpaPlot::setFilename(), WXP::WarnPlot::setFilename(), WXP::WatchPlot::setFilename(), WXP::FrontPlot::setFilename(), WXP::GridCont::setFilename(), WXP::GridPlot::setFilename(), WXP::GridVect::setFilename(), WXP::HurPlot::setFilename(), WXP::ImagePlot::setFilename(), WXP::Lev2Plot::setFilename(), WXP::LightPlot::setFilename(), WXP::MdrPlot::setFilename(), WXP::MetaPlot::setFilename(), WXP::MosPlot::setFilename(), WXP::NidsPlot::setFilename(), WXP::RadPlot::setFilename(), WXP::RawPlot::setFilename(), WXP::RcmPlot::setFilename(), WXP::RedbookPlot::setFilename(), WXP::SatPlot::setFilename(), WXP::SfcPlot::setFilename(), WXP::SoundPlot::setFilename(), WXP::UpaPlot::setFilename(), WXP::UpaXSectCont::setFilename(), WXP::UpaXSectPlot::setFilename(), WXP::WarnPlot::setFilename(), WXP::WatchPlot::setFilename(), WXP::FrontPlot::setFilename(), WXP::GridCont::setFilename(), WXP::GridPlot::setFilename(), WXP::GridVect::setFilename(), WXP::HurPlot::setFilename(), WXP::ImagePlot::setFilename(), WXP::Lev2Plot::setFilename(), WXP::LightPlot::setFilename(), WXP::MdrPlot::setFilename(), WXP::MetaPlot::setFilename(), WXP::MosPlot::setFilename(), WXP::NidsPlot::setFilename(), WXP::RadPlot::setFilename(), WXP::RawPlot::setFilename(), WXP::RcmPlot::setFilename(), WXP::RedbookPlot::setFilename(), WXP::SatPlot::setFilename(), WXP::SfcPlot::setFilename(), WXP::SoundPlot::setFilename(), WXP::UpaPlot::setFilename(), WXP::UpaXSectCont::setFilename(), WXP::UpaXSectPlot::setFilename(), WXP::WarnPlot::setFilename(), and WXP::WatchPlot::setFilename().
int Filename::setFile | ( | int | ind | ) |
Sets the filename based on an offset from current time. This is meant for series of files.
ind | Index multiplied by the time offset. |
References WXP::Date::addSeconds(), FILES, WXP::NameConvFile::getDate(), WXP::NameConvFile::getFilename(), WXP::NameConvFile::getHdrFilename(), WXP::Strings::getString(), WXP::String::set(), and WXP::NameConv::setFile().
int Filename::setFixDate | ( | const char * | str | ) |
Sets the set date used to determine files. Parameters in date fix those values in filename. Default is undefined.
str | Set date for files |
References WXP::NameConv::setFixDate().
int Filename::setFixDate | ( | DateVal & | rdate | ) |
Sets the set date used to determine files. Parameters in date fix those values in filename. Default is undefined.
rdate | Set date for files |
References WXP::NameConv::setFixDate().
Referenced by WXP::GridCont::draw(), WXP::ImagePlot::draw(), WXP::GridCont::setFilename(), WXP::HurPlot::setHour(), WXP::LightPlot::setHour(), WXP::RedbookPlot::setHour(), WXP::SfcPlot::setHour(), WXP::UpaDecode::setHour(), WXP::UpaPlot::setHour(), WXP::WarnPlot::setHour(), and WXP::WatchPlot::setHour().
int Filename::setHeader | ( | const char * | rname | ) |
int Filename::setLateDate | ( | Date | rdate | ) |
Sets the base date used to determine latest files. Default is current time.
rdate | Base date for latest files |
References WXP::NameConv::setLateDate().
int Filename::setLateLimit | ( | int | val | ) |
Sets the number of times to look back to find the latest file.
val | The number of offset times. |
References WXP::NameConv::setLateLimit().
int Filename::setName | ( | const char * | rname | ) |
Sets the specific filename
rname | The file name |
References WXP::String::set().
Referenced by WXP::GridVect::draw().
int Filename::setNameConv | ( | const char * | nameconv | ) |
Sets the name convention
nameconv | Name convention string |
References WXP::StrLib::copy(), WXP::NameConv::getOffset(), and WXP::NameConv::set().
Referenced by WXP::HodoPlot::draw(), WXP::SoundPlot::draw(), WXP::RadMask::getGrids(), WXP::RcmDecode::setInput(), WXP::UpaDecode::setInput(), WXP::MdrPlot::setInput(), WXP::GridCont::setModel(), WXP::GridPlot::setModel(), WXP::GridVect::setModel(), WXP::ImagePlot::setModel(), WXP::RedbookPlot::setNameConv(), WXP::GridCont::setNameConv(), WXP::GridPlot::setNameConv(), WXP::GridVect::setNameConv(), WXP::HodoPlot::setNameConv(), WXP::Lev2Plot::setNameConv(), WXP::LightPlot::setNameConv(), WXP::MdrPlot::setNameConv(), WXP::MetaPlot::setNameConv(), WXP::MeteoPlot::setNameConv(), WXP::MiscPlot::setNameConv(), WXP::MosPlot::setNameConv(), WXP::MosRaw::setNameConv(), WXP::ProfPlot::setNameConv(), WXP::RadPlot::setNameConv(), WXP::RawGrid::setNameConv(), WXP::RcmPlot::setNameConv(), WXP::SatPlot::setNameConv(), WXP::SfcPlot::setNameConv(), WXP::SfcRaw::setNameConv(), WXP::SoundPlot::setNameConv(), WXP::UpaPlot::setNameConv(), WXP::UpaRaw::setNameConv(), WXP::UpaXSectCont::setNameConv(), WXP::UpaXSectPlot::setNameConv(), WXP::FrontPlot::setNameConv(), WXP::HurPlot::setNameConv(), WXP::ImagePlot::setNameConv(), WXP::NidsPlot::setNameConv(), WXP::RawPlot::setNameConv(), WXP::WarnPlot::setNameConv(), WXP::WatchPlot::setNameConv(), WXP::RcmDecode::setOutput(), and WXP::UpaDecode::setOutput().
int Filename::setNumFiles | ( | const char * | str | ) |
Sets the number of files in a series
str | String containing series parameters |
References WXP::NameConv::getOffset(), WXP::Const::MISS, WXP::Wxp::outDebug(), and WXP::StrLib::valid().
int Filename::setNumFiles | ( | int | val | ) |
Sets the number of files in a series
val | Number of files |
Referenced by WXP::UpaDecode::decode(), WXP::HurPlot::draw(), WXP::LightPlot::draw(), WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::WarnPlot::draw(), WXP::FrontPlot::init(), WXP::GridPlot::init(), WXP::MdrPlot::init(), WXP::MeteoPlot::init(), WXP::MosPlot::init(), WXP::HurPlot::setFile(), WXP::ImagePlot::setFile(), WXP::Lev2Plot::setFile(), WXP::LightPlot::setFile(), WXP::MdrPlot::setFile(), WXP::NidsPlot::setFile(), WXP::RadPlot::setFile(), WXP::RcmPlot::setFile(), WXP::RedbookPlot::setFile(), WXP::SfcPlot::setFile(), WXP::SoundPlot::setFile(), WXP::UpaPlot::setFile(), WXP::WarnPlot::setFile(), WXP::WatchPlot::setFile(), setFile(), WXP::RedbookPlot::setNameConv(), WXP::Lev2Plot::setNameConv(), WXP::LightPlot::setNameConv(), WXP::MdrPlot::setNameConv(), WXP::RadPlot::setNameConv(), WXP::RcmPlot::setNameConv(), WXP::SatPlot::setNameConv(), WXP::SfcPlot::setNameConv(), WXP::UpaPlot::setNameConv(), WXP::HurPlot::setNameConv(), WXP::NidsPlot::setNameConv(), WXP::RawPlot::setNameConv(), WXP::WarnPlot::setNameConv(), WXP::WatchPlot::setNameConv(), and WXP::SatPlot::setParam().
int Filename::setOutput | ( | bool | val | ) |
Sets whether the file is an output file or not. If output, cannot search for latest file.
val | Whether output file |
References WXP::NameConv::setOutput().
int Filename::setPath | ( | const char * | str | ) |
Sets the file path
str | User defined file path |
References WXP::NameConv::setPath().
Referenced by WXP::LightPlot::setPath(), WXP::NidsPlot::setPath(), WXP::RedbookPlot::setPath(), WXP::SfcPlot::setPath(), and WXP::UpaPlot::setPath().
int Filename::setType | ( | const char * | rtype | ) |
Sets the file type parameter
rtype | File type |
References WXP::StrLib::copy().
Referenced by WXP::ImagePlot::setFile(), WXP::SatPlot::setInput(), and WXP::ImagePlot::setInput().
bool Filename::validHeader | ( | ) |
Returns if the header filename has a valid string in it.
References WXP::String::valid().
Referenced by WXP::GribFile::open().
|
static |
Multiple files by list of files
Referenced by WXP::SatPlot::draw(), print(), setFile(), setFile(), and setFile().
|
static |
Multiple files by time
Referenced by print().
|
static |
Multiple files by time
Referenced by init().