class Hp49File
|
This is an abstract base class for all Hp49 files. More... |
|
|
Public Methods
Protected Methods
Detailed Description
This is an abstract base class for all Hp49 files.
All classes which inherit this one must have an open() method.
| Hp49File (string name, LogLevel lvl = NONE)
|
Constructor must be supplied with a file name
Parameters:
| name | File name
|
| lvl | Log level
|
[virtual]
[pure virtual]
[virtual]
| Error createStream (int mode)
|
For any reading or writing file activity, a stream must be created.
Parameters:
| mode | same modes which would be passed to a fstream.open(...)
|
[const]
[const]
| unsigned long getDataSize ()
|
[const]
This is the size of the data portion of the Hp49 file. I know this
works properly for Hp49 string files but I have not tested it out with
any other other types of files, so I do not know if this is consistant
through out. Also the data part is the portion of bytes at the end of
the file, but this might change in the future.
| void setType (HpFileType t)
|
[protected]
| void setDataSize (unsigned long s)
|
[protected]
| Generated on Fri Mar 9 02:04:42 2001, using kdoc 2.0a43. |