Linderdaum Engine: clArchiveMountPoint Class Reference
Updated: Sun Feb 5 2012 22:59:48
clArchiveMountPoint Class Reference

Implementation of a mount point for the uncompressed .RAR/.TAR files. More...

#include <MountPoint.h>

List of all members.

Public Member Functions

 clArchiveMountPoint (sEnvironment *Env, const LString &PhysicalName)
virtual ~clArchiveMountPoint ()
virtual bool FileExistsAtThisPoint (const LString &VirtualName) const
 Check if virtual file VirtualName exists at this mount point.
virtual LString MapToThisPoint (const LString &VirtualName) const
 Convert local file VirtualName to global name.
virtual iRAWFileCreateRAWFile (const LString &VirtualName) const
 Create appropriate file reader for the specified VirtualName.
virtual Lint64 GetFileTime (const LString &VirtualName) const
 Retrieve file time.
virtual bool IsPhysical () const
 Mount point is usually a folder on OS native file system.

Private Types

typedef std::map< LString,
sFileLocation
clLocationsList

Private Member Functions

void LocateFiles_RAR (iIStream *In)
void LocateFiles_TAR (iIStream *In)

Private Attributes

clLocationsList FLocations
iIStreamFArchiveFile

Detailed Description

Implementation of a mount point for the uncompressed .RAR/.TAR files.


Member Typedef Documentation

typedef std::map<LString, sFileLocation> clArchiveMountPoint::clLocationsList [private]

Constructor & Destructor Documentation

clArchiveMountPoint::clArchiveMountPoint ( sEnvironment Env,
const LString &  PhysicalName 
)
clArchiveMountPoint::~clArchiveMountPoint ( ) [virtual]

Member Function Documentation

iRAWFile * clArchiveMountPoint::CreateRAWFile ( const LString &  VirtualName) const [virtual]

Create appropriate file reader for the specified VirtualName.

Implements iMountPoint.

bool clArchiveMountPoint::FileExistsAtThisPoint ( const LString &  VirtualName) const [virtual]

Check if virtual file VirtualName exists at this mount point.

Implements iMountPoint.

Lint64 clArchiveMountPoint::GetFileTime ( const LString &  VirtualName) const [virtual]

Retrieve file time.

Implements iMountPoint.

virtual bool clArchiveMountPoint::IsPhysical ( ) const [inline, virtual]

Mount point is usually a folder on OS native file system.

Reimplemented from iMountPoint.

void clArchiveMountPoint::LocateFiles_RAR ( iIStream In) [private]
void clArchiveMountPoint::LocateFiles_TAR ( iIStream In) [private]

Round to 512

Skip unknown blocks (0 and 72 are supported)

Normal file, skip bytes

LString clArchiveMountPoint::MapToThisPoint ( const LString &  VirtualName) const [virtual]

Convert local file VirtualName to global name.

Implements iMountPoint.


Member Data Documentation


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