diff options
Diffstat (limited to 'TAO/tao/DynamicInterface/Context.h')
-rw-r--r-- | TAO/tao/DynamicInterface/Context.h | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/TAO/tao/DynamicInterface/Context.h b/TAO/tao/DynamicInterface/Context.h index 5d03f33a84f..d8fb0ea4b48 100644 --- a/TAO/tao/DynamicInterface/Context.h +++ b/TAO/tao/DynamicInterface/Context.h @@ -62,36 +62,29 @@ public: // = All the spec-required functions below will just throw a // CORBA::NO_IMPLEMENT exception and do nothing else. - const char *context_name (CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) const; + const char *context_name (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) const; - CORBA_Context_ptr parent (CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) const; + CORBA_Context_ptr parent (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) const; void create_child (const char *child_ctx_name, - CORBA_Context_out child_ctx, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); + CORBA_Context_out child_ctx + TAO_ENV_ARG_DECL_WITH_DEFAULTS); void set_one_value (const char *propname, - const CORBA_Any &propvalue, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); + const CORBA_Any &propvalue + TAO_ENV_ARG_DECL_WITH_DEFAULTS); - void set_values (CORBA::NVList_ptr values, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); + void set_values (CORBA::NVList_ptr values + TAO_ENV_ARG_DECL_WITH_DEFAULTS); - void delete_values (const char *propname, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); + void delete_values (const char *propname + TAO_ENV_ARG_DECL_WITH_DEFAULTS); void get_values (const char *start_scope, CORBA::Flags op_flags, const char *pattern, - CORBA::NVList_ptr &values, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); + CORBA::NVList_ptr &values + TAO_ENV_ARG_DECL_WITH_DEFAULTS); #if !defined(__GNUC__) || __GNUC__ > 2 || __GNUC_MINOR__ >= 8 typedef CORBA_Context_ptr _ptr_type; @@ -211,14 +204,12 @@ public: void add_consume (char *ctx); // Add and consume a string to the list. - char *item (CORBA::ULong slot, - CORBA_Environment &ACE_TRY_ENV = - TAO_default_environment ()); + char *item (CORBA::ULong slot + TAO_ENV_ARG_DECL_WITH_DEFAULTS); // Return the typecode at slot i. Raises the "Bounds" exception. - void remove (CORBA::ULong slot, - CORBA_Environment &ACE_TRY_ENV = - TAO_default_environment ()); + void remove (CORBA::ULong slot + TAO_ENV_ARG_DECL_WITH_DEFAULTS); // Remove the typecode at slot i. Raises the "Bounds" exception. void _incr_refcnt (void); |