2005/5/9

     
 

class FileDescriptor

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::FileDescriptor Class Reference

#include <FileDescriptor.h>

Inheritance diagram for acdk::io::FileDescriptor:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Represents a operation system file descriptor.

API: ACDK

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.14
Date:
Date
2005/04/09 19:26:44


Public Member Functions

 FileDescriptor (int fd, int omode, bool dupl=false)
 FileDescriptor (IN(RFileDescriptor) f, bool dupl=false)
 FileDescriptor ()
virtual bool valid ()
virtual void sync ()
int c_fd ()
void setCloseOnExec (bool val)
bool getCloseOnExec ()
int omode ()

Static Public Attributes

RFileDescriptor in
RFileDescriptor out
RFileDescriptor err

Protected Attributes

int _fd
int _omode

Friends

class FileReaderWriterImpl


Constructor & Destructor Documentation

acdk::io::FileDescriptor::FileDescriptor int  fd,
int  omode,
bool  dupl = false
 

acdk::io::FileDescriptor::FileDescriptor IN(RFileDescriptor f,
bool  dupl = false
 

acdk::io::FileDescriptor::FileDescriptor  )  [inline]
 


Member Function Documentation

int acdk::io::FileDescriptor::c_fd  )  [inline]
 

bool acdk::io::FileDescriptor::getCloseOnExec  ) 
 

int acdk::io::FileDescriptor::omode  )  [inline]
 

void acdk::io::FileDescriptor::setCloseOnExec bool  val  ) 
 

virtual void acdk::io::FileDescriptor::sync  )  [virtual]
 

virtual bool acdk::io::FileDescriptor::valid  )  [inline, virtual]
 


Friends And Related Function Documentation

friend class FileReaderWriterImpl [friend]
 


Member Data Documentation

int acdk::io::FileDescriptor::_fd [protected]
 

int acdk::io::FileDescriptor::_omode [protected]
 

RFileDescriptor acdk::io::FileDescriptor::err [static]
 

RFileDescriptor acdk::io::FileDescriptor::in [static]
 

RFileDescriptor acdk::io::FileDescriptor::out [static]