JavaTM 2 Platform
Standard Ed. 5.0

org.omg.DynamicAny
ÀÎÅÍÆäÀ̽º DynValueBoxOperations

¸ðµç ½´ÆÛ ÀÎÅÍÆäÀ̽º:
DynAnyOperations, DynValueCommonOperations
¾Ë·ÁÁø ¼­ºê ÀÎÅÍÆäÀ̽º ¸ñ·Ï :
DynValueBox

public interface DynValueBoxOperations
extends DynValueCommonOperations

DynValueBox °´Ã¼¿¡ÀÇÇØ IDL boxed Ä¡ ÇüÀÇ Á¶ÀÛÀÌ Áö¿ø µË´Ï´Ù. DynValueBox ÀÎÅÍÆäÀ̽º´Â null¿Í null ÀÌ¿ÜÀÇ ¾çÂÊ ¸ðµÎÀÇ Ä¡ ÇüÀ» ³ªÅ¸³¾ ¼ö°¡ ÀÖ½À´Ï´Ù. null ÀÌ¿ÜÀÇ Ä¡ ÇüÀ» ³ªÅ¸³»´Â DynValueBoxÀÎ °æ¿ì, DynValueBox¿¡´Â boxed ÇüÀÇ ÄÄÆÛ³ÍÆ®°¡ 1°³ Æ÷ÇԵ˴ϴÙ. null Ä¡ ÇüÀ» ³ªÅ¸³»´Â DynValueBox¿¡´Â ÄÄÆÛ³ÍÆ®´Â ¾ø°í, ÇöÀç À§Ä¡´Â -1 ÀÌ µË´Ï´Ù.


¸Þ¼­µå °³¿ä
 DynAny get_boxed_value_as_dyn_any ()
          boxed Ä¡¸¦ DynAny ·Î ¸®ÅÏÇÕ´Ï´Ù.
 Any get_boxed_value ()
          boxed Ä¡¸¦ Any ·Î ¸®ÅÏÇÕ´Ï´Ù.
 void set_boxed_value_as_dyn_any (DynAny  boxed)
          boxed ÇüÀ» ÆĶó¹ÌÅÍ¿¡ Æ÷ÇԵǴ °ªÀ¸·Î ¿Å°Ü³õ½À´Ï´Ù.
 void set_boxed_value (Any  boxed)
          boxed ÇüÀ» ÁöÁ¤ÇÑ °ªÀ¸·Î ¿Å°Ü³õ½À´Ï´Ù.
 
ÀÎÅÍÆäÀ̽º org.omg.DynamicAny. DynValueCommonOperations ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
is_null, set_to_null, set_to_value
 
ÀÎÅÍÆäÀ̽º org.omg.DynamicAny. DynAnyOperations ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
assign, component_count, copy, current_component, destroy, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
 

¸Þ¼­µåÀÇ »ó¼¼

get_boxed_value

Any  get_boxed_value()
                    throws InvalidValue 
boxed Ä¡¸¦ Any ·Î ¸®ÅÏÇÕ´Ï´Ù.

¿¹¿Ü:
InvalidValue - ÀÌ °´Ã¼°¡ null Ä¡ÀÇ boxed ÇüÀ» ³ªÅ¸³»´Â °æ¿ì

set_boxed_value

void set_boxed_value(Any  boxed)
                     throws TypeMismatch 
boxed ÇüÀ» ÁöÁ¤ÇÑ °ªÀ¸·Î ¿Å°Ü³õ½À´Ï´Ù. DynBoxedValue°¡ null Ä¡ ÇüÀ» ³ªÅ¸³»´Â °æ¿ì´Â null ÀÌ¿ÜÀÇ °ª¿¡ º¯È¯µË´Ï´Ù.

¿¹¿Ü:
TypeMismatch - ÀÌ °´Ã¼°¡ null ÀÌ¿ÜÀÇ boxed ÇüÀ» ³ªÅ¸³», ÆĶó¹ÌÅÍÀÇ ÇüÅ°¡ ÇöÀçÀÇ boxed Çü¿¡ ÀÏÄ¡ÇÏÁö ¾Ê´Â °æ¿ì

get_boxed_value_as_dyn_any

DynAny  get_boxed_value_as_dyn_any()
                                  throws InvalidValue 
boxed Ä¡¸¦ DynAny ·Î ¸®ÅÏÇÕ´Ï´Ù.

¿¹¿Ü:
InvalidValue - ÀÌ °´Ã¼°¡ null Ä¡ÀÇ boxed ÇüÀ» ³ªÅ¸³»´Â °æ¿ì

set_boxed_value_as_dyn_any

void set_boxed_value_as_dyn_any(DynAny  boxed)
                                throws TypeMismatch 
boxed ÇüÀ» ÆĶó¹ÌÅÍ¿¡ Æ÷ÇԵǴ °ªÀ¸·Î ¿Å°Ü³õ½À´Ï´Ù. DynBoxedValue°¡ null Ä¡ ÇüÀ» ³ªÅ¸³»´Â °æ¿ì´Â null ÀÌ¿ÜÀÇ °ª¿¡ º¯È¯µË´Ï´Ù.

¿¹¿Ü:
TypeMismatch - ÀÌ °´Ã¼°¡ null ÀÌ¿ÜÀÇ boxed ÇüÀ» ³ªÅ¸³», ÆĶó¹ÌÅÍÀÇ ÇüÅ°¡ ÇöÀçÀÇ boxed Çü¿¡ ÀÏÄ¡ÇÏÁö ¾Ê´Â °æ¿ì

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.