summaryrefslogtreecommitdiff
path: root/TAO/tao/PolicyC.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PolicyC.h')
-rw-r--r--TAO/tao/PolicyC.h260
1 files changed, 130 insertions, 130 deletions
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h
index 1d4c2b5815f..4ac4a42dd25 100644
--- a/TAO/tao/PolicyC.h
+++ b/TAO/tao/PolicyC.h
@@ -40,8 +40,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Environment.h"
-#include "tao/UserException.h"
-#include "tao/SystemException.h"
+#include "tao/Exception.h"
#include "tao/Object.h"
#include "tao/Objref_VarOut_T.h"
@@ -71,13 +70,13 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be\be_visitor_root/root_ch.cpp:63
namespace TAO
{
class Collocation_Proxy_Broker;
-
+
template<typename T> class Narrow_Utils;
template<typename T> class AbstractBase_Narrow_Utils;
}
@@ -87,62 +86,62 @@ namespace TAO
namespace CORBA
{
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::Short PolicyErrorCode;
typedef CORBA::Short_out PolicyErrorCode_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyErrorCode;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode BAD_POLICY = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode UNSUPPORTED_POLICY = 1;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode BAD_POLICY_TYPE = 2;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode BAD_POLICY_VALUE = 3;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode UNSUPPORTED_POLICY_VALUE = 4;
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_CORBA_POLICYERROR_CH_)
#define _CORBA_POLICYERROR_CH_
-
+
class TAO_Export PolicyError : public CORBA::UserException
{
public:
-
+
CORBA::PolicyErrorCode reason;
PolicyError (void);
PolicyError (const PolicyError &);
~PolicyError (void);
PolicyError &operator= (const PolicyError &);
-
+
static void _tao_any_destructor (void *);
-
+
static PolicyError *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -154,51 +153,51 @@ namespace CORBA
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ctor.cpp:66
-
+
PolicyError (
ACE_NESTED_CLASS (CORBA, PolicyErrorCode) _tao_reason
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_CORBA_INVALIDPOLICIES_CH_)
#define _CORBA_INVALIDPOLICIES_CH_
-
+
class TAO_Export InvalidPolicies : public CORBA::UserException
{
public:
-
+
CORBA::UShortSeq indices;
InvalidPolicies (void);
InvalidPolicies (const InvalidPolicies &);
~InvalidPolicies (void);
InvalidPolicies &operator= (const InvalidPolicies &);
-
+
static void _tao_any_destructor (void *);
-
+
static InvalidPolicies *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -210,47 +209,47 @@ namespace CORBA
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ctor.cpp:66
-
+
InvalidPolicies (
const ACE_NESTED_CLASS (CORBA, UShortSeq) & _tao_indices
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_CORBA_POLICY__VAR_OUT_CH_)
#define _CORBA_POLICY__VAR_OUT_CH_
-
+
class Policy;
typedef Policy *Policy_ptr;
-
+
typedef
TAO_Objref_Var_T<
Policy
>
Policy_var;
-
+
typedef
TAO_Objref_Out_T<
Policy
@@ -258,13 +257,13 @@ namespace CORBA
Policy_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_CORBA_POLICY_CH_)
#define _CORBA_POLICY_CH_
-
+
class TAO_Export Policy
: public virtual CORBA::Object
{
@@ -272,65 +271,65 @@ namespace CORBA
friend class TAO::Narrow_Utils<Policy>;
typedef Policy_ptr _ptr_type;
typedef Policy_var _var_type;
-
+
// The static operations.
static Policy_ptr _duplicate (Policy_ptr obj);
-
+
static Policy_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Policy_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Policy_ptr _nil (void)
{
return (Policy_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual CORBA::PolicyType policy_type (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::CORBA::Policy_ptr copy (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual void destroy (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
@@ -344,21 +343,21 @@ namespace CORBA
private:
TAO::Collocation_Proxy_Broker *the_TAO_Policy_Proxy_Broker_;
-
+
protected:
// Concrete interface only.
Policy (void);
-
+
// These methods travese the inheritance tree and set the
// parents piece of the given class in the right mode.
virtual void CORBA_Policy_setup_collocation (void);
-
+
// Concrete non-local interface only.
Policy (
IOP::IOR *ior,
TAO_ORB_Core *orb_core = 0
);
-
+
// Non-local interface only.
Policy (
TAO_Stub *objref,
@@ -366,38 +365,38 @@ namespace CORBA
TAO_Abstract_ServantBase *servant = 0,
TAO_ORB_Core *orb_core = 0
);
-
+
virtual ~Policy (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
Policy (const Policy &);
-
+
void operator= (const Policy &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Policy;
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_CORBA_POLICYMANAGER__VAR_OUT_CH_)
#define _CORBA_POLICYMANAGER__VAR_OUT_CH_
-
+
class PolicyManager;
typedef PolicyManager *PolicyManager_ptr;
-
+
typedef
TAO_Objref_Var_T<
PolicyManager
>
PolicyManager_var;
-
+
typedef
TAO_Objref_Out_T<
PolicyManager
@@ -405,43 +404,43 @@ namespace CORBA
PolicyManager_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_CORBA_POLICYMANAGER_CH_)
#define _CORBA_POLICYMANAGER_CH_
-
+
class TAO_Export PolicyManager
: public virtual CORBA::Object
{
public:
typedef PolicyManager_ptr _ptr_type;
typedef PolicyManager_var _var_type;
-
+
// The static operations.
static PolicyManager_ptr _duplicate (PolicyManager_ptr obj);
-
+
static PolicyManager_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyManager_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyManager_ptr _nil (void)
{
return (PolicyManager_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::CORBA::PolicyList * get_policy_overrides (
const CORBA::PolicyTypeSeq & ts
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -449,10 +448,10 @@ namespace CORBA
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual void set_policy_overrides (
const CORBA::PolicyList & policies,
CORBA::SetOverrideType set_add
@@ -462,53 +461,53 @@ namespace CORBA
CORBA::SystemException
, CORBA::InvalidPolicies
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
+
protected:
// Abstract or local interface only.
PolicyManager (void);
-
+
virtual ~PolicyManager (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
PolicyManager (const PolicyManager &);
-
+
void operator= (const PolicyManager &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyManager;
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_CORBA_POLICYCURRENT__VAR_OUT_CH_)
#define _CORBA_POLICYCURRENT__VAR_OUT_CH_
-
+
class PolicyCurrent;
typedef PolicyCurrent *PolicyCurrent_ptr;
-
+
typedef
TAO_Objref_Var_T<
PolicyCurrent
>
PolicyCurrent_var;
-
+
typedef
TAO_Objref_Out_T<
PolicyCurrent
@@ -516,13 +515,13 @@ namespace CORBA
PolicyCurrent_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_CORBA_POLICYCURRENT_CH_)
#define _CORBA_POLICYCURRENT_CH_
-
+
class TAO_Export PolicyCurrent
: public virtual CORBA::PolicyManager,
public virtual CORBA::Current
@@ -530,56 +529,56 @@ namespace CORBA
public:
typedef PolicyCurrent_ptr _ptr_type;
typedef PolicyCurrent_var _var_type;
-
+
// The static operations.
static PolicyCurrent_ptr _duplicate (PolicyCurrent_ptr obj);
-
+
static PolicyCurrent_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyCurrent_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyCurrent_ptr _nil (void)
{
return (PolicyCurrent_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
+
protected:
// Abstract or local interface only.
PolicyCurrent (void);
-
+
virtual ~PolicyCurrent (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
PolicyCurrent (const PolicyCurrent &);
-
+
void operator= (const PolicyCurrent &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyCurrent;
// TAO_IDL - Generated from
@@ -607,18 +606,18 @@ namespace TAO
#if !defined (_CORBA_POLICY__TRAITS_CH_)
#define _CORBA_POLICY__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<CORBA::Policy>
{
- static CORBA::Policy_ptr duplicate (
+ static CORBA::Policy_ptr tao_duplicate (
CORBA::Policy_ptr
);
- static void release (
+ static void tao_release (
CORBA::Policy_ptr
);
- static CORBA::Policy_ptr nil (void);
- static CORBA::Boolean marshal (
+ static CORBA::Policy_ptr tao_nil (void);
+ static CORBA::Boolean tao_marshal (
CORBA::Policy_ptr p,
TAO_OutputCDR & cdr
);
@@ -628,18 +627,18 @@ namespace TAO
#if !defined (_CORBA_POLICYMANAGER__TRAITS_CH_)
#define _CORBA_POLICYMANAGER__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<CORBA::PolicyManager>
{
- static CORBA::PolicyManager_ptr duplicate (
+ static CORBA::PolicyManager_ptr tao_duplicate (
CORBA::PolicyManager_ptr
);
- static void release (
+ static void tao_release (
CORBA::PolicyManager_ptr
);
- static CORBA::PolicyManager_ptr nil (void);
- static CORBA::Boolean marshal (
+ static CORBA::PolicyManager_ptr tao_nil (void);
+ static CORBA::Boolean tao_marshal (
CORBA::PolicyManager_ptr p,
TAO_OutputCDR & cdr
);
@@ -649,18 +648,18 @@ namespace TAO
#if !defined (_CORBA_POLICYCURRENT__TRAITS_CH_)
#define _CORBA_POLICYCURRENT__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<CORBA::PolicyCurrent>
{
- static CORBA::PolicyCurrent_ptr duplicate (
+ static CORBA::PolicyCurrent_ptr tao_duplicate (
CORBA::PolicyCurrent_ptr
);
- static void release (
+ static void tao_release (
CORBA::PolicyCurrent_ptr
);
- static CORBA::PolicyCurrent_ptr nil (void);
- static CORBA::Boolean marshal (
+ static CORBA::PolicyCurrent_ptr tao_nil (void);
+ static CORBA::Boolean tao_marshal (
CORBA::PolicyCurrent_ptr p,
TAO_OutputCDR & cdr
);
@@ -742,3 +741,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Policy_ptr &);
#include /**/ "ace/post.h"
#endif /* ifndef */
+