Class TMemDirectory

Unit

Declaration

type TMemDirectory = class(TMultiFileContainer)

Description

Directory structure in memory

Hierarchy

Overview

Methods

Public constructor Create(AParentDirectory: TMemDirectory = nil);
Public function AddDirectory(AName: utf8string; AExtension: utf8string= ''; ACaseSensitive: boolean= true): integer;
Public class function CheckHeader(AStream: TStream): boolean; static;
Public function Equals(Obj: TObject): boolean; override;
Public function FindEntry(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectoryEntry;
Public function FindPath(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectory;
Public function Rename(AName: utf8string; AExtension: utf8string; ANewName: utf8string; ACaseSensitive: boolean= true): boolean;
Protected function CreateEntry(AName: utf8string; AExtension: utf8string; AContent: TStream): TMultiFileEntry; override;
Protected function SplitPath(APath: utf8string): TMemDirectoryPath;
Public procedure CopyTo(ADest: TMemDirectory; ARecursive: boolean);
Public procedure LoadFromEmbeddedStream(ARootStream, ADataStream: TStream; AStartPos: int64);
Public procedure LoadFromStream(AStream: TStream); override;
Public procedure SaveToEmbeddedStream(ARootDest, ADataDest: TStream; AStartPos: int64);
Public procedure SaveToStream(ADestination: TStream); override;

Properties

Public property Directory[AIndex: integer]: TMemDirectory read GetDirectory;
Public property IsDirectory[AIndex: integer]: boolean read GetIsDirectory;
Public property IsEntryCompressed[AIndex: integer]: boolean read GetEntryCompressed write SetEntryCompressed;
Public property ParentDirectory: TMemDirectory read FParentDirectory;

Description

Methods

Public constructor Create(AParentDirectory: TMemDirectory = nil);

This item has no description.

Public function AddDirectory(AName: utf8string; AExtension: utf8string= ''; ACaseSensitive: boolean= true): integer;

This item has no description.

Public class function CheckHeader(AStream: TStream): boolean; static;

This item has no description.

Public function Equals(Obj: TObject): boolean; override;

This item has no description.

Public function FindEntry(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectoryEntry;

This item has no description.

Public function FindPath(APath: utf8String; ACaseSensitive: boolean = true): TMemDirectory;

This item has no description.

Public function Rename(AName: utf8string; AExtension: utf8string; ANewName: utf8string; ACaseSensitive: boolean= true): boolean;

This item has no description.

Protected function CreateEntry(AName: utf8string; AExtension: utf8string; AContent: TStream): TMultiFileEntry; override;

This item has no description.

Protected function SplitPath(APath: utf8string): TMemDirectoryPath;

This item has no description.

Public procedure CopyTo(ADest: TMemDirectory; ARecursive: boolean);

This item has no description.

Public procedure LoadFromEmbeddedStream(ARootStream, ADataStream: TStream; AStartPos: int64);

This item has no description.

Public procedure LoadFromStream(AStream: TStream); override;

This item has no description.

Public procedure SaveToEmbeddedStream(ARootDest, ADataDest: TStream; AStartPos: int64);

This item has no description.

Public procedure SaveToStream(ADestination: TStream); override;

This item has no description.

Properties

Public property Directory[AIndex: integer]: TMemDirectory read GetDirectory;

This item has no description.

Public property IsDirectory[AIndex: integer]: boolean read GetIsDirectory;

This item has no description.

Public property IsEntryCompressed[AIndex: integer]: boolean read GetEntryCompressed write SetEntryCompressed;

This item has no description.

Public property ParentDirectory: TMemDirectory read FParentDirectory;

This item has no description.