OHyMoS.NET Class Library

OhInputFileFloat.parseSpecLine メソッド 

引数で与えられた、"#&" で始まる行を解析して、対応して定義 された操作を実行します。 The parseSpecLine method analyzes the line which starts with "#&" and executes the specified operation by the line.

public override void parseSpecLine(
   string aSpecLine
);

パラメータ

aSpecLine
a String value

読み取る特別な行

解説

このメソッドの定義は、スーパークラスで、与えられていますが、 このクラスでオーバーライドされています。(参照: (Ref "OhInputFile#partsSpecLine()") ).

(Ref "OhInputFile#parseSpecLine()") で定義されていたデータ 補間型配列を読み込む操作に加えて、データ値を定数倍する操作 が定義されています。"#& " の後に multiply と書いた行は、乗 数が書いてあって、ファイルから読取ったデータ値にこの乗数を 掛けたものがデータ値として採用されます。


This method is implemented in the super class (See: (Ref "OhInputFile#parseSpecLine()") ), but is overrided in this OhInputFileFloat class.

In this implementation of the parseSpecLine() method, the following multiplication specification

#& multiply 2.0
is alse analyzed. This exmaple line specifies the multiplication factor to 2.0, that is, the data which are read in fromt this file are multiplied with 2.0.

例外

例外の種類条件
OhErrorif an error occurs

参照

OhInputFileFloat クラス | OhymosNet 名前空間