Click or drag to resize

RecordHeader Class

The header of a PQDIF Record. The header is part of the physical structure of a PQDIF file, and contains information on how to parse the RecordBody as well as how to find the next record.
Inheritance Hierarchy
SystemObject
  GSF.PQDIF.PhysicalRecordHeader

Namespace: GSF.PQDIF.Physical
Assembly: GSF.PQDIF (in GSF.PQDIF.dll) Version: 2.4.205-beta
Syntax
public class RecordHeader
View Source

The RecordHeader type exposes the following members.

Constructors
 NameDescription
Public methodRecordHeader Creates a new instance of the RecordHeader class.
Public methodRecordHeader(Guid) Creates a new instance of the RecordHeader class.
Top
Properties
 NameDescription
Public propertyBodySize Gets or sets the size of the body, in bytes.
Public propertyChecksum Optional checksum (such as a 32-bit CRC) of the record body to verify decompression.
Public propertyHeaderSize Gets or sets the size of the header, in bytes.
Public propertyNextRecordPosition Gets or sets the position of the next record in the PQDIF file. This value is a byte offset relative to the beginning of the file.
Public propertyPosition Gets or sets the position of this record.
Public propertyRecordSignature Gets or sets the record's globally unique identifier.
Public propertyRecordTypeTag Gets or sets the tag which identifies the type of the record.
Public propertyReserved Reserved to fill structure to 64 bytes. Should be filled with 0.
Public propertyTypeOfRecord Gets or sets the type of the record which determines the logical structure of the record.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns a string representation of the record header.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also