Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

file.h File Reference

Go to the source code of this file.

Compounds

struct  _fcb
class  Dir
 A low level portable directory class. low level directory access class. More...

class  DSO
 The DSO dynamic loader class is used to load object files. Dynamic class file loader. More...

class  FIFOSession
 The FIFOSession produces a seperate thread which can manage a fifo stream session. More...

class  fifostream
 This class provides a few alterations to the standard fstream class for dealing with fifo devices. More...

class  MappedFile
 Create and map a disk file into memory. Map a named disk file into memory. More...

class  Pipe
 The Pipe uses system kernel buffering to hold data being passed either between two execution contexts within the same process, or between different processes. kernel buffering between processes and/or threads. More...

class  RandomFile
 The purpose of this class is to define a base class for low level random file access that is portable between Win32 and Posix systems. Portable random disk file access. More...

class  SharedFile
 This class defines a database I/O file service that can be shared by multiple processes. This class defines a database I/O file service that can be shared by multiple processes. More...

class  ThreadFile
 This class defines a database I/O file service that can be shared by multiple threads. This class defines a database I/O file service that can be shared by multiple threads. More...


Typedefs

typedef unsigned long pos_t

Enumerations

enum  {
  FILE_OPEN_READONLY = O_RDONLY, FILE_OPEN_WRITEONLY = O_WRONLY, FILE_OPEN_READWRITE = O_RDWR, FILE_OPEN_APPEND = O_WRONLY | O_APPEND,
  FILE_OPEN_SYNC = O_RDWR | O_SYNC, FILE_OPEN_SYNC = O_RDWR | O_SYNC, FILE_OPEN_TRUNCATE
}
enum  fileattr_t { FILE_ATTR_INVALID = 0, FILE_ATTR_PRIVATE = S_IRUSR | S_IWUSR, FILE_ATTR_GROUP = FILE_ATTR_PRIVATE | S_IRGRP | S_IWGRP, FILE_ATTR_PUBLIC }
enum  fileerror_t {
  FILE_SUCCESS = 0, FILE_NOT_OPENED, FILE_MAP_FAILED, FILE_INIT_FAILED,
  FILE_OPEN_DENIED, FILE_OPEN_FAILED, FILE_OPEN_INUSE, FILE_READ_INTERRUPTED,
  FILE_READ_INCOMPLETE, FILE_READ_FAILURE, FILE_WRITE_INTERRUPTED, FILE_WRITE_INCOMPLETE,
  FILE_WRITE_FAILURE, FILE_EXTENDED_ERROR
}
enum  fileaccess_t { FILE_ACCESS_READONLY = O_RDONLY, FILE_ACCESS_WRITEONLY = O_WRONLY, FILE_ACCESS_READWRITE }
enum  filecomplete_t { FILE_COMPLETION_IMMEDIATE, FILE_COMPLETION_DELAYED, FILE_COMPLETION_DEFERRED }

Functions

bool isDir (const char *path)
bool isFile (const char *path)
bool isDevice (const char *path)
bool canAccess (const char *path)
bool canModify (const char *path)

Variables

_fcb fcb_t


Typedef Documentation

typedef unsigned long pos_t
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
FILE_OPEN_READONLY  
FILE_OPEN_WRITEONLY  
FILE_OPEN_READWRITE  
FILE_OPEN_APPEND  
FILE_OPEN_SYNC  
FILE_OPEN_SYNC  
FILE_OPEN_TRUNCATE  

enum fileaccess_t
 

Enumeration values:
FILE_ACCESS_READONLY  
FILE_ACCESS_WRITEONLY  
FILE_ACCESS_READWRITE  

enum fileattr_t
 

Enumeration values:
FILE_ATTR_INVALID  
FILE_ATTR_PRIVATE  
FILE_ATTR_GROUP  
FILE_ATTR_PUBLIC  

enum filecomplete_t
 

Enumeration values:
FILE_COMPLETION_IMMEDIATE  
FILE_COMPLETION_DELAYED  
FILE_COMPLETION_DEFERRED  

enum fileerror_t
 

Enumeration values:
FILE_SUCCESS  
FILE_NOT_OPENED  
FILE_MAP_FAILED  
FILE_INIT_FAILED  
FILE_OPEN_DENIED  
FILE_OPEN_FAILED  
FILE_OPEN_INUSE  
FILE_READ_INTERRUPTED  
FILE_READ_INCOMPLETE  
FILE_READ_FAILURE  
FILE_WRITE_INTERRUPTED  
FILE_WRITE_INCOMPLETE  
FILE_WRITE_FAILURE  
FILE_EXTENDED_ERROR  


Function Documentation

bool canAccess const char *   path
 

bool canModify const char *   path
 

bool isDevice const char *   path
 

bool isDir const char *   path
 

bool isFile const char *   path
 


Variable Documentation

struct _fcb fcb_t
 


Generated at Tue Oct 16 11:17:16 2001 for CommonC++ by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001