.. _sec_ref_cg_iRIC_Read_StringLen: cg_iRIC_Read_StringLen ====================== 文字列型の計算条件の長さを読み込む。 形式 (FORTRAN) ----------------- .. code-block:: fortran call cg_iRIC_Read_StringLen(fid, name, length, ier) 形式 (C/C++) ----------------- .. code-block:: c ier = cg_iRIC_Read_StringLen(fid, name, length) 形式 (Python) ----------------- .. code-block:: python length = cg_iRIC_Read_StringLen(fid, name) 引数と戻り値 ---------------------------- fid ~~~ .. list-table:: fid の説明 :header-rows: 1 * - 項目 - 値 * - 名前 - fid * - 入力/出力 - 入力 * - 説明 - ファイルID * - データ型 (FORTRAN) - integer * - データ型 (C/C++) - int * - データ型 (Python) - int name ~~~~ .. list-table:: name の説明 :header-rows: 1 * - 項目 - 値 * - 名前 - name * - 入力/出力 - 入力 * - 説明 - 変数の名前 * - データ型 (FORTRAN) - character(*) * - データ型 (C/C++) - const char* * - データ型 (Python) - str length ~~~~~~ .. list-table:: length の説明 :header-rows: 1 * - 項目 - 値 * - 名前 - length * - 入力/出力 - 出力 * - 説明 - 文字列の長さ * - データ型 (FORTRAN) - integer * - データ型 (C/C++) - int* * - データ型 (Python) - int ier ~~~ .. list-table:: ier の説明 :header-rows: 1 * - 項目 - 値 * - 名前 - ier * - 入力/出力 - 出力 * - 説明 - エラーコード。0なら成功、エラーが起きるとそれ以外。 * - データ型 (FORTRAN) - integer * - データ型 (C/C++) - int * - データ型 (Python) - (定義なし)