Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXFile.h>
Inheritance diagram for FX::FXFile:
Public Member Functions | |
FXFile () | |
FXFile (FXInputHandle handle, FXuint mode) | |
FXFile (const FXString &file, FXuint mode=FXIO::Reading, FXuint perm=FXIO::OwnerReadWrite|FXIO::GroupReadWrite|FXIO::OtherReadWrite) | |
virtual bool | open (const FXString &file, FXuint mode=FXIO::Reading, FXuint perm=FXIO::OwnerReadWrite|FXIO::GroupReadWrite|FXIO::OtherReadWrite) |
virtual bool | open (FXInputHandle handle, FXuint mode) |
virtual FXlong | position () const |
virtual FXlong | position (FXlong offset, FXuint from=FXIO::Begin) |
virtual FXival | readBlock (void *data, FXival count) |
virtual FXival | writeBlock (const void *data, FXival count) |
virtual FXlong | truncate (FXlong size) |
virtual bool | flush () |
virtual FXlong | size () |
virtual bool | eof () |
virtual bool | close () |
virtual | ~FXFile () |
Static Public Member Functions | |
static bool | create (const FXString &file, FXuint perm=FXIO::OwnerReadWrite|FXIO::GroupReadWrite|FXIO::OtherReadWrite) |
static bool | remove (const FXString &file) |
static bool | rename (const FXString &srcfile, const FXString &dstfile) |
static bool | link (const FXString &srcfile, const FXString &dstfile) |
static FXString | symlink (const FXString &file) |
static bool | symlink (const FXString &srcfile, const FXString &dstfile) |
static bool | identical (const FXString &file1, const FXString &file2) |
static bool | copy (const FXString &srcfile, const FXString &dstfile, bool overwrite=false) |
static bool | concat (const FXString &srcfile1, const FXString &srcfile2, const FXString &dstfile, bool overwrite=false) |
static bool | copyFiles (const FXString &srcfile, const FXString &dstfile, bool overwrite=false) |
static bool | moveFiles (const FXString &srcfile, const FXString &dstfile, bool overwrite=false) |
static bool | removeFiles (const FXString &path, bool recursive=false) |
|
Construct file.
|
|
Construct file and attach existing handle h.
|
|
Construct and open a file.
|
|
Destroy.
|
|
Open file.
|
|
Open device with access mode and handle.
Reimplemented from FX::FXIO. |
|
Get current file position.
Reimplemented from FX::FXIO. |
|
Change file position, returning new position from start.
Reimplemented from FX::FXIO. |
|
Read block of bytes, returning number of bytes read.
Reimplemented from FX::FXIO. |
|
Write block of bytes, returning number of bytes written.
Reimplemented from FX::FXIO. |
|
Truncate file.
Reimplemented from FX::FXIO. |
|
Flush to disk.
Reimplemented from FX::FXIO. |
|
Return file size.
Reimplemented from FX::FXIO. |
|
Test if we're at the end.
Reimplemented from FX::FXIO. |
|
Close file.
Reimplemented from FX::FXIO. |
|
Create new (empty) file.
|
|
Remove file.
|
|
Rename or move srcfile to dstfile, replacing dstfile if it exists.
|
|
Link file.
|
|
Read symbolic link.
|
|
Symbolic link file.
|
|
Return true if files are identical.
|
|
Copy srcfile to dstfile, overwriting dstfile if allowed.
|
|
Concatenate srcfile1 and srcfile2 to dstfile, overwriting dstfile if allowed.
|
|
Recursively copy files or directories from srcfile to dstfile, overwriting dstfile if allowed.
|
|
Recursively copy or move files or directories from srcfile to dstfile, overwriting dstfile if allowed.
|
|
Recursively remove file or directory, recurse if allowed.
|
Copyright © 1997-2005 Jeroen van der Zijp |