#include <PosixFile.h>
Inheritance diagram for PosixFile::

Public Types | |
| enum | { BEG = SEEK_SET, CUR = SEEK_CUR, END = SEEK_END } |
Public Methods | |
| PosixFile (const char *name, const char *mode) | |
| PosixFile () | |
| ~PosixFile () | |
| void | init () |
| int | open (const char *name, const char *mode) |
| int | open (int fd, const char *mode) |
| int | write (const void *buf, int len) |
| int | read (void *buf, int len) |
| int | getline (void *buf, int len) |
| int | close () |
| long | tell () |
| long | size () |
| int | seek (long offset, int whence) |
| size_t | count () |
| bool | eof () |
| int | stat (struct stat *statbuf) |
| int | fd () |
| bool | operator! () |
Definition at line 12 of file PosixFile.h.
|
|
Seek constants.
Definition at line 21 of file PosixFile.h. |
|
||||||||||||
|
Definition at line 4 of file PosixFile.cpp. References open(). |
|
|
Definition at line 24 of file PosixFile.h. |
|
|
Definition at line 9 of file PosixFile.cpp. References close(). |
|
|
Definition at line 95 of file PosixFile.cpp. References init(). Referenced by FileInputStream::~FileInputStream(), and ~PosixFile(). |
|
|
Definition at line 122 of file PosixFile.cpp. |
|
|
Definition at line 129 of file PosixFile.cpp. |
|
|
Definition at line 144 of file PosixFile.cpp. Referenced by open(). |
|
||||||||||||
|
Definition at line 54 of file PosixFile.cpp. |
|
|
Definition at line 16 of file PosixFile.cpp. |
|
||||||||||||
|
Definition at line 35 of file PosixFile.cpp. |
|
||||||||||||
|
Definition at line 24 of file PosixFile.cpp. References init(). Referenced by FileInputStream::FileInputStream(), and PosixFile(). |
|
|
Definition at line 151 of file PosixFile.cpp. |
|
||||||||||||
|
Definition at line 77 of file PosixFile.cpp. Referenced by FileInputStream::read(). |
|
||||||||||||
|
Definition at line 112 of file PosixFile.cpp. |
|
|
Definition at line 45 of file PosixFile.cpp. References stat(). |
|
|
Definition at line 136 of file PosixFile.cpp. Referenced by size(). |
|
|
Definition at line 105 of file PosixFile.cpp. |
|
||||||||||||
|
Definition at line 86 of file PosixFile.cpp. |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001