Parser Class

COMTRADE data file(s) parser.

Definition

Namespace: Gemstone.COMTRADE
Assembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.110 -- Release Build+d12d5483cb299f49fd67766889332522aa45d776
public class Parser : IDisposable
Inheritance
Object    Parser
Implements
IDisposable

Constructors

ParserInitializes a new instance of the Parser class

Properties

AdjustToUTC Gets or sets flag that determines if schemas that include a time code for a UTC offset should apply the adjustment so that timestamps are parsed as UTC.
BinaryByteCount Gets the byte count as parsed from a Combined File Format (.cff) file targeted with binary format.
FileName Gets or sets COMTRADE data filename. If there are more than one data files in a set, this should be set to first file name in the set, e.g., DATA123.D00.
InferTimeFromSampleRates Gets or sets flag that determines if time should be inferred from sample rates.
IsCombinedFileFormat Gets flag that determines if FileName is a Combined File Format (.cff) file.
PrimaryValues Gets values of current record with secondary analog channels scaled to primary values.
Schema Gets or sets associated COMTRADE schema for this Parser.
SecondaryValues Gets values of current record with primary analog channels scaled to secondary values.
TargetAngleUnit Gets or sets target angle unit for any analog channels that are angles.
Timestamp Gets timestamp of current record.
Values Gets values of current record.

Methods

CloseFiles Closes all COMTRADE data file streams.
Dispose Releases all the resources used by the Parser object.
Dispose(Boolean) Releases the unmanaged resources used by the Parser object and optionally releases the managed resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Releases the unmanaged resources before the Parser object is reclaimed by GC.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OpenFiles Opens all COMTRADE data file streams.
ReadNext Reads next COMTRADE record.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also