Description | Hierarchy | Fields | Methods | Properties |
type TAdDirectory = class(TObject)
A virtual directory used in virtual file systems. Its only purpose is, more or less, to get a file in it or one of its subdirectories.
![]() |
constructor Create(const Name: String; const Parent: TAdDirectory; const Path: String = ''); reintroduce; |
![]() |
destructor Destroy; override; |
![]() |
procedure AddFile(AFile: TAdFile); |
![]() |
procedure RemoveFile(const FileName: String); |
![]() |
procedure AddDirectory(ADirectory: TAdDirectory); |
![]() |
procedure RemoveDirectory(const Name: String); |
![]() |
procedure AddFileLock; |
![]() |
procedure RemoveFileLock; |
![]() |
function CountFiles: Integer; |
![]() |
function CountDirectories: Integer; |
![]() |
property Name: String read FName; |
![]() |
property Path: String read FPath; |
![]() |
property PackagePath: String read FPackagePath; |
![]() |
property Parent: TAdDirectory read FParent; |
![]() |
property FileLocks: Integer read FFileLocks; |
![]() |
property Files[const Index: Integer]: TAdFile
read GetFile; |
![]() |
property Directories[const Index: Integer]: TAdDirectory
read GetDirectory; |
![]() |
property FilesByName[const FileName: String]: TAdFile
read GetFileByName; |
![]() |
property DirectoriesByName[const Name: String]: TAdDirectory
read GetDirectoryByName; |
![]() |
constructor Create(const Name: String; const Parent: TAdDirectory; const Path: String = ''); reintroduce; |
![]() |
destructor Destroy; override; |
![]() |
procedure AddFile(AFile: TAdFile); |
![]() |
procedure RemoveFile(const FileName: String); |
![]() |
procedure AddDirectory(ADirectory: TAdDirectory); |
![]() |
procedure RemoveDirectory(const Name: String); |
![]() |
procedure AddFileLock; |
![]() |
procedure RemoveFileLock; |
![]() |
function CountFiles: Integer; |
![]() |
function CountDirectories: Integer; |
![]() |
property Name: String read FName; |
![]() |
property Path: String read FPath; |
![]() |
property PackagePath: String read FPackagePath; |
![]() |
property Parent: TAdDirectory read FParent; |
![]() |
property FileLocks: Integer read FFileLocks; |
![]() |
property Files[const Index: Integer]: TAdFile
read GetFile; |
![]() |
property Directories[const Index: Integer]: TAdDirectory
read GetDirectory; |
![]() |
property FilesByName[const FileName: String]: TAdFile
read GetFileByName; |
![]() |
property DirectoriesByName[const Name: String]: TAdDirectory
read GetDirectoryByName; |