Class TMemDirectoryEntry

Unit

Declaration

type TMemDirectoryEntry = class(TMultiFileEntry)

Description

Entry in a directory structure in memory

Hierarchy

Overview

Fields

Protected FEmbeddedStreamPos: int64;
Protected FExtension: utf8String;
Protected FFlags: Word;
Protected FMemDirectory: TMemDirectory;
Protected FName: utf8String;
Protected FUncompressedSize: int64;

Methods

Public constructor Create(AContainer: TMultiFileContainer; AFilename: TEntryFilename; AUncompressedStream: TStream; AOwnStream: boolean); overload;
Public constructor CreateDirectory(AContainer: TMultiFileContainer; AFilename: TEntryFilename);
Public constructor CreateFromData(AContainer: TMultiFileContainer; AFilename: TEntryFilename; AStream: TStream; AOwnStream: boolean; AUncompressedSize: int64; AFlags: Word);
Public destructor Destroy; override;
Public function CopyTo(ADestination: TStream): int64; override;
Public function GetStream: TStream; override;
Protected function GetExtension: utf8string; override;
Protected function GetFileSize: int64; override;
Protected function GetName: utf8string; override;
Protected function InternalCopyTo(ADestination: TStream): int64;
Protected procedure SetName(AValue: utf8string); override;

Properties

Public property CompressedSize: int64 read GetCompressedSize;
Public property EmbeddedStreamPos: int64 read FEmbeddedStreamPos write FEmbeddedStreamPos;
Public property Flags: Word read FFlags;
Public property IsCompressed: boolean read GetIsCompressed write SetIsCompressed;
Public property IsDirectory: boolean read GetIsDirectory;
Public property MemDirectory: TMemDirectory read FMemDirectory;

Description

Fields

Protected FEmbeddedStreamPos: int64;

This item has no description.

Protected FExtension: utf8String;

This item has no description.

Protected FFlags: Word;

This item has no description.

Protected FMemDirectory: TMemDirectory;

This item has no description.

Protected FName: utf8String;

This item has no description.

Protected FUncompressedSize: int64;

This item has no description.

Methods

Public constructor Create(AContainer: TMultiFileContainer; AFilename: TEntryFilename; AUncompressedStream: TStream; AOwnStream: boolean); overload;

This item has no description.

Public constructor CreateDirectory(AContainer: TMultiFileContainer; AFilename: TEntryFilename);

This item has no description.

Public constructor CreateFromData(AContainer: TMultiFileContainer; AFilename: TEntryFilename; AStream: TStream; AOwnStream: boolean; AUncompressedSize: int64; AFlags: Word);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function CopyTo(ADestination: TStream): int64; override;

This item has no description.

Public function GetStream: TStream; override;

This item has no description.

Protected function GetExtension: utf8string; override;

This item has no description.

Protected function GetFileSize: int64; override;

This item has no description.

Protected function GetName: utf8string; override;

This item has no description.

Protected function InternalCopyTo(ADestination: TStream): int64;

This item has no description.

Protected procedure SetName(AValue: utf8string); override;

This item has no description.

Properties

Public property CompressedSize: int64 read GetCompressedSize;

This item has no description.

Public property EmbeddedStreamPos: int64 read FEmbeddedStreamPos write FEmbeddedStreamPos;

This item has no description.

Public property Flags: Word read FFlags;

This item has no description.

Public property IsCompressed: boolean read GetIsCompressed write SetIsCompressed;

This item has no description.

Public property IsDirectory: boolean read GetIsDirectory;

This item has no description.

Public property MemDirectory: TMemDirectory read FMemDirectory;

This item has no description.