WXP C++ Library Version 6.74.9
|
This class stores values returned by the NameConv class. More...
#include "../include/NameConvFile.h"
Public Member Functions | |
NameConvFile () | |
int | init () |
int | setType (const char *rtype) |
const char * | getType () |
int | setFilename (String &str) |
int | setFilename (const char *str) |
const char * | getFilename () |
int | setHdrFilename (String &str) |
int | setHdrFilename (const char *str) |
const char * | getHdrFilename () |
int | setDate (Date &rdate) |
int | getDate (Date &rdate) |
Date | getDate () |
int | setParam (const char *str) |
const char * | getParam () |
int | setOffset (int val) |
int | getOffset () |
int | print () |
This class stores values returned by the NameConv class.
NameConvFile::NameConvFile | ( | ) |
Constructor. Initializes the values.
References init().
Date NameConvFile::getDate | ( | ) |
Gets the date of the corresponding filenames
int NameConvFile::getDate | ( | Date & | rdate | ) |
Gets the date of the corresponding filenames
rdate | Date of filenames |
Referenced by WXP::Filename::checkFile(), WXP::Filename::set(), WXP::Filename::set(), WXP::Filename::setFile(), WXP::Filename::setFile(), WXP::Filename::setFile(), and WXP::Filename::setFile().
const char * NameConvFile::getFilename | ( | ) |
Returns the saved filename
Referenced by WXP::Filename::checkFile(), WXP::WmoIngest::printLog(), WXP::Filename::set(), WXP::Filename::set(), WXP::Filename::setFile(), WXP::Filename::setFile(), WXP::Filename::setFile(), and WXP::Filename::setFile().
const char * NameConvFile::getHdrFilename | ( | ) |
Gets the saved header filename
Referenced by WXP::Filename::checkFile(), WXP::Filename::set(), WXP::Filename::set(), WXP::Filename::setFile(), WXP::Filename::setFile(), WXP::Filename::setFile(), and WXP::Filename::setFile().
int NameConvFile::getOffset | ( | ) |
Gets the time offset between filenames
const char * NameConvFile::getParam | ( | ) |
Gets the name convention parameters
const char * NameConvFile::getType | ( | ) |
Gets the name convention type
int NameConvFile::init | ( | ) |
Initializes the class values
Referenced by NameConvFile(), and WXP::NameConv::setLatest().
int NameConvFile::print | ( | ) |
Prints the values in the class
References WXP::Date::print(), and WXP::StrLib::valid().
int NameConvFile::setDate | ( | Date & | rdate | ) |
Sets the date the corresponds to the filenames
rdate | Date of filenames |
Referenced by WXP::NameConv::setFile(), and WXP::NameConv::setLatest().
int NameConvFile::setFilename | ( | const char * | str | ) |
int NameConvFile::setFilename | ( | String & | str | ) |
Sets the filename
str | String class used to set filename |
References WXP::StrLib::copy(), and WXP::String::get().
Referenced by WXP::NameConv::setFile(), and WXP::NameConv::setLatest().
int NameConvFile::setHdrFilename | ( | const char * | str | ) |
int NameConvFile::setHdrFilename | ( | String & | str | ) |
Sets the header filename
str | String class used the set filename |
References WXP::StrLib::copy(), and WXP::String::get().
Referenced by WXP::NameConv::setFile(), and WXP::NameConv::setLatest().
int NameConvFile::setOffset | ( | int | val | ) |
Sets the time offset between filenames
val | The time offset in seconds |
Referenced by WXP::NameConv::setFile(), and WXP::NameConv::setLatest().
int NameConvFile::setParam | ( | const char * | str | ) |
Sets the name convention parameters
str | String containing additional parameters |
References WXP::StrLib::copy().
int NameConvFile::setType | ( | const char * | rtype | ) |
Sets the name convention type (tag)
rtype | The name convention type |
References WXP::StrLib::copy().
Referenced by WXP::NameConv::setFile(), and WXP::NameConv::setLatest().