FILE_RAW Class Reference

Class for platform-independent "raw" file read/write. More...

#include <mi32/fileraw.h>

Inheritance diagram for FILE_RAW:

Inheritance graph
GENERICRW
[legend]
List of all members.

Public Member Functions

void Close ()
 FILE_RAW ()
bool GetPath (FILEPATH &path) const
bool IsOpen () const
ERRVALUE Open (const FILEPATH &filepath, FILE_ACCESS access=FILE_ACCESS_Read, FILE_SHARE share=FILE_SHARE_Any)
 ~FILE_RAW ()

Detailed Description

Class for platform-independent "raw" file read/write.

Definition at line 101 of file fileraw.h.


Constructor & Destructor Documentation

FILE_RAW::FILE_RAW (  ) 

Default constructor.

FILE_RAW::~FILE_RAW (  ) 

Destructor, closes file if open.


Member Function Documentation

void FILE_RAW::Close (  ) 

Close file if open.

bool FILE_RAW::GetPath ( FILEPATH path  )  const

Get current path if file is open.

Returns:
'true' if open, 'false' if not.
Parameters:
path  Path returned

bool FILE_RAW::IsOpen (  )  const

Determine if file is currently open.

ERRVALUE FILE_RAW::Open ( const FILEPATH filepath,
FILE_ACCESS  access = FILE_ACCESS_Read,
FILE_SHARE  share = FILE_SHARE_Any 
)

Open or create specified file.

If file is already open the previous file will be closed.

Parameters:
filepath  Path to file to be opened or created
access  Desired access
share  Sharing mode


The documentation for this class was generated from the following file:
Generated on Thu Apr 26 04:47:06 2007 for TNTsdk by  doxygen 1.5.2