5.1.1 Anyのメソッド
-
public org.omg.CORBA.portable.InputStream create_input_stream( )
このメソッドは,Anyの値を含む入力ストリームを生成します。
-
public org.omg.CORBA.portable.OutputStream
このメソッドは,空の出力ストリームを生成します。
-
Any anAny)
このメソッドは,Anyに含まれる値がパラメタanAnyに含まれる値と同じ場合にtrueを返します。そうでない場合,falseを返します。
-
anAny
このAnyの値と比較される値を持つAny
-
-
org.omg.CORBA.portable.InputStream input,
org.omg.CORBA.Typecode type)
このメソッドは,タイプコードで指定した入力ストリームからのAnyの値を読み出します。Anyの値だけが読み出されます。タイプコードも含めた完全なAnyの定義を呼び出すには,org.omg.CORBA.portable.InputStream.read_anyを使用してください。
-
input
指定された型の値が読み出されるGIOP入力ストリーム
-
type
入力ストリームから読み出される型。このパラメタの値については,「5.24 TypeCode」を参照してください。
-
-
public org.omg.CORBA.TypeCode type( )
このメソッドは,このAnyに含まれる型を表すTypeCodeを返します。
-
public void type(
org.omg.CORBA.TypeCode type)
このメソッドは,このAnyに含まれる型を表すTypeCodeを設定します。
-
type
このAnyオブジェクトに設定される型。このパラメタに指定できる値については,「5.24 TypeCode」を参照してください。
-
-
org.omg.CORBA.portable.OutputStream output)
このメソッドは,Anyの値を出力ストリームに書き込みます。Anyの値だけが書き込まれます。タイプコードも含めた完全なAnyの定義を書き込むには,org.omg.CORBA.portable.OutputStream.write_anyを使用してください。
-
output
指定されたAnyの値が書き込まれるGIOP出力ストリーム
-