Any.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __org_omg_CORBA_Any__
  3. #define __org_omg_CORBA_Any__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace math
  11. {
  12. class BigDecimal;
  13. }
  14. }
  15. namespace org
  16. {
  17. namespace omg
  18. {
  19. namespace CORBA
  20. {
  21. class Any;
  22. class Object;
  23. class Principal;
  24. class TypeCode;
  25. namespace portable
  26. {
  27. class InputStream;
  28. class OutputStream;
  29. class Streamable;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. class org::omg::CORBA::Any : public ::java::lang::Object
  36. {
  37. public:
  38. Any();
  39. virtual ::org::omg::CORBA::portable::InputStream * create_input_stream() = 0;
  40. virtual ::org::omg::CORBA::portable::OutputStream * create_output_stream() = 0;
  41. virtual jboolean equal(::org::omg::CORBA::Any *) = 0;
  42. virtual ::org::omg::CORBA::Object * extract_Object() = 0;
  43. virtual ::org::omg::CORBA::Principal * extract_Principal();
  44. virtual ::org::omg::CORBA::portable::Streamable * extract_Streamable();
  45. virtual ::org::omg::CORBA::TypeCode * extract_TypeCode() = 0;
  46. virtual ::java::io::Serializable * extract_Value() = 0;
  47. virtual ::org::omg::CORBA::Any * extract_any() = 0;
  48. virtual jboolean extract_boolean() = 0;
  49. virtual jchar extract_char() = 0;
  50. virtual jdouble extract_double() = 0;
  51. virtual ::java::math::BigDecimal * extract_fixed();
  52. virtual jfloat extract_float() = 0;
  53. virtual jint extract_long() = 0;
  54. virtual jlong extract_longlong() = 0;
  55. virtual jbyte extract_octet() = 0;
  56. virtual jshort extract_short() = 0;
  57. virtual ::java::lang::String * extract_string() = 0;
  58. virtual jint extract_ulong() = 0;
  59. virtual jlong extract_ulonglong() = 0;
  60. virtual jshort extract_ushort() = 0;
  61. virtual jchar extract_wchar() = 0;
  62. virtual ::java::lang::String * extract_wstring() = 0;
  63. virtual void insert_Object(::org::omg::CORBA::Object *, ::org::omg::CORBA::TypeCode *) = 0;
  64. virtual void insert_Object(::org::omg::CORBA::Object *) = 0;
  65. virtual void insert_Principal(::org::omg::CORBA::Principal *);
  66. virtual void insert_Streamable(::org::omg::CORBA::portable::Streamable *);
  67. virtual void insert_TypeCode(::org::omg::CORBA::TypeCode *) = 0;
  68. virtual void insert_Value(::java::io::Serializable *, ::org::omg::CORBA::TypeCode *) = 0;
  69. virtual void insert_Value(::java::io::Serializable *) = 0;
  70. virtual void insert_any(::org::omg::CORBA::Any *) = 0;
  71. virtual void insert_boolean(jboolean) = 0;
  72. virtual void insert_char(jchar) = 0;
  73. virtual void insert_double(jdouble) = 0;
  74. virtual void insert_fixed(::java::math::BigDecimal *, ::org::omg::CORBA::TypeCode *);
  75. virtual void insert_fixed(::java::math::BigDecimal *);
  76. virtual void insert_float(jfloat) = 0;
  77. virtual void insert_long(jint) = 0;
  78. virtual void insert_longlong(jlong) = 0;
  79. virtual void insert_octet(jbyte) = 0;
  80. virtual void insert_short(jshort) = 0;
  81. virtual void insert_string(::java::lang::String *) = 0;
  82. virtual void insert_ulong(jint) = 0;
  83. virtual void insert_ulonglong(jlong) = 0;
  84. virtual void insert_ushort(jshort) = 0;
  85. virtual void insert_wchar(jchar) = 0;
  86. virtual void insert_wstring(::java::lang::String *) = 0;
  87. virtual void read_value(::org::omg::CORBA::portable::InputStream *, ::org::omg::CORBA::TypeCode *) = 0;
  88. virtual void type(::org::omg::CORBA::TypeCode *) = 0;
  89. virtual ::org::omg::CORBA::TypeCode * type() = 0;
  90. virtual void write_value(::org::omg::CORBA::portable::OutputStream *) = 0;
  91. private:
  92. static const jlong serialVersionUID = 1217179597823814463LL;
  93. public:
  94. static ::java::lang::Class class$;
  95. };
  96. #endif // __org_omg_CORBA_Any__