12.07.2015 Views

VisiBroker Edition

VisiBroker Edition

VisiBroker Edition

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

创 建 与 初 始 化 请 求表 18.2 TypeCode kind 和 参 数Kindtk_value_boxtk_voidtk_wchartk_wstring参 数 清 单repository_id, value_name, typeModifier,concreteBase, members无无无C++: class _VISEXPORT CORBA_TypeCode {public:. . .// 适 用 于 所 有 CORBA_TypeCode 类 型CORBA::Boolean equal(CORBA_TypeCode_ptr tc) const;CORBA::Boolean equivalent(CORBA_TypeCode_ptr tc) const;CORBA_TypeCode_ptr get_compact_typecode() const;CORBA::TCKind kind() const // . . .// 适 用 于 tk_objref、 tk_struct、 tk_union、 tk_enum、 tk_alias 和 tk_exceptvirtual const char* id() const; // 掷 出 (BadKind);virtual const char *name() const; // 掷 出 (BadKind);// 适 用 于 tk_struct、 tk_union、 tk_enum 和 tk_exceptvirtual CORBA::ULong member_count() const; // 掷 出 ((BadKind));virtual const char *member_name(CORBA::ULong index) const;// 掷 出 ((BadKind, Bounds));// 适 用 于 tk_struct, tk_union and tk_exceptvirtual CORBA_TypeCode_ptr member_type(CORBA::ULong index) const;// 掷 出 ((BadKind, Bounds));// 适 用 于 tk_unionvirtual CORBA::Any_ptr member_label(CORBA::ULong index) const;// 掷 出 ((BadKind, Bounds));virtual CORBA_TypeCode_ptr discriminator_type() const;// 掷 出 ((BadKind));virtual CORBA::Long default_index() const; // 掷 出 ((BadKind));// 适 用 于 tk_string、 tk_sequence 和 tk_arrayvirtual CORBA::ULong length() const; // 掷 出 ((BadKind));// 适 用 于 tk_sequence、 tk_array 和 tk_aliasvirtual CORBA_TypeCode_ptr content_type() const; // 掷 出 ((BadKind));// 适 用 于 tk_fixedvirtual CORBA::UShort fixed_digits() const; // 掷 出 (BadKind)virtual CORBA::Short fixed_scale() const; // 掷 出 (BadKind)// 适 用 于 tk_valuevirtual CORBA::Visibility member_visibility(CORBA::ULong index) const;// 掷 出 (BadKind, Bounds);virtual CORBA::ValueModifier type_modifier() const; // 掷 出 (BadKind);virtual CORBA::TypeCode_ptr concrete_base_type() const; // 掷 出(BadKind);};TypeCode 类 :Java:public abstract class TypeCode extends java.lang.Objectimplements org.omg.CORBA.portable.IDLEntity {public abstract boolean equal(org.omg.CORBA.TypeCode tc);public boolean equivalent(org.omg.CORBA.TypeCode tc);18-14 <strong>VisiBroker</strong> 开 发 者 指 南

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!