WXP::WatchFile Class Reference

This class reads and decodes watch box data from file. More...

#include "../include/WatchFile.h"

List of all members.

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)

Detailed Description

This class reads and decodes watch box data from file.

Author:
Dan Vietor

Constructor & Destructor Documentation

WatchFile::WatchFile (  ) 

Constructor. Initializes class data

References init().

WatchFile::WatchFile ( const char *  filename  ) 

Constructor. Opens file.

Parameters:
filename File to open

References init(), and open().

WatchFile::~WatchFile (  ) 

Destructor.


Member Function Documentation

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

Returns:
True if open
int WatchFile::open ( Filename filename  ) 

Opens a watch file

Parameters:
filename File to open

References WXP::Filename::getDate(), WXP::Filename::getName(), and open().

int WatchFile::open ( const char *  filename  ) 

Opens a watch file

Parameters:
filename File to open

References WXP::File::isOpen(), and WXP::File::open().

Referenced by open(), and WatchFile().


The documentation for this class was generated from the following files:

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1