NAME

ACE_FILE - Defines the core methods of the ACE_FILE abstraction.

SYNOPSIS

#include <ace/FILE.h>

class ACE_FILE : public ACE_IO_SAP { public: int close (void); int remove (void); int unlink (void); int get_info (ACE_FILE_Info *finfo); int get_info (ACE_FILE_Info &finfo); int truncate (off_t length); off_t seek (off_t offset, int whence = SEEK_CUR); off_t position (long offset, int startpos); off_t tell (void); off_t position (void); int disable (int signum) const; int get_local_addr (ACE_Addr &) const; int get_remote_addr (ACE_Addr &) const; void dump (void) const; ACE_ALLOC_HOOK_DECLARE; protected: ACE_FILE (void); ACE_FILE_Addr addr_; };

PUBLIC MEMBERS

int close (void);

int remove (void);

int unlink (void);

int get_info (ACE_FILE_Info *finfo);

int get_info (ACE_FILE_Info &finfo);

int truncate (off_t length);

off_t seek (off_t offset, int whence = SEEK_CUR);

off_t position (long offset, int startpos);

off_t tell (void);

off_t position (void);

int disable (int signum) const;

int get_local_addr (ACE_Addr &) const;

int get_remote_addr (ACE_Addr &) const;

void dump (void) const;

ACE_ALLOC_HOOK_DECLARE;

PROTECTED MEMBERS

ACE_FILE (void);

ACE_FILE_Addr addr_;

AUTHOR

Gerhard Lenzer

LIBRARY

ace