public class SubFileHeader : ImmutableObjectAutoBase<SubFileHeader>Public Class SubFileHeader
Inherits ImmutableObjectAutoBase(Of SubFileHeader)public ref class SubFileHeader : public ImmutableObjectAutoBase<SubFileHeader^>SnapDB.IO.FileStructure.SubFileHeader = function();
Type.createClass(
'SnapDB.IO.FileStructure.SubFileHeader',
SnapDB.Immutables.ImmutableObjectAutoBase`1);| SubFileHeader(BinaryReader, Boolean, Boolean) | Creates a SubFileHeader from the data stream. |
| SubFileHeader(UInt16, SubFileName, Boolean, Boolean) | Creates a new SubFileHeader. |
| DataBlockCount | Gets the number of blocks the data portion of this file contains. |
| DirectBlock | Gets the block address for the first direct block of this file. |
| DoubleIndirectBlock | Gets the block address for the double indirect block. |
| FileIdNumber | Gets the unique file identifier for this file. |
| FileName | Gets the SubFileName that represents what type of data is contained in this file. |
| IsReadOnly |
Gets or sets if this class is immutable and thus read-only. Once
setting to read-only, the class becomes immutable.
(Inherited from ImmutableObjectBaseT) |
| QuadrupleIndirectBlock | Gets the block address for the quadruple indirect block. |
| SingleIndirectBlock | Gets the block address for the single indirect block. |
| TotalBlockCount | Gets the total number of blocks that has been used by this file. This includes meta data blocks and previous version blocks. |
| TripleIndirectBlock | Gets the block address for the triple indirect block. |
| Clone |
Creates a clone of the object, either as a read-only instance or an editable one.
(Inherited from ImmutableObjectBaseT) |
| CloneEditable |
Creates a clone of this class that is editable.
A clone is always created, even if this class is already editable.
(Inherited from ImmutableObjectBaseT) |
| CloneMembersAsEditable |
Request that member fields be cloned and marked as editable.
(Inherited from ImmutableObjectAutoBaseT) |
| CloneReadonly |
Creates a read-only clone of the object.
(Inherited from ImmutableObjectBaseT) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Save | Writes the data contained in SubFileHeader to the data stream. |
| SetMembersAsReadOnly |
Requests that member fields be set to "read-only".
(Inherited from ImmutableObjectAutoBaseT) |
| TestForEditable |
Test if the class has been marked as read-only. Throws an exception if editing cannot occur.
(Inherited from ImmutableObjectBaseT) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |