Upx_Doxygen
https://github.com/upx/upx
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
FileBase Class Reference
Inheritance diagram for FileBase:
File InputFile OutputFile

Public Member Functions

virtual bool close ()
 
virtual void closex ()
 
virtual bool isOpen () const
 
int getFd () const
 
const char * getName () const
 
virtual off_t st_size () const
 
virtual void set_extent (off_t offset, off_t length)
 

Public Attributes

struct stat st
 

Protected Member Functions

bool do_sopen ()
 
virtual int read (void *buf, int len)
 
virtual int readx (void *buf, int len)
 
virtual void write (const void *buf, int len)
 
virtual off_t seek (upx_int64_t off, int whence)
 
virtual off_t tell () const
 

Protected Attributes

int _fd
 
int _flags
 
int _shflags
 
int _mode
 
const char * _name
 
off_t _offset
 
off_t _length
 

Additional Inherited Members

- Static Public Member Functions inherited from File
static void chmod (const char *name, int mode)
 
static void rename (const char *old_, const char *new_)
 
static void unlink (const char *name)
 

The documentation for this class was generated from the following files: