OHyMoS.NET Class Library

OhInputFile.parseSpecLine メソッド 

引数で与えられた、"#&" で始まる行を解析して、対応して定義 された操作をこの OhInputFile オブジェクトに対して実行します。

public virtual void parseSpecLine(
   string aSpecLine
);

パラメータ

aSpecLine
a String value

読み込む特別な行

解説

どのような操作が実行されるかは、このメソッドの実装に依存し ます。OHyMoS.NET のプラグラミングユーザは、OhInputFile を継承 するサブクラスで、このメソッドを再定義して、そのサブクラス 独自の操作を定義することができます。

このクラスでは、データ補間型配列 を読み込む操作だけが定義されています。 The parseSpecLine method analyzes the line which starts with "#&" and executes the specified operation by the line. What operation will be done is specified in this method. You can redifine this method in subclasses derived from this OhInputFile class.

In this default implementation of the parseSpecLine() method, only the dctvec line as

 #& dctvec 2 1 0 
are analyzed. This exmaple line specifies the DataConnectionType vector Vector[2] = { DataConnectionType.STEP, DataConnectionType.BROKENLINE }

例外

例外の種類条件
OhErrorif an error occurs

参照

OhInputFile クラス | OhymosNet 名前空間