TCDFSDiskDescriptor

From Ultibo.org
Jump to: navigation, search

Return to Unit CDFS


Description


To be documented

Class definitions



TCDFSDiskDescriptor = class(TListObject)

Note: Represents a CDFS volume descriptor.
 
constructor Create(ALocalLock:TMutexHandle);  
destructor Destroy; override;  
private
FLocalLock:TMutexHandle;  
 
FUnicode:Boolean;  
 
FStartCluster:LongWord;  
 
FDescriptorType:Byte; Descriptor Type (00 = Boot, 01 = Primary etc)
FDescriptorVersion:Byte; Descriptor Version (1)
FStandardIdentifier:String; Standard Identifier ('CD001')
 
FSystemIdentifier:String; System Identifier a-characters (eg EL TORITO SPECIFICATION)
FVolumeIdentifier:String; Volume Identifier d-characters
FVolumeSpaceSize:LongWord; Volume Space Size
FVolumeSetSize:Word; Volume Set Size
FVolumeSequenceNumber:Word; Volume Sequence Number
FLogicalBlockSize:Word; Logical Block Size
FPathTableSize:LongWord; Path Table Size
FPrimaryPathTable:LongWord; Location of Occurrence of Type L Path Table
FAlternatePathTable:LongWord; Location of Optional Occurrence of Type L Path Table
FPrimaryPathTableM:LongWord; Location of Occurrence of Type M Path Table
FAlternatePathTableM:LongWord; Location of Optional Occurrence of Type M Path Table
FVolumeSetIdentifier:String; Volume Set Identifier d-characters
FPublisherIdentifier:String; Publisher Identifier a-characters
FPreparerIdentifier:String; Data Preparer Identifier a-characters
FApplicationIdentifier:String; Application Identifier a-characters
FCopyrightIdentifier:String; Copyright File Identifier d-characters, SEPARATOR 1, SEPARATOR 2
FAbstractIdentifier:String; Abstract File Identifier d-characters, SEPARATOR 1, SEPARATOR 2
FBibliographicIdentifier:String; Bibliographic File Identifier d-characters, SEPARATOR 1, SEPARATOR 2
FCreateTime:TFileTime; Volume Creation Date and Time
FModifyTime:TFileTime; Volume Modification Date and Time
FExpireTime:TFileTime; Volume Expiration Date and Time
FEffectiveTime:TFileTime; Volume Effective Date and Time
FFileStructureVersion:Byte; File Structure Version
FApplicationData:Pointer; Application Use not specified
 
FVolumeFlags:Byte; Volume Flags 8 bits
FEscapeSequences:Pointer; Escape Sequences 32 bytes
 
FBootIdentifier:String; 32 a-characters
FCatalogStart:LongWord; Absolute pointer to first sector of Boot Catalog
FCatalogCount:LongWord; Number of Sectors in Boot Catalog (Not Stored)
 
FPartitionIdentifier:String; Volume Partition Identifier d-characters
FPartitionStart:LongWord; Volume Partition Location (first Logical Block)
FPartitionSize:LongWord; Volume Partition Size (in Logical Blocks)
FSystemData:Pointer; System Use not specified
 
FRoot:TCDFSDiskEntry;  
FPrimary:TCDFSDiskTable;  
FPrimaryM:TCDFSDiskTable;  
FAlternate:TCDFSDiskTable;  
FAlternateM:TCDFSDiskTable;  
 
FInitial:TCDFSDiskCatalog;  
FValidation:TCDFSDiskHeader;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function GetStandardIdentifier:String;  
procedure SetStandardIdentifier(const AStandardIdentifier:String);  
 
function GetSystemIdentifier:String;  
procedure SetSystemIdentifier(const ASystemIdentifier:String);  
function GetVolumeIdentifier:String;  
procedure SetVolumeIdentifier(const AVolumeIdentifier:String);  
 
function GetVolumeSetIdentifier:String;  
procedure SetVolumeSetIdentifier(const AVolumeSetIdentifier:String);  
function GetPublisherIdentifier:String;  
procedure SetPublisherIdentifier(const APublisherIdentifier:String);  
function GetPreparerIdentifier:String;  
procedure SetPreparerIdentifier(const APreparerIdentifier:String);  
function GetApplicationIdentifier:String;  
procedure SetApplicationIdentifier(const AApplicationIdentifier:String);  
function GetCopyrightIdentifier:String;  
procedure SetCopyrightIdentifier(const ACopyrightIdentifier:String);  
function GetAbstractIdentifier:String;  
procedure SetAbstractIdentifier(const AAbstractIdentifier:String);  
function GetBibliographicIdentifier:String;  
procedure SetBibliographicIdentifier(const ABibliographicIdentifier:String);  
 
function GetBootIdentifier:String;  
procedure SetBootIdentifier(const ABootIdentifier:String);  
 
function GetPartitionIdentifier:String;  
procedure SetPartitionIdentifier(const APartitionIdentifier:String);  
public
property Unicode:Boolean read FUnicode write FUnicode;  
 
property StartCluster:LongWord read FStartCluster write FStartCluster;  
 
property DescriptorType:Byte read FDescriptorType write FDescriptorType;  
property DescriptorVersion:Byte read FDescriptorVersion write FDescriptorVersion;  
property StandardIdentifier:String read GetStandardIdentifier write SetStandardIdentifier;  
 
property SystemIdentifier:String read GetSystemIdentifier write SetSystemIdentifier;  
property VolumeIdentifier:String read GetVolumeIdentifier write SetVolumeIdentifier;  
property VolumeSpaceSize:LongWord read FVolumeSpaceSize write FVolumeSpaceSize;  
property VolumeSetSize:Word read FVolumeSetSize write FVolumeSetSize;  
property VolumeSequenceNumber:Word read FVolumeSequenceNumber write FVolumeSequenceNumber;  
property LogicalBlockSize:Word read FLogicalBlockSize write FLogicalBlockSize;  
property PathTableSize:LongWord read FPathTableSize write FPathTableSize;  
property PrimaryPathTable:LongWord read FPrimaryPathTable write FPrimaryPathTable;  
property AlternatePathTable:LongWord read FAlternatePathTable write FAlternatePathTable;  
property PrimaryPathTableM:LongWord read FPrimaryPathTableM write FPrimaryPathTableM;  
property AlternatePathTableM:LongWord read FAlternatePathTableM write FAlternatePathTableM;  
property VolumeSetIdentifier:String read GetVolumeSetIdentifier write SetVolumeSetIdentifier;  
property PublisherIdentifier:String read GetPublisherIdentifier write SetPublisherIdentifier;  
property PreparerIdentifier:String read GetPreparerIdentifier write SetPreparerIdentifier;  
property ApplicationIdentifier:String read GetApplicationIdentifier write SetApplicationIdentifier;  
property CopyrightIdentifier:String read GetCopyrightIdentifier write SetCopyrightIdentifier;  
property AbstractIdentifier:String read GetAbstractIdentifier write SetAbstractIdentifier;  
property BibliographicIdentifier:String read GetBibliographicIdentifier write SetBibliographicIdentifier;  
property CreateTime:TFileTime read FCreateTime write FCreateTime;  
property ModifyTime:TFileTime read FModifyTime write FModifyTime;  
property ExpireTime:TFileTime read FExpireTime write FExpireTime;  
property EffectiveTime:TFileTime read FEffectiveTime write FEffectiveTime;  
property FileStructureVersion:Byte read FFileStructureVersion write FFileStructureVersion;  
property ApplicationData:Pointer read FApplicationData write FApplicationData;  
 
property VolumeFlags:Byte read FVolumeFlags write FVolumeFlags;  
property EscapeSequences:Pointer read FEscapeSequences write FEscapeSequences;  
 
property BootIdentifier:String read GetBootIdentifier write SetBootIdentifier;  
property CatalogStart:LongWord read FCatalogStart write FCatalogStart;  
property CatalogCount:LongWord read FCatalogCount write FCatalogCount;  
 
property PartitionIdentifier:String read GetPartitionIdentifier write SetPartitionIdentifier;  
property PartitionStart:LongWord read FPartitionStart write FPartitionStart;  
property PartitionSize:LongWord read FPartitionSize write FPartitionSize;  
property SystemData:Pointer read FSystemData write FSystemData;  
 
property Root:TCDFSDiskEntry read FRoot write FRoot;  
property Primary:TCDFSDiskTable read FPrimary write FPrimary;  
property PrimaryM:TCDFSDiskTable read FPrimaryM write FPrimaryM;  
property Alternate:TCDFSDiskTable read FAlternate write FAlternate;  
property AlternateM:TCDFSDiskTable read FAlternateM write FAlternateM;  
 
property Initial:TCDFSDiskCatalog read FInitial write FInitial;  
property Validation:TCDFSDiskHeader read FValidation write FValidation;  


Function declarations



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


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


function TCDFSDiskDescriptor.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetStandardIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetStandardIdentifier(const AStandardIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetSystemIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetSystemIdentifier(const ASystemIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetVolumeIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetVolumeIdentifier(const AVolumeIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetVolumeSetIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetVolumeSetIdentifier(const AVolumeSetIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetPublisherIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetPublisherIdentifier(const APublisherIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetPreparerIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetPreparerIdentifier(const APreparerIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetApplicationIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetApplicationIdentifier(const AApplicationIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetCopyrightIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetCopyrightIdentifier(const ACopyrightIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetAbstractIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetAbstractIdentifier(const AAbstractIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetBibliographicIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetBibliographicIdentifier(const ABibliographicIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetBootIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetBootIdentifier(const ABootIdentifier:String);
Description: To be documented
Note None documented


function TCDFSDiskDescriptor.GetPartitionIdentifier:String;
Description: To be documented
Note None documented


procedure TCDFSDiskDescriptor.SetPartitionIdentifier(const APartitionIdentifier:String);
Description: To be documented
Note None documented


Return to Unit Reference