NAME
ACE_FILE -
Defines the member functions for the base class of the
ACE_FILE abstraction.
SYNOPSIS
#include <ace/FILE.h>
class ACE_FILE : public ACE_IO_SAP
{
public:
int close (void);
int get_info (ACE_FILE_Info *finfo);
int truncate (off_t length);
off_t position (long offset, int startpos);
off_t position (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
protected:
ACE_FILE (void);
};
PUBLIC MEMBERS
int close (void);
int get_info (ACE_FILE_Info *finfo);
get informations on the ACE_FILE
int truncate (off_t length);
set filesize to length byte
off_t position (long offset, int startpos);
set the filepointer to the specified position
off_t position (void);
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
PROTECTED MEMBERS
ACE_FILE (void);
Ensure that this class is an abstract base class
AUTHOR
Gerhard Lenzer
LIBRARY
ace