ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::InstallShieldCabinet Class Reference

Inheritance diagram for Common::InstallShieldCabinet:
Collaboration diagram for Common::InstallShieldCabinet:

List of all members.

Classes

struct  FileEntry

Public Member Functions

 InstallShieldCabinet (SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse)
 ~InstallShieldCabinet ()
bool hasFile (const String &name) const
 Check if a member with the given name is present in the Archive.
int listMembers (ArchiveMemberList &list) const
 Add all members of the Archive to list.
const ArchiveMemberPtr getMember (const String &name) const
 Returns a ArchiveMember representation of the given file.
SeekableReadStreamcreateReadStreamForMember (const String &name) const
 Create a stream bound to a member with the specified name in the archive.

Private Types

typedef HashMap< String,
FileEntry, IgnoreCase_Hash,
IgnoreCase_EqualTo
FileMap

Private Attributes

FileMap _map
Common::SeekableReadStream_stream
DisposeAfterUse::Flag _disposeAfterUse

Detailed Description

Definition at line 55 of file installshield_cab.cpp.


Member Typedef Documentation


Constructor & Destructor Documentation

Common::InstallShieldCabinet::InstallShieldCabinet ( SeekableReadStream stream,
DisposeAfterUse::Flag  disposeAfterUse 
)

Definition at line 87 of file installshield_cab.cpp.

Common::InstallShieldCabinet::~InstallShieldCabinet (  ) 

Definition at line 80 of file installshield_cab.cpp.


Member Function Documentation

SeekableReadStream * Common::InstallShieldCabinet::createReadStreamForMember ( const String name  )  const [virtual]

Create a stream bound to a member with the specified name in the archive.

If no member with this name exists, 0 is returned.

Returns:
the newly created input stream

Implements Common::Archive.

Definition at line 175 of file installshield_cab.cpp.

const ArchiveMemberPtr Common::InstallShieldCabinet::getMember ( const String name  )  const [virtual]

Returns a ArchiveMember representation of the given file.

Implements Common::Archive.

Definition at line 171 of file installshield_cab.cpp.

bool Common::InstallShieldCabinet::hasFile ( const String name  )  const [virtual]

Check if a member with the given name is present in the Archive.

Patterns are not allowed, as this is meant to be a quick File::exists() replacement.

Implements Common::Archive.

Definition at line 160 of file installshield_cab.cpp.

int Common::InstallShieldCabinet::listMembers ( ArchiveMemberList list  )  const [virtual]

Add all members of the Archive to list.

Must only append to list, and not remove elements from it.

Returns:
the number of names added to list

Implements Common::Archive.

Definition at line 164 of file installshield_cab.cpp.


Member Data Documentation

Definition at line 75 of file installshield_cab.cpp.


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


Generated on Sat May 18 2019 05:06:00 for ResidualVM by doxygen 1.7.1
curved edge   curved edge