4 * @brief Pre-compiled IDL source for the CORBA::Policy related
8 #ifndef TAO_CORBA_POLICY_PIDL
9 #define TAO_CORBA_POLICY_PIDL
11 #include "tao/UShortSeq.pidl"
12 #include "tao/Current.pidl"
13 #include "tao/Policy_Forward.pidl"
15 #pragma prefix "omg.org"
19 typedef short PolicyErrorCode;
20 const PolicyErrorCode BAD_POLICY = 0;
21 const PolicyErrorCode UNSUPPORTED_POLICY = 1;
22 const PolicyErrorCode BAD_POLICY_TYPE = 2;
23 const PolicyErrorCode BAD_POLICY_VALUE = 3;
24 const PolicyErrorCode UNSUPPORTED_POLICY_VALUE = 4;
28 PolicyErrorCode reason;
31 exception InvalidPolicies
38 readonly attribute PolicyType policy_type;
46 #endif /* TAO_CORBA_POLICY_PIDL */