summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicAny/DynamicAnyC.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicAny/DynamicAnyC.h')
-rw-r--r--TAO/tao/DynamicAny/DynamicAnyC.h1106
1 files changed, 498 insertions, 608 deletions
diff --git a/TAO/tao/DynamicAny/DynamicAnyC.h b/TAO/tao/DynamicAny/DynamicAnyC.h
index 53854d60d8e..22ddf3456b7 100644
--- a/TAO/tao/DynamicAny/DynamicAnyC.h
+++ b/TAO/tao/DynamicAny/DynamicAnyC.h
@@ -66,7 +66,7 @@ TAO_NAMESPACE DynamicAny
class DynAny;
typedef DynAny *DynAny_ptr;
-
+
#endif /* end #if !defined */
@@ -77,31 +77,31 @@ TAO_NAMESPACE DynamicAny
{
public:
DynAny_var (void); // default constructor
- DynAny_var (DynAny_ptr p) : ptr_ (p) {}
+ DynAny_var (DynAny_ptr p) : ptr_ (p) {}
DynAny_var (const DynAny_var &); // copy constructor
~DynAny_var (void); // destructor
-
+
DynAny_var &operator= (DynAny_ptr);
DynAny_var &operator= (const DynAny_var &);
DynAny_ptr operator-> (void) const;
-
+
operator const DynAny_ptr &() const;
operator DynAny_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynAny_ptr in (void) const;
DynAny_ptr &inout (void);
DynAny_ptr &out (void);
DynAny_ptr _retn (void);
DynAny_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynAny_ptr tao_duplicate (DynAny_ptr);
static void tao_release (DynAny_ptr);
static DynAny_ptr tao_nil (void);
- static DynAny_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynAny_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynAny_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -128,7 +128,7 @@ TAO_NAMESPACE DynamicAny
operator DynAny_ptr &();
DynAny_ptr &ptr (void);
DynAny_ptr operator-> (void);
-
+
private:
DynAny_ptr &ptr_;
};
@@ -153,15 +153,13 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
// the static operations
static DynAny_ptr _duplicate (DynAny_ptr obj);
static DynAny_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynAny_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynAny_ptr _nil (void)
{
return (DynAny_ptr)0;
@@ -177,27 +175,27 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
InvalidValue (void);
// Default constructor.
-
+
InvalidValue (const InvalidValue &);
// Copy constructor.
-
+
~InvalidValue (void);
// Destructor.
-
+
InvalidValue &operator= (const InvalidValue &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
- TAO_OutputCDR &,
- CORBA::Environment &
+ TAO_OutputCDR &
+ TAO_ENV_ARG_DECL_NOT_USED
) const;
-
+
virtual void _tao_decode (
- TAO_InputCDR &,
- CORBA::Environment &
+ TAO_InputCDR &
+ TAO_ENV_ARG_DECL_NOT_USED
);
-
+
static InvalidValue *_downcast (CORBA::Exception *);
@@ -218,27 +216,27 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
TypeMismatch (void);
// Default constructor.
-
+
TypeMismatch (const TypeMismatch &);
// Copy constructor.
-
+
~TypeMismatch (void);
// Destructor.
-
+
TypeMismatch &operator= (const TypeMismatch &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
- TAO_OutputCDR &,
- CORBA::Environment &
+ TAO_OutputCDR &
+ TAO_ENV_ARG_DECL_NOT_USED
) const;
-
+
virtual void _tao_decode (
- TAO_InputCDR &,
- CORBA::Environment &
+ TAO_InputCDR &
+ TAO_ENV_ARG_DECL_NOT_USED
);
-
+
static TypeMismatch *_downcast (CORBA::Exception *);
@@ -250,28 +248,25 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
#endif /* end #if !defined */
virtual CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void assign (
- DynamicAny::DynAny_ptr dyn_any,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ DynamicAny::DynAny_ptr dyn_any
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch
)) = 0;
virtual void from_any (
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const CORBA::Any & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -279,43 +274,38 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Any * to_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual CORBA::Boolean equal (
- DynamicAny::DynAny_ptr dyn_any,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ DynamicAny::DynAny_ptr dyn_any
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual DynamicAny::DynAny_ptr copy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void insert_boolean (
- CORBA::Boolean value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Boolean value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -323,10 +313,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_octet (
- CORBA::Octet value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Octet value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -334,10 +323,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_char (
- CORBA::Char value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Char value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -345,10 +333,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_short (
- CORBA::Short value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Short value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -356,10 +343,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_ushort (
- CORBA::UShort value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::UShort value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -367,10 +353,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_long (
- CORBA::Long value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Long value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -378,10 +363,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_ulong (
- CORBA::ULong value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::ULong value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -389,10 +373,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_float (
- CORBA::Float value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Float value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -400,10 +383,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_double (
- CORBA::Double value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Double value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -411,10 +393,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_string (
- const char * value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const char * value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -422,10 +403,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_reference (
- CORBA::Object_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Object_ptr value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -433,10 +413,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_typecode (
- CORBA::TypeCode_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::TypeCode_ptr value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -444,10 +423,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_longlong (
- CORBA::LongLong value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::LongLong value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -455,10 +433,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_ulonglong (
- CORBA::ULongLong value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::ULongLong value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -466,10 +443,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_longdouble (
- CORBA::LongDouble value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::LongDouble value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -477,10 +453,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_wchar (
- CORBA::WChar value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::WChar value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -488,10 +463,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_wstring (
- const CORBA::WChar * value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const CORBA::WChar * value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -499,10 +473,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_any (
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const CORBA::Any & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -510,10 +483,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_dyn_any (
- DynamicAny::DynAny_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ DynamicAny::DynAny_ptr value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -521,10 +493,9 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual void insert_val (
- CORBA::ValueBase_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::ValueBase_ptr value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -532,9 +503,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Boolean get_boolean (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -542,9 +512,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Octet get_octet (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -552,9 +521,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Char get_char (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -562,9 +530,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Short get_short (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -572,9 +539,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::UShort get_ushort (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -582,9 +548,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Long get_long (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -592,9 +557,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::ULong get_ulong (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -602,9 +566,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Float get_float (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -612,9 +575,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Double get_double (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -622,9 +584,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual char * get_string (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -632,9 +593,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Object_ptr get_reference (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -642,9 +602,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::TypeCode_ptr get_typecode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -652,9 +611,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::LongLong get_longlong (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -662,9 +620,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::ULongLong get_ulonglong (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -672,9 +629,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::LongDouble get_longdouble (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -682,9 +638,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::WChar get_wchar (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -692,9 +647,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::WChar * get_wstring (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -702,9 +656,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Any * get_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -712,9 +665,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual DynamicAny::DynAny_ptr get_dyn_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -722,9 +674,8 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::ValueBase_ptr get_val (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -732,54 +683,49 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
)) = 0;
virtual CORBA::Boolean seek (
- CORBA::Long index,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::Long index
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void rewind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual CORBA::Boolean next (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual CORBA::ULong component_count (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual DynamicAny::DynAny_ptr current_component (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynAny ();
-
+
virtual ~DynAny (void);
private:
DynAny (const DynAny &);
@@ -795,7 +741,7 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
class DynFixed;
typedef DynFixed *DynFixed_ptr;
-
+
#endif /* end #if !defined */
@@ -806,31 +752,31 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
{
public:
DynFixed_var (void); // default constructor
- DynFixed_var (DynFixed_ptr p) : ptr_ (p) {}
+ DynFixed_var (DynFixed_ptr p) : ptr_ (p) {}
DynFixed_var (const DynFixed_var &); // copy constructor
~DynFixed_var (void); // destructor
-
+
DynFixed_var &operator= (DynFixed_ptr);
DynFixed_var &operator= (const DynFixed_var &);
DynFixed_ptr operator-> (void) const;
-
+
operator const DynFixed_ptr &() const;
operator DynFixed_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynFixed_ptr in (void) const;
DynFixed_ptr &inout (void);
DynFixed_ptr &out (void);
DynFixed_ptr _retn (void);
DynFixed_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynFixed_ptr tao_duplicate (DynFixed_ptr);
static void tao_release (DynFixed_ptr);
static DynFixed_ptr tao_nil (void);
- static DynFixed_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynFixed_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynFixed_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -857,7 +803,7 @@ class TAO_DynamicAny_Export DynAny : public virtual CORBA_Object
operator DynFixed_ptr &();
DynFixed_ptr &ptr (void);
DynFixed_ptr operator-> (void);
-
+
private:
DynFixed_ptr &ptr_;
};
@@ -882,33 +828,29 @@ class TAO_DynamicAny_Export DynFixed: public virtual DynAny
// the static operations
static DynFixed_ptr _duplicate (DynFixed_ptr obj);
static DynFixed_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynFixed_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynFixed_ptr _nil (void)
{
return (DynFixed_ptr)0;
}
virtual char * get_value (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual CORBA::Boolean set_value (
- const char * val,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const char * val
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -916,12 +858,12 @@ class TAO_DynamicAny_Export DynFixed: public virtual DynAny
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynFixed ();
-
+
virtual ~DynFixed (void);
private:
DynFixed (const DynFixed &);
@@ -937,7 +879,7 @@ class TAO_DynamicAny_Export DynFixed: public virtual DynAny
class DynEnum;
typedef DynEnum *DynEnum_ptr;
-
+
#endif /* end #if !defined */
@@ -948,31 +890,31 @@ class TAO_DynamicAny_Export DynFixed: public virtual DynAny
{
public:
DynEnum_var (void); // default constructor
- DynEnum_var (DynEnum_ptr p) : ptr_ (p) {}
+ DynEnum_var (DynEnum_ptr p) : ptr_ (p) {}
DynEnum_var (const DynEnum_var &); // copy constructor
~DynEnum_var (void); // destructor
-
+
DynEnum_var &operator= (DynEnum_ptr);
DynEnum_var &operator= (const DynEnum_var &);
DynEnum_ptr operator-> (void) const;
-
+
operator const DynEnum_ptr &() const;
operator DynEnum_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynEnum_ptr in (void) const;
DynEnum_ptr &inout (void);
DynEnum_ptr &out (void);
DynEnum_ptr _retn (void);
DynEnum_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynEnum_ptr tao_duplicate (DynEnum_ptr);
static void tao_release (DynEnum_ptr);
static DynEnum_ptr tao_nil (void);
- static DynEnum_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynEnum_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynEnum_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -999,7 +941,7 @@ class TAO_DynamicAny_Export DynFixed: public virtual DynAny
operator DynEnum_ptr &();
DynEnum_ptr &ptr (void);
DynEnum_ptr operator-> (void);
-
+
private:
DynEnum_ptr &ptr_;
};
@@ -1024,63 +966,57 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
// the static operations
static DynEnum_ptr _duplicate (DynEnum_ptr obj);
static DynEnum_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynEnum_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynEnum_ptr _nil (void)
{
return (DynEnum_ptr)0;
}
virtual char * get_as_string (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_as_string (
- const char * value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const char * value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::InvalidValue
)) = 0;
virtual CORBA::ULong get_as_ulong (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_as_ulong (
- CORBA::ULong value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::ULong value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::InvalidValue
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynEnum ();
-
+
virtual ~DynEnum (void);
private:
DynEnum (const DynEnum &);
@@ -1097,7 +1033,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
struct NameValuePair;
class NameValuePair_var;
-
+
struct TAO_DynamicAny_Export NameValuePair
{
@@ -1118,18 +1054,18 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
NameValuePair_var (NameValuePair *);
NameValuePair_var (const NameValuePair_var &); // copy constructor
~NameValuePair_var (void); // destructor
-
+
NameValuePair_var &operator= (NameValuePair *);
NameValuePair_var &operator= (const NameValuePair_var &);
NameValuePair *operator-> (void);
const NameValuePair *operator-> (void) const;
-
+
operator const NameValuePair &() const;
operator NameValuePair &();
operator NameValuePair &() const;
operator NameValuePair *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const NameValuePair &in (void) const;
NameValuePair &inout (void);
NameValuePair *&out (void);
@@ -1151,7 +1087,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
operator NameValuePair *&();
NameValuePair *&ptr (void);
NameValuePair *operator-> (void);
-
+
private:
NameValuePair *&ptr_;
// assignment from T_var not allowed
@@ -1162,7 +1098,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_DYNAMICANY_NAMEVALUEPAIRSEQ_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_DYNAMICANY_NAMEVALUEPAIRSEQ_CH_
@@ -1170,9 +1106,9 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_DynamicAny_NameValuePairSeq (void); // Default constructor.
- _TAO_Unbounded_Sequence_DynamicAny_NameValuePairSeq (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_DynamicAny_NameValuePairSeq (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_DynamicAny_NameValuePairSeq (CORBA::ULong maximum,
CORBA::ULong length,
NameValuePair *data,
@@ -1189,7 +1125,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
NameValuePair *get_buffer (CORBA::Boolean orphan = 0);
const NameValuePair *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -1201,32 +1137,32 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_DYNAMICANY_NAMEVALUEPAIRSEQ_CH_)
#define _DYNAMICANY_NAMEVALUEPAIRSEQ_CH_
class NameValuePairSeq;
class NameValuePairSeq_var;
-
+
// *************************************************************
// NameValuePairSeq
// *************************************************************
-
- class TAO_DynamicAny_Export NameValuePairSeq : public
+
+ class TAO_DynamicAny_Export NameValuePairSeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_DynamicAny_NameValuePairSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<NameValuePair>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
NameValuePairSeq (void); // default ctor
NameValuePairSeq (CORBA::ULong max); // uses max size
NameValuePairSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- NameValuePair *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ NameValuePair *buffer,
CORBA::Boolean release = 0
);
NameValuePairSeq (const NameValuePairSeq &); // copy ctor
@@ -1238,7 +1174,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -1256,21 +1192,21 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
NameValuePairSeq_var (NameValuePairSeq *);
NameValuePairSeq_var (const NameValuePairSeq_var &); // copy constructor
~NameValuePairSeq_var (void); // destructor
-
+
NameValuePairSeq_var &operator= (NameValuePairSeq *);
NameValuePairSeq_var &operator= (const NameValuePairSeq_var &);
NameValuePairSeq *operator-> (void);
const NameValuePairSeq *operator-> (void) const;
-
+
operator const NameValuePairSeq &() const;
operator NameValuePairSeq &();
operator NameValuePairSeq &() const;
operator NameValuePairSeq *&(); // variable-size base types only
-
+
NameValuePair & operator[] (CORBA::ULong index);
const NameValuePair & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const NameValuePairSeq &in (void) const;
NameValuePairSeq &inout (void);
NameValuePairSeq *&out (void);
@@ -1300,7 +1236,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
NameValuePairSeq *&ptr (void);
NameValuePairSeq *operator-> (void);
NameValuePair & operator[] (CORBA::ULong index);
-
+
private:
NameValuePairSeq *&ptr_;
// assignment from T_var not allowed
@@ -1314,7 +1250,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
struct NameDynAnyPair;
class NameDynAnyPair_var;
-
+
struct TAO_DynamicAny_Export NameDynAnyPair
{
@@ -1333,18 +1269,18 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
NameDynAnyPair_var (NameDynAnyPair *);
NameDynAnyPair_var (const NameDynAnyPair_var &); // copy constructor
~NameDynAnyPair_var (void); // destructor
-
+
NameDynAnyPair_var &operator= (NameDynAnyPair *);
NameDynAnyPair_var &operator= (const NameDynAnyPair_var &);
NameDynAnyPair *operator-> (void);
const NameDynAnyPair *operator-> (void) const;
-
+
operator const NameDynAnyPair &() const;
operator NameDynAnyPair &();
operator NameDynAnyPair &() const;
operator NameDynAnyPair *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const NameDynAnyPair &in (void) const;
NameDynAnyPair &inout (void);
NameDynAnyPair *&out (void);
@@ -1366,7 +1302,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
operator NameDynAnyPair *&();
NameDynAnyPair *&ptr (void);
NameDynAnyPair *operator-> (void);
-
+
private:
NameDynAnyPair *&ptr_;
// assignment from T_var not allowed
@@ -1375,7 +1311,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_DYNAMICANY_NAMEDYNANYPAIRSEQ_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_DYNAMICANY_NAMEDYNANYPAIRSEQ_CH_
@@ -1383,9 +1319,9 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_DynamicAny_NameDynAnyPairSeq (void); // Default constructor.
- _TAO_Unbounded_Sequence_DynamicAny_NameDynAnyPairSeq (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_DynamicAny_NameDynAnyPairSeq (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_DynamicAny_NameDynAnyPairSeq (CORBA::ULong maximum,
CORBA::ULong length,
NameDynAnyPair *data,
@@ -1402,7 +1338,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
NameDynAnyPair *get_buffer (CORBA::Boolean orphan = 0);
const NameDynAnyPair *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -1414,32 +1350,32 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_DYNAMICANY_NAMEDYNANYPAIRSEQ_CH_)
#define _DYNAMICANY_NAMEDYNANYPAIRSEQ_CH_
class NameDynAnyPairSeq;
class NameDynAnyPairSeq_var;
-
+
// *************************************************************
// NameDynAnyPairSeq
// *************************************************************
-
- class TAO_DynamicAny_Export NameDynAnyPairSeq : public
+
+ class TAO_DynamicAny_Export NameDynAnyPairSeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_DynamicAny_NameDynAnyPairSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<NameDynAnyPair>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
NameDynAnyPairSeq (void); // default ctor
NameDynAnyPairSeq (CORBA::ULong max); // uses max size
NameDynAnyPairSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- NameDynAnyPair *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ NameDynAnyPair *buffer,
CORBA::Boolean release = 0
);
NameDynAnyPairSeq (const NameDynAnyPairSeq &); // copy ctor
@@ -1451,7 +1387,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -1469,21 +1405,21 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
NameDynAnyPairSeq_var (NameDynAnyPairSeq *);
NameDynAnyPairSeq_var (const NameDynAnyPairSeq_var &); // copy constructor
~NameDynAnyPairSeq_var (void); // destructor
-
+
NameDynAnyPairSeq_var &operator= (NameDynAnyPairSeq *);
NameDynAnyPairSeq_var &operator= (const NameDynAnyPairSeq_var &);
NameDynAnyPairSeq *operator-> (void);
const NameDynAnyPairSeq *operator-> (void) const;
-
+
operator const NameDynAnyPairSeq &() const;
operator NameDynAnyPairSeq &();
operator NameDynAnyPairSeq &() const;
operator NameDynAnyPairSeq *&(); // variable-size base types only
-
+
NameDynAnyPair & operator[] (CORBA::ULong index);
const NameDynAnyPair & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const NameDynAnyPairSeq &in (void) const;
NameDynAnyPairSeq &inout (void);
NameDynAnyPairSeq *&out (void);
@@ -1513,7 +1449,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
NameDynAnyPairSeq *&ptr (void);
NameDynAnyPairSeq *operator-> (void);
NameDynAnyPair & operator[] (CORBA::ULong index);
-
+
private:
NameDynAnyPairSeq *&ptr_;
// assignment from T_var not allowed
@@ -1529,7 +1465,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
class DynStruct;
typedef DynStruct *DynStruct_ptr;
-
+
#endif /* end #if !defined */
@@ -1540,31 +1476,31 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
{
public:
DynStruct_var (void); // default constructor
- DynStruct_var (DynStruct_ptr p) : ptr_ (p) {}
+ DynStruct_var (DynStruct_ptr p) : ptr_ (p) {}
DynStruct_var (const DynStruct_var &); // copy constructor
~DynStruct_var (void); // destructor
-
+
DynStruct_var &operator= (DynStruct_ptr);
DynStruct_var &operator= (const DynStruct_var &);
DynStruct_ptr operator-> (void) const;
-
+
operator const DynStruct_ptr &() const;
operator DynStruct_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynStruct_ptr in (void) const;
DynStruct_ptr &inout (void);
DynStruct_ptr &out (void);
DynStruct_ptr _retn (void);
DynStruct_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynStruct_ptr tao_duplicate (DynStruct_ptr);
static void tao_release (DynStruct_ptr);
static DynStruct_ptr tao_nil (void);
- static DynStruct_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynStruct_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynStruct_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1591,7 +1527,7 @@ class TAO_DynamicAny_Export DynEnum: public virtual DynAny
operator DynStruct_ptr &();
DynStruct_ptr &ptr (void);
DynStruct_ptr operator-> (void);
-
+
private:
DynStruct_ptr &ptr_;
};
@@ -1616,24 +1552,21 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
// the static operations
static DynStruct_ptr _duplicate (DynStruct_ptr obj);
static DynStruct_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynStruct_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynStruct_ptr _nil (void)
{
return (DynStruct_ptr)0;
}
virtual char * current_member_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -1641,9 +1574,8 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
)) = 0;
virtual CORBA::TCKind current_member_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -1651,18 +1583,16 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
)) = 0;
virtual DynamicAny::NameValuePairSeq * get_members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_members (
- const DynamicAny::NameValuePairSeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::NameValuePairSeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -1670,18 +1600,16 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
)) = 0;
virtual DynamicAny::NameDynAnyPairSeq * get_members_as_dyn_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_members_as_dyn_any (
- const DynamicAny::NameDynAnyPairSeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::NameDynAnyPairSeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -1689,12 +1617,12 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynStruct ();
-
+
virtual ~DynStruct (void);
private:
DynStruct (const DynStruct &);
@@ -1710,7 +1638,7 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
class DynUnion;
typedef DynUnion *DynUnion_ptr;
-
+
#endif /* end #if !defined */
@@ -1721,31 +1649,31 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
{
public:
DynUnion_var (void); // default constructor
- DynUnion_var (DynUnion_ptr p) : ptr_ (p) {}
+ DynUnion_var (DynUnion_ptr p) : ptr_ (p) {}
DynUnion_var (const DynUnion_var &); // copy constructor
~DynUnion_var (void); // destructor
-
+
DynUnion_var &operator= (DynUnion_ptr);
DynUnion_var &operator= (const DynUnion_var &);
DynUnion_ptr operator-> (void) const;
-
+
operator const DynUnion_ptr &() const;
operator DynUnion_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynUnion_ptr in (void) const;
DynUnion_ptr &inout (void);
DynUnion_ptr &out (void);
DynUnion_ptr _retn (void);
DynUnion_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynUnion_ptr tao_duplicate (DynUnion_ptr);
static void tao_release (DynUnion_ptr);
static DynUnion_ptr tao_nil (void);
- static DynUnion_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynUnion_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynUnion_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1772,7 +1700,7 @@ class TAO_DynamicAny_Export DynStruct: public virtual DynAny
operator DynUnion_ptr &();
DynUnion_ptr &ptr (void);
DynUnion_ptr operator-> (void);
-
+
private:
DynUnion_ptr &ptr_;
};
@@ -1797,106 +1725,95 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
// the static operations
static DynUnion_ptr _duplicate (DynUnion_ptr obj);
static DynUnion_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynUnion_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynUnion_ptr _nil (void)
{
return (DynUnion_ptr)0;
}
virtual DynamicAny::DynAny_ptr get_discriminator (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_discriminator (
- DynamicAny::DynAny_ptr d,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ DynamicAny::DynAny_ptr d
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch
)) = 0;
virtual void set_to_default_member (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch
)) = 0;
virtual void set_to_no_active_member (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch
)) = 0;
virtual CORBA::Boolean has_no_active_member (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual CORBA::TCKind discriminator_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual DynamicAny::DynAny_ptr member (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::InvalidValue
)) = 0;
virtual char * member_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::InvalidValue
)) = 0;
virtual CORBA::TCKind member_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::InvalidValue
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynUnion ();
-
+
virtual ~DynUnion (void);
private:
DynUnion (const DynUnion &);
@@ -1908,7 +1825,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_DYNAMICANY_ANYSEQ_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_DYNAMICANY_ANYSEQ_CH_
@@ -1916,9 +1833,9 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_DynamicAny_AnySeq (void); // Default constructor.
- _TAO_Unbounded_Sequence_DynamicAny_AnySeq (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_DynamicAny_AnySeq (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_DynamicAny_AnySeq (CORBA::ULong maximum,
CORBA::ULong length,
CORBA::Any *data,
@@ -1935,7 +1852,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
CORBA::Any *get_buffer (CORBA::Boolean orphan = 0);
const CORBA::Any *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -1947,32 +1864,32 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_DYNAMICANY_ANYSEQ_CH_)
#define _DYNAMICANY_ANYSEQ_CH_
class AnySeq;
class AnySeq_var;
-
+
// *************************************************************
// AnySeq
// *************************************************************
-
- class TAO_DynamicAny_Export AnySeq : public
+
+ class TAO_DynamicAny_Export AnySeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_DynamicAny_AnySeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::Any>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
AnySeq (void); // default ctor
AnySeq (CORBA::ULong max); // uses max size
AnySeq (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Any *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Any *buffer,
CORBA::Boolean release = 0
);
AnySeq (const AnySeq &); // copy ctor
@@ -1984,7 +1901,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -2002,21 +1919,21 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
AnySeq_var (AnySeq *);
AnySeq_var (const AnySeq_var &); // copy constructor
~AnySeq_var (void); // destructor
-
+
AnySeq_var &operator= (AnySeq *);
AnySeq_var &operator= (const AnySeq_var &);
AnySeq *operator-> (void);
const AnySeq *operator-> (void) const;
-
+
operator const AnySeq &() const;
operator AnySeq &();
operator AnySeq &() const;
operator AnySeq *&(); // variable-size base types only
-
+
CORBA::Any & operator[] (CORBA::ULong index);
const CORBA::Any & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const AnySeq &in (void) const;
AnySeq &inout (void);
AnySeq *&out (void);
@@ -2046,7 +1963,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
AnySeq *&ptr (void);
AnySeq *operator-> (void);
CORBA::Any & operator[] (CORBA::ULong index);
-
+
private:
AnySeq *&ptr_;
// assignment from T_var not allowed
@@ -2060,7 +1977,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_DYNAMICANY_DYNANYSEQ_CH_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_DYNAMICANY_DYNANYSEQ_CH_
@@ -2068,7 +1985,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Object_Sequence_DynamicAny_DynAnySeq (void);
_TAO_Unbounded_Object_Sequence_DynamicAny_DynAnySeq (CORBA::ULong maximum);
_TAO_Unbounded_Object_Sequence_DynamicAny_DynAnySeq (CORBA::ULong maximum,
@@ -2089,43 +2006,42 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
virtual void _shrink_buffer (CORBA::ULong nl, CORBA::ULong ol);
virtual void _downcast (
void* target,
- CORBA_Object *src,
- CORBA_Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA_Object *src
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
virtual CORBA_Object* _upcast (void *src) const;
-
+
};
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_DYNAMICANY_DYNANYSEQ_CH_)
#define _DYNAMICANY_DYNANYSEQ_CH_
class DynAnySeq;
class DynAnySeq_var;
-
+
// *************************************************************
// DynAnySeq
// *************************************************************
-
- class TAO_DynamicAny_Export DynAnySeq : public
+
+ class TAO_DynamicAny_Export DynAnySeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_DynamicAny_DynAnySeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<DynAny,DynAny_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
DynAnySeq (void); // default ctor
DynAnySeq (CORBA::ULong max); // uses max size
DynAnySeq (
- CORBA::ULong max,
- CORBA::ULong length,
- DynAny_ptr *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ DynAny_ptr *buffer,
CORBA::Boolean release = 0
);
DynAnySeq (const DynAnySeq &); // copy ctor
@@ -2137,7 +2053,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -2155,20 +2071,20 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
DynAnySeq_var (DynAnySeq *);
DynAnySeq_var (const DynAnySeq_var &); // copy constructor
~DynAnySeq_var (void); // destructor
-
+
DynAnySeq_var &operator= (DynAnySeq *);
DynAnySeq_var &operator= (const DynAnySeq_var &);
DynAnySeq *operator-> (void);
const DynAnySeq *operator-> (void) const;
-
+
operator const DynAnySeq &() const;
operator DynAnySeq &();
operator DynAnySeq &() const;
operator DynAnySeq *&(); // variable-size base types only
-
+
TAO_Object_Manager<DynAny, DynAny_var> operator[] (CORBA::ULong index);
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const DynAnySeq &in (void) const;
DynAnySeq &inout (void);
DynAnySeq *&out (void);
@@ -2198,7 +2114,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
DynAnySeq *&ptr (void);
DynAnySeq *operator-> (void);
TAO_Object_Manager<DynAny, DynAny_var> operator[] (CORBA::ULong index);
-
+
private:
DynAnySeq *&ptr_;
// assignment from T_var not allowed
@@ -2214,7 +2130,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
class DynSequence;
typedef DynSequence *DynSequence_ptr;
-
+
#endif /* end #if !defined */
@@ -2225,31 +2141,31 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
{
public:
DynSequence_var (void); // default constructor
- DynSequence_var (DynSequence_ptr p) : ptr_ (p) {}
+ DynSequence_var (DynSequence_ptr p) : ptr_ (p) {}
DynSequence_var (const DynSequence_var &); // copy constructor
~DynSequence_var (void); // destructor
-
+
DynSequence_var &operator= (DynSequence_ptr);
DynSequence_var &operator= (const DynSequence_var &);
DynSequence_ptr operator-> (void) const;
-
+
operator const DynSequence_ptr &() const;
operator DynSequence_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynSequence_ptr in (void) const;
DynSequence_ptr &inout (void);
DynSequence_ptr &out (void);
DynSequence_ptr _retn (void);
DynSequence_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynSequence_ptr tao_duplicate (DynSequence_ptr);
static void tao_release (DynSequence_ptr);
static DynSequence_ptr tao_nil (void);
- static DynSequence_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynSequence_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynSequence_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2276,7 +2192,7 @@ class TAO_DynamicAny_Export DynUnion: public virtual DynAny
operator DynSequence_ptr &();
DynSequence_ptr &ptr (void);
DynSequence_ptr operator-> (void);
-
+
private:
DynSequence_ptr &ptr_;
};
@@ -2301,51 +2217,45 @@ class TAO_DynamicAny_Export DynSequence: public virtual DynAny
// the static operations
static DynSequence_ptr _duplicate (DynSequence_ptr obj);
static DynSequence_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynSequence_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynSequence_ptr _nil (void)
{
return (DynSequence_ptr)0;
}
virtual CORBA::ULong get_length (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_length (
- CORBA::ULong len,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::ULong len
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::InvalidValue
)) = 0;
virtual DynamicAny::AnySeq * get_elements (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_elements (
- const DynamicAny::AnySeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::AnySeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2353,18 +2263,16 @@ class TAO_DynamicAny_Export DynSequence: public virtual DynAny
)) = 0;
virtual DynamicAny::DynAnySeq * get_elements_as_dyn_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_elements_as_dyn_any (
- const DynamicAny::DynAnySeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::DynAnySeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2372,12 +2280,12 @@ class TAO_DynamicAny_Export DynSequence: public virtual DynAny
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynSequence ();
-
+
virtual ~DynSequence (void);
private:
DynSequence (const DynSequence &);
@@ -2393,7 +2301,7 @@ class TAO_DynamicAny_Export DynSequence: public virtual DynAny
class DynArray;
typedef DynArray *DynArray_ptr;
-
+
#endif /* end #if !defined */
@@ -2404,31 +2312,31 @@ class TAO_DynamicAny_Export DynSequence: public virtual DynAny
{
public:
DynArray_var (void); // default constructor
- DynArray_var (DynArray_ptr p) : ptr_ (p) {}
+ DynArray_var (DynArray_ptr p) : ptr_ (p) {}
DynArray_var (const DynArray_var &); // copy constructor
~DynArray_var (void); // destructor
-
+
DynArray_var &operator= (DynArray_ptr);
DynArray_var &operator= (const DynArray_var &);
DynArray_ptr operator-> (void) const;
-
+
operator const DynArray_ptr &() const;
operator DynArray_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynArray_ptr in (void) const;
DynArray_ptr &inout (void);
DynArray_ptr &out (void);
DynArray_ptr _retn (void);
DynArray_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynArray_ptr tao_duplicate (DynArray_ptr);
static void tao_release (DynArray_ptr);
static DynArray_ptr tao_nil (void);
- static DynArray_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynArray_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynArray_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2455,7 +2363,7 @@ class TAO_DynamicAny_Export DynSequence: public virtual DynAny
operator DynArray_ptr &();
DynArray_ptr &ptr (void);
DynArray_ptr operator-> (void);
-
+
private:
DynArray_ptr &ptr_;
};
@@ -2480,33 +2388,29 @@ class TAO_DynamicAny_Export DynArray: public virtual DynAny
// the static operations
static DynArray_ptr _duplicate (DynArray_ptr obj);
static DynArray_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynArray_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynArray_ptr _nil (void)
{
return (DynArray_ptr)0;
}
virtual DynamicAny::AnySeq * get_elements (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_elements (
- const DynamicAny::AnySeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::AnySeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2514,18 +2418,16 @@ class TAO_DynamicAny_Export DynArray: public virtual DynAny
)) = 0;
virtual DynamicAny::DynAnySeq * get_elements_as_dyn_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_elements_as_dyn_any (
- const DynamicAny::DynAnySeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::DynAnySeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2533,12 +2435,12 @@ class TAO_DynamicAny_Export DynArray: public virtual DynAny
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynArray ();
-
+
virtual ~DynArray (void);
private:
DynArray (const DynArray &);
@@ -2554,7 +2456,7 @@ class TAO_DynamicAny_Export DynArray: public virtual DynAny
class DynValue;
typedef DynValue *DynValue_ptr;
-
+
#endif /* end #if !defined */
@@ -2565,31 +2467,31 @@ class TAO_DynamicAny_Export DynArray: public virtual DynAny
{
public:
DynValue_var (void); // default constructor
- DynValue_var (DynValue_ptr p) : ptr_ (p) {}
+ DynValue_var (DynValue_ptr p) : ptr_ (p) {}
DynValue_var (const DynValue_var &); // copy constructor
~DynValue_var (void); // destructor
-
+
DynValue_var &operator= (DynValue_ptr);
DynValue_var &operator= (const DynValue_var &);
DynValue_ptr operator-> (void) const;
-
+
operator const DynValue_ptr &() const;
operator DynValue_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynValue_ptr in (void) const;
DynValue_ptr &inout (void);
DynValue_ptr &out (void);
DynValue_ptr _retn (void);
DynValue_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynValue_ptr tao_duplicate (DynValue_ptr);
static void tao_release (DynValue_ptr);
static DynValue_ptr tao_nil (void);
- static DynValue_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynValue_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynValue_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2616,7 +2518,7 @@ class TAO_DynamicAny_Export DynArray: public virtual DynAny
operator DynValue_ptr &();
DynValue_ptr &ptr (void);
DynValue_ptr operator-> (void);
-
+
private:
DynValue_ptr &ptr_;
};
@@ -2641,24 +2543,21 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
// the static operations
static DynValue_ptr _duplicate (DynValue_ptr obj);
static DynValue_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynValue_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynValue_ptr _nil (void)
{
return (DynValue_ptr)0;
}
virtual char * current_member_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2666,9 +2565,8 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
)) = 0;
virtual CORBA::TCKind current_member_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2676,18 +2574,16 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
)) = 0;
virtual DynamicAny::NameValuePairSeq * get_members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_members (
- const DynamicAny::NameValuePairSeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::NameValuePairSeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2695,18 +2591,16 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
)) = 0;
virtual DynamicAny::NameDynAnyPairSeq * get_members_as_dyn_any (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
virtual void set_members_as_dyn_any (
- const DynamicAny::NameDynAnyPairSeq & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const DynamicAny::NameDynAnyPairSeq & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAny::TypeMismatch,
@@ -2714,12 +2608,12 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynValue ();
-
+
virtual ~DynValue (void);
private:
DynValue (const DynValue &);
@@ -2735,7 +2629,7 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
class DynAnyFactory;
typedef DynAnyFactory *DynAnyFactory_ptr;
-
+
#endif /* end #if !defined */
@@ -2746,31 +2640,31 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
{
public:
DynAnyFactory_var (void); // default constructor
- DynAnyFactory_var (DynAnyFactory_ptr p) : ptr_ (p) {}
+ DynAnyFactory_var (DynAnyFactory_ptr p) : ptr_ (p) {}
DynAnyFactory_var (const DynAnyFactory_var &); // copy constructor
~DynAnyFactory_var (void); // destructor
-
+
DynAnyFactory_var &operator= (DynAnyFactory_ptr);
DynAnyFactory_var &operator= (const DynAnyFactory_var &);
DynAnyFactory_ptr operator-> (void) const;
-
+
operator const DynAnyFactory_ptr &() const;
operator DynAnyFactory_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
DynAnyFactory_ptr in (void) const;
DynAnyFactory_ptr &inout (void);
DynAnyFactory_ptr &out (void);
DynAnyFactory_ptr _retn (void);
DynAnyFactory_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static DynAnyFactory_ptr tao_duplicate (DynAnyFactory_ptr);
static void tao_release (DynAnyFactory_ptr);
static DynAnyFactory_ptr tao_nil (void);
- static DynAnyFactory_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static DynAnyFactory_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
-
+
private:
DynAnyFactory_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2797,7 +2691,7 @@ class TAO_DynamicAny_Export DynValue: public virtual DynAny
operator DynAnyFactory_ptr &();
DynAnyFactory_ptr &ptr (void);
DynAnyFactory_ptr operator-> (void);
-
+
private:
DynAnyFactory_ptr &ptr_;
};
@@ -2822,15 +2716,13 @@ class TAO_DynamicAny_Export DynAnyFactory : public virtual CORBA_Object
// the static operations
static DynAnyFactory_ptr _duplicate (DynAnyFactory_ptr obj);
static DynAnyFactory_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynAnyFactory_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static DynAnyFactory_ptr _nil (void)
{
return (DynAnyFactory_ptr)0;
@@ -2846,27 +2738,27 @@ class TAO_DynamicAny_Export DynAnyFactory : public virtual CORBA_Object
InconsistentTypeCode (void);
// Default constructor.
-
+
InconsistentTypeCode (const InconsistentTypeCode &);
// Copy constructor.
-
+
~InconsistentTypeCode (void);
// Destructor.
-
+
InconsistentTypeCode &operator= (const InconsistentTypeCode &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
- TAO_OutputCDR &,
- CORBA::Environment &
+ TAO_OutputCDR &
+ TAO_ENV_ARG_DECL_NOT_USED
) const;
-
+
virtual void _tao_decode (
- TAO_InputCDR &,
- CORBA::Environment &
+ TAO_InputCDR &
+ TAO_ENV_ARG_DECL_NOT_USED
);
-
+
static InconsistentTypeCode *_downcast (CORBA::Exception *);
@@ -2878,32 +2770,30 @@ class TAO_DynamicAny_Export DynAnyFactory : public virtual CORBA_Object
#endif /* end #if !defined */
virtual DynamicAny::DynAny_ptr create_dyn_any (
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ const CORBA::Any & value
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAnyFactory::InconsistentTypeCode
)) = 0;
virtual DynamicAny::DynAny_ptr create_dyn_any_from_type_code (
- CORBA::TypeCode_ptr type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ CORBA::TypeCode_ptr type
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException,
DynamicAny::DynAnyFactory::InconsistentTypeCode
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
DynAnyFactory ();
-
+
virtual ~DynAnyFactory (void);
private:
DynAnyFactory (const DynAnyFactory &);