C# Class GSF.COMTRADE.Parser

COMTRADE data file(s) parser.
Inheritance: IDisposable
Mostra file Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
CloseFiles ( ) : void

Closes all COMTRADE data file streams.

Dispose ( ) : void

Releases all the resources used by the Parser object.

OpenFiles ( ) : void

Opens all COMTRADE data file streams.

Parser ( ) : System

Creates a new instance of the COMTRADE Parser.

ReadNext ( ) : bool

Reads next COMTRADE record.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the Parser object and optionally releases the managed resources.

Private Methods

Method Description
ReadNextAscii ( ) : bool
ReadNextBinary ( ) : bool

Method Details

CloseFiles() public method

Closes all COMTRADE data file streams.
public CloseFiles ( ) : void
return void

Dispose() public method

Releases all the resources used by the Parser object.
public Dispose ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by the Parser object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

OpenFiles() public method

Opens all COMTRADE data file streams.
public OpenFiles ( ) : void
return void

Parser() public method

Creates a new instance of the COMTRADE Parser.
public Parser ( ) : System
return System

ReadNext() public method

Reads next COMTRADE record.
public ReadNext ( ) : bool
return bool