|
WXP C++ Library Version 6.74.9
|
This class contains VTEC data. More...
#include "../include/Vtec.h"
Public Member Functions | |
| Vtec () | |
| Vtec (const char *str) | |
| int | init () |
| int | decode (const char *str) |
| int | set (const char *str) |
| int | getClass () |
| int | getAction () |
| const char * | getId () |
| const char * | getType () |
| int | getSignificance () |
| int | getNumber () |
| int | getBegDate (Date &rdate) |
| int | getBegSecs () |
| int | getEndDate (Date &rdate) |
| int | getEndSecs () |
| int | print () |
This class contains VTEC data.
| Vtec::Vtec | ( | ) |
Constructor. Initializes data values
References init().
| Vtec::Vtec | ( | const char * | str | ) |
| int Vtec::decode | ( | const char * | str | ) |
Decodes the VTEC values from a string
| str | String to decode |
References WXP::StrLib::copy(), WXP::DateVal::day, WXP::Strings::equal(), WXP::Strings::getInt(), WXP::Strings::getNum(), WXP::Strings::getString(), WXP::DateVal::hour, init(), WXP::DateVal::min, WXP::DateVal::month, WXP::Strings::scanf(), WXP::Date::set(), and WXP::DateVal::year.
Referenced by WXP::WarnFile::read(), set(), and Vtec().
| int Vtec::init | ( | ) |
Initializes data values
References WXP::Date::init(), and WXP::Const::MISS.
| int Vtec::print | ( | ) |
Prints data values to standard output
References WXP::Date::print().
| int Vtec::set | ( | const char * | str | ) |