Difference between revisions of "TNTFSDiskEntry"
From Ultibo.org
(Created page with "Return to Unit NTFSClass __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible m...") |
(No difference)
|
Latest revision as of 05:38, 24 May 2018
Return to Unit NTFSClass
Description
To be documented
Class definitions
TNTFSDiskEntry = class(TDiskEntry)
Note: Represents a file entry. | |
constructor Create(ALocalLock:TMutexHandle; AOrigin:TNTFSDiskRecord; AAttribute:TNTFSDiskAttribute);
|
|
destructor Destroy; override;
|
|
private
| |
FPrevEntry:TNTFSDiskEntry;
|
|
FNextEntry:TNTFSDiskEntry;
|
|
FUsed:Int64;
|
Used size of the file |
FAllocated:Int64;
|
Allocated size of file |
FChangeTime:TFileTime;
|
MFT record change time |
FOrigin:TNTFSDiskRecord;
|
Entry origin record |
FAttribute:TNTFSDiskAttribute;
|
Entry naming attribute |
FAlternate:TNTFSDiskAttribute;
|
Alternate name attribute |
procedure SetOrigin(AOrigin:TNTFSDiskRecord);
|
|
public
| |
property LocalLock:TMutexHandle read FLocalLock write FLocalLock;
|
|
property PrevEntry:TNTFSDiskEntry read FPrevEntry write FPrevEntry;
|
|
property NextEntry:TNTFSDiskEntry read FNextEntry write FNextEntry;
|
|
property Used:Int64 read FUsed write FUsed;
|
|
property Allocated:Int64 read FAllocated write FAllocated;
|
|
property ChangeTime:TFileTime read FChangeTime write FChangeTime;
|
|
property Origin:TNTFSDiskRecord read FOrigin write SetOrigin;
|
|
property Attribute:TNTFSDiskAttribute read FAttribute write FAttribute;
|
|
property Alternate:TNTFSDiskAttribute read FAlternate write FAlternate;
|
|
function GetDot:TNTFSDiskEntry;
|
|
function GetDotDot:TNTFSDiskEntry;
|
|
function CreateDot:TNTFSDiskEntry;
|
|
function CreateDotDot:TNTFSDiskEntry;
|
|
function UpdateDot:Boolean;
|
|
function UpdateDotDot(AEntry:TNTFSDiskEntry):Boolean;
|
|
function RecordNumber:Int64;
|
|
function FileReference:Int64;
|
|
function UpdateEntry:Boolean;
|
|
function UpdateRecord:Boolean;
|
|
function FindFirstName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; override;
|
|
function FindPrevName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; override;
|
|
function FindNextName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; override;
|
|
function FindLastName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry; override;
|
Function declarations
constructor TNTFSDiskEntry.Create(ALocalLock:TMutexHandle; AOrigin:TNTFSDiskRecord; AAttribute:TNTFSDiskAttribute);
Description: To be documented
Note | None documented |
---|
destructor TNTFSDiskEntry.Destroy;
Description: To be documented
Note | None documented |
---|
procedure TNTFSDiskEntry.SetOrigin(AOrigin:TNTFSDiskRecord);
Description: To be documented
Note | None documented |
---|
function TNTFSDiskEntry.GetDot:TNTFSDiskEntry;
Description: Called on the Parent to find the Dot entry
Note | None documented |
---|
function TNTFSDiskEntry.GetDotDot:TNTFSDiskEntry;
Description: Called on the Parent to find the DotDot entry
Note | None documented |
---|
function TNTFSDiskEntry.CreateDot:TNTFSDiskEntry;
Description: Called on the Parent to create the Dot entry
Note | None documented |
---|
function TNTFSDiskEntry.CreateDotDot:TNTFSDiskEntry;
Description: Called on the Parent to create the DotDot entry
Note | None documented |
---|
function TNTFSDiskEntry.UpdateDot:Boolean;
Description: Called on the Dot entry to update from the Parent
Note | None documented |
---|
function TNTFSDiskEntry.UpdateDotDot(AEntry:TNTFSDiskEntry):Boolean;
Description: Called on the DotDot entry to update from the supplied Entry
Note | None documented |
---|
function TNTFSDiskEntry.RecordNumber:Int64;
Description: To be documented
Note | None documented |
---|
function TNTFSDiskEntry.FileReference:Int64;
Description: To be documented
Note | None documented |
---|
function TNTFSDiskEntry.UpdateEntry:Boolean;
Description: To be documented
Note | None documented |
---|
function TNTFSDiskEntry.UpdateRecord:Boolean;
Description: To be documented
Note | This cannot be used as the Data attribute must be updated by Size Attribute |
---|
function TNTFSDiskEntry.FindFirstName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | Caller must hold the handle writer lock |
---|
function TNTFSDiskEntry.FindPrevName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | Caller must hold the handle writer lock |
---|
function TNTFSDiskEntry.FindNextName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | Caller must hold the handle writer lock |
---|
function TNTFSDiskEntry.FindLastName(AHandle:TFindHandle; AReference:Boolean):TDiskEntry;
Description: To be documented
Note | Caller must hold the handle writer lock |
---|
Return to Unit Reference