32.7.1 <type>SeqSeqのメソッド
-
CORBA::ULong index) const;
このメソッドは,indexで識別されているシーケンス内の要素のリファレンスを返します。このリファレンスは,一次元シーケンスのリファレンスです。一次元シーケンスについては,「32.6 <type>Seq」を参照してください。
- 注
-
インデックスに対してはCORBA::ULong型を使用しなければなりません。int型を使用すると予想できない結果が起こります。
引数の意味を次に示します。
-
index
要素が返されるメンバのインデックス。インデックスは0から始まります。
このメソッドでは,次の例外が発生します。
- CORBA::BAD_PARAM
-
指定したインデックスが,0より小さいか,またはシーケンスのサイズを超えています。
-
シーケンス内の要素数を返します。
-
void length(
CORBA::ULong len);
シーケンスの最大長をlenに含まれる値に設定します。
引数の意味を次に示します。
-
len
シーケンスの新しい長さ
-