This class reads and decodes watch box data from file. More...
#include "../include/WatchFile.h"
Public Member Functions | |
| WatchFile () | |
| WatchFile (const char *filename) | |
| WatchFile (Filename &filename) | |
| ~WatchFile () | |
| int | init () |
| int | open (const char *filename) |
| int | open (Filename &filename) |
| int | close () |
| bool | isOpen () |
| int | setDate (Date &rdate) |
| int | read (WatchData &watch) |
This class reads and decodes watch box data from file.
| WatchFile::WatchFile | ( | ) |
Constructor. Initializes class data
References init().
| WatchFile::WatchFile | ( | const char * | filename | ) |
| WatchFile::~WatchFile | ( | ) |
Destructor.
| int WatchFile::close | ( | ) |
Closes the file
References WXP::File::close().
| int WatchFile::init | ( | ) |
Initializes class data
Referenced by WatchFile().
| bool WatchFile::isOpen | ( | ) |
Is file opened
| int WatchFile::open | ( | Filename & | filename | ) |
Opens a watch file
| filename | File to open |
References WXP::Filename::getDate(), WXP::Filename::getName(), and open().
| int WatchFile::open | ( | const char * | filename | ) |
Opens a watch file
| filename | File to open |
References WXP::File::isOpen(), and WXP::File::open().
Referenced by open(), and WatchFile().
1.6.1