| Linderdaum Engine: clArchiveMountPoint Class Reference | ![]() |
Implementation of a mount point for the uncompressed .RAR/.TAR files. More...
#include <MountPoint.h>
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 iRAWFile * | CreateRAWFile (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 |
| iIStream * | FArchiveFile |
Implementation of a mount point for the uncompressed .RAR/.TAR files.
typedef std::map<LString, sFileLocation> clArchiveMountPoint::clLocationsList [private] |
| clArchiveMountPoint::clArchiveMountPoint | ( | sEnvironment * | Env, |
| const LString & | PhysicalName | ||
| ) |
| clArchiveMountPoint::~clArchiveMountPoint | ( | ) | [virtual] |
| 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.
iIStream* clArchiveMountPoint::FArchiveFile [private] |
clLocationsList clArchiveMountPoint::FLocations [mutable, private] |