TCDFSDiskCatalog

From Ultibo.org
Jump to: navigation, search

Return to Unit CDFS


Description


To be documented

Class definitions



TCDFSDiskCatalog = class(TDiskCatalog)

Note: Represents a CDFS boot catalog entry (Also the Initial/Default entry).
 
constructor Create(ALocalLock:TMutexHandle);  
destructor Destroy; override;  
private
FCatalogOffset:LongWord;  
FCatalogCluster:LongWord;  
FStartCluster:LongWord;  
FClusterCount:LongWord;  
 
FInitial:Boolean;  
FBootIndicator:Byte;  
FBootMedia:Byte;  
FLoadSegment:Word;  
FSystemType:Byte;  
FLoadCount:Word;  
 
FSelectionType:Byte;  
FSelectionData:Pointer;  
 
FEntry:TCDFSDiskEntry;  
FHeader:TCDFSDiskHeader;  
protected
function GetName:String; override;  
procedure SetName(const AName:String); override;  
function GetMediaType:TMediaType; override;  
procedure SetMediaType(AMediaType:TMediaType); override;  
function GetFloppyType:TFloppyType; override;  
procedure SetFloppyType(AFloppyType:TFloppyType); override;  
function GetAttributes:LongWord; override;  
procedure SetAttributes(AAttributes:LongWord); override;  
function GetSectorSize:Word; override;  
procedure SetSectorSize(ASectorSize:Word); override;  
function GetSectorCount:Int64; override;  
procedure SetSectorCount(const ASectorCount:Int64); override;  
 
function GetStartCluster:LongWord;  
procedure SetStartCluster(AStartCluster:LongWord);  
function GetClusterCount:LongWord;  
procedure SetClusterCount(AClusterCount:LongWord);  
public
property CatalogOffset:LongWord read FCatalogOffset write FCatalogOffset;  
property CatalogCluster:LongWord read FCatalogCluster write FCatalogCluster;  
property StartCluster:LongWord read GetStartCluster write SetStartCluster;  
property ClusterCount:LongWord read GetClusterCount write SetClusterCount;  
 
property Initial:Boolean read FInitial write FInitial;  
property BootIndicator:Byte read FBootIndicator write FBootIndicator;  
property BootMedia:Byte read FBootMedia write FBootMedia;  
property LoadSegment:Word read FLoadSegment write FLoadSegment;  
property SystemType:Byte read FSystemType write FSystemType;  
property LoadCount:Word read FLoadCount write FLoadCount;  
 
property SelectionType:Byte read FSelectionType write FSelectionType;  
property SelectionData:Pointer read FSelectionData write FSelectionData;  
 
property Entry:TCDFSDiskEntry read FEntry write FEntry;  
property Header:TCDFSDiskHeader read FHeader write FHeader;  
property Validation:TCDFSDiskHeader read FHeader write FHeader;  


Function declarations



constructor TCDFSDiskCatalog.Create(ALocalLock:TMutexHandle);
Description: To be documented
Note None documented


destructor TCDFSDiskCatalog.Destroy;
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetName:String;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetName(const AName:String);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetMediaType:TMediaType;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetMediaType(AMediaType:TMediaType);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetFloppyType:TFloppyType;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetFloppyType(AFloppyType:TFloppyType);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetAttributes:LongWord;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetAttributes(AAttributes:LongWord);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetSectorSize:Word;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetSectorSize(ASectorSize:Word);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetSectorCount:Int64;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetSectorCount(const ASectorCount:Int64);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetStartCluster:LongWord;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetStartCluster(AStartCluster:LongWord);
Description: To be documented
Note None documented


function TCDFSDiskCatalog.GetClusterCount:LongWord;
Description: To be documented
Note None documented


procedure TCDFSDiskCatalog.SetClusterCount(AClusterCount:LongWord);
Description: To be documented
Note None documented


Return to Unit Reference