Pasti file Reader-Writer  1.0
Pasti files
Public Types | Public Member Functions | List of all members
Pasti.PastiReader Class Reference

The reader class More...

Public Types

enum  PastiStatus { PastiStatus.Ok = 0, PastiStatus.FileNotFound, PastiStatus.NotPastiFile, PastiStatus.UnsupportedVersion }
 Status returned when reading Pasti file More...
 

Public Member Functions

 PastiReader (TextBox tb)
 The Pasti reader constructor More...
 
PastiStatus readPasti (string fileName, Floppy fd)
 Read a Pasti file and fills the Floppy structure More...
 

Detailed Description

The reader class

Definition at line 36 of file PastiRead.cs.

Member Enumeration Documentation

Status returned when reading Pasti file

Enumerator
Ok 

File read correctly

FileNotFound 

Could not open file for reading or file not found

NotPastiFile 

The header in the file is not RSY

UnsupportedVersion 

Not version 3

Definition at line 50 of file PastiRead.cs.

Constructor & Destructor Documentation

Pasti.PastiReader.PastiReader ( TextBox  tb)
inline

The Pasti reader constructor

Parameters
tbThe textbox used to display information

Definition at line 43 of file PastiRead.cs.

Member Function Documentation

PastiStatus Pasti.PastiReader.readPasti ( string  fileName,
Floppy  fd 
)
inline

Read a Pasti file and fills the Floppy structure

Parameters
fileNameName of the Pasti file to read
fdthe Floppy parameter
Returns
The status

Definition at line 68 of file PastiRead.cs.


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