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

ICFile Class Reference

#include <file.hpp>

Inheritance diagram for ICFile:

CFile CSignFile List of all members.

Public Types

enum  StringFlag {
  strUcs2 = 32, strLen8 = 1, strLen16 = 2, strLen32 = 3,
  strLenMask = 3
}

Public Methods

virtual ~ICFile ()
virtual void Seek (long offset, int whence=SEEK_SET) const=0
virtual char * ReadString () const=0
virtual char * ReadStringFlag (unsigned flag) const=0
virtual long Tell () const=0
virtual void RawRead (void *ptr, size_t size) const=0
virtual void RawWrite (const void *ptr, size_t size)=0

Member Enumeration Documentation

enum ICFile::StringFlag
 

Enumeration values:
strUcs2 
strLen8 
strLen16 
strLen32 
strLenMask 

Definition at line 36 of file file.hpp.

00037   {
00038     strUcs2=32,
00039     strLen8 = 1, strLen16 = 2, strLen32 = 3, strLenMask =3
00040   };


Constructor & Destructor Documentation

virtual ICFile::~ICFile   [inline, virtual]
 

Definition at line 41 of file file.hpp.

00041 {};


Member Function Documentation

virtual void ICFile::RawRead void *    ptr,
size_t    size
const [pure virtual]
 

Implemented in CFile, and CSignFile.

Referenced by CopyFileToFile(), RawRead(), WriteBinary(), and WriteIcons().

virtual void ICFile::RawWrite const void *    ptr,
size_t    size
[pure virtual]
 

Implemented in CFile.

Referenced by CopyFileToFile(), and RawWrite().

virtual char* ICFile::ReadString   const [pure virtual]
 

Implemented in CFile, and CSignFile.

Referenced by PeFile::ParseExport(), and PeFile::ParseImport().

virtual char* ICFile::ReadStringFlag unsigned    flag const [pure virtual]
 

Implemented in CFile, and CSignFile.

Referenced by ParseResourceDirectory().

virtual void ICFile::Seek long    offset,
int    whence = SEEK_SET
const [pure virtual]
 

Implemented in CFile.

Referenced by PeFile::ParseExport(), PeFile::ParseImport(), PeFile::ParseRelocations(), PeFile::ParseResource(), ParseResourceDirectory(), PeFile::PeFile(), and WriteIcons().

virtual long ICFile::Tell   const [pure virtual]
 

Implemented in CFile.

Referenced by CollectIconInfos(), PeFile::ParseExport(), PeFile::ParseImport(), PeFile::ParseRelocations(), and ParseResourceDirectory().


The documentation for this class was generated from the following file:
Generated on Mon Jan 13 22:20:36 2003 for perdr by doxygen1.2.15