24.32.2 Repositoryのメソッド
-
CORBA::ArrayDef_ptr create_array(
CORBA::ULong length,
CORBA::IDLType_ptr element_type);
このメソッドは,新規のArrayDefを生成し,そのオブジェクトを指すポインタを返します。
-
length
配列要素の最大数。この値には0より大きい数を設定します。
-
element_type
配列に格納されている要素のIDLType
-
-
CORBA::SequenceDef_ptr create_sequence(
CORBA::ULong bound,
CORBA::IDLType_ptr element_type);
このメソッドは,新規のSequenceDefオブジェクトを生成し,そのオブジェクトを指すポインタを返します。
-
bound
シーケンス内の項目の最大数。この値には0より大きい数を設定します。
-
element_type
シーケンスに格納されている項目のIDLTypeを指すポインタ
-
-
CORBA::StringDef_ptr create_string(
CORBA::Ulong bound);
このメソッドは,新規のStringDefオブジェクトを生成し,そのオブジェクトを指すポインタを返します。
-
bound
文字列の最大長。この値には0より大きい数を設定します。
-
-
CORBA::WstringDef_ptr create_wstring(
CORBA::Ulong bound);
このメソッドは,新規のWstringDefオブジェクトを生成し,そのオブジェクトを指すポインタを返します。
-
bound
文字列の最大長。この値には0より大きい数を設定します。
-
-
CORBA::PrimitiveDef_ptr get_primitive(
CORBA::PrimitiveKind kind);
このメソッドは,PrimitiveKindのリファレンスを返します。
-
kind
返されるリファレンス
-
-
CORBA::Contained_ptr lookup_id(
const char * search_id);
このメソッドは,指定された検索対象のIDと一致するオブジェクトをインタフェースリポジトリ内で検索します。一致するオブジェクトが見つからない場合,NULL値が返されます。
-
search_id
検索対象となる識別子
-
-
CORBA::FixedDef_ptr create_fixed (
CORBA::UShort digits, CORBA::Short scale);
このメソッドは,fix型のけた数とスケールを設定します。
-
digits
fix型のけた数
-
scale
fix型のスケール
-