namespace BizHawk.Emulation.DiscSystem
{
///
/// Abstract class to represent a file/directory node
///
public class ISONode
{
#region Public Properties
///
/// The record this node was created from.
///
public ISONodeRecord FirstRecord;
///
/// The sector offset of the file/directory data
///
public long Offset;
///
/// The byte length of the file/directory data.
///
public long Length;
#endregion
#region Construction
///
/// Constructor.
/// TODO: Make this constructor protected???
///
/// The ISONodeRecord to construct from.
public ISONode(ISONodeRecord record)
{
this.FirstRecord = record;
this.Offset = record.OffsetOfData;
this.Length = record.LengthOfData;
}
#endregion
}
}