Difference between revisions of "TDiskEntry"
From Ultibo.org
(Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...") |
(No difference)
|
Latest revision as of 04:30, 17 May 2018
Return to Unit Filesystem
Description
To be documented
Class definitions
TDiskEntry = class(TTreeObject)
Note: A disk entry such as a File, Folder, Stream or Label. | |
constructor Create(ALocalLock:TMutexHandle);
|
|
destructor Destroy; override;
|
|
private
| |
FName:String;
|
|
FHash:LongWord;
|
|
FAltName:String;
|
|
FAltHash:LongWord;
|
|
FSize:Int64;
|
|
FAttributes:LongWord;
|
|
FWriteTime:TFileTime;
|
|
FCreateTime:TFileTime;
|
|
FAccessTime:TFileTime;
|
|
FReparseTag:LongWord;
|
|
FEntriesLoaded:Boolean;
|
|
FReferenceCount:LongWord;
|
|
FRecent:TDiskEntry;
|
|
function GetName:String;
|
|
procedure SetName(const AName:String);
|
|
function GetAltName:String;
|
|
procedure SetAltName(const AAltName:String);
|
|
protected
| |
FLocalLock:TMutexHandle;
|
|
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
public
| |
property Name:String read GetName write SetName;
|
|
property Hash:LongWord read FHash;
|
|
property AltName:String read GetAltName write SetAltName;
|
|
property AltHash:LongWord read FAltHash;
|
|
property Size:Int64 read FSize write FSize;
|
|
property Attributes:LongWord read FAttributes write FAttributes;
|
|
property WriteTime:TFileTime read FWriteTime write FWriteTime;
|
|
property CreateTime:TFileTime read FCreateTime write FCreateTime;
|
|
property AccessTime:TFileTime read FAccessTime write FAccessTime;
|
|
property ReparseTag:LongWord read FReparseTag write FReparseTag;
|
|
property EntriesLoaded:Boolean read FEntriesLoaded write FEntriesLoaded;
|
|
property ReferenceCount:LongWord read FReferenceCount;
|
|
property Recent:TDiskEntry read FRecent write FRecent;
|
|
function AddReference:Boolean; virtual;
|
|
function RemoveReference:Boolean; virtual;
|
|
function FindFirstName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; virtual;
|
|
function FindPrevName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; virtual;
|
|
function FindNextName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; virtual;
|
|
function FindLastName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; virtual;
|
Function declarations
constructor TDiskEntry.Create(ALocalLock:TMutexHandle);
Description: To be documented
Note | None documented |
---|
destructor TDiskEntry.Destroy;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.GetName:String;
Description: To be documented
Note | None documented |
---|
procedure TDiskEntry.SetName(const AName:String);
Description: To be documented
Note | None documented |
---|
function TDiskEntry.GetAltName:String;
Description: To be documented
Note | None documented |
---|
procedure TDiskEntry.SetAltName(const AAltName:String);
Description: To be documented
Note | None documented |
---|
function TDiskEntry.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.AddReference:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.RemoveReference:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.FindFirstName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.FindPrevName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.FindNextName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | None documented |
---|
function TDiskEntry.FindLastName(AHandle:TFindHandle ;AReference:Boolean):TDiskEntry;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference