00001 // -*- C -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file ZIOP_Policy_Validator.h 00006 * 00007 * $Id: ZIOP_Policy_Validator.h 82430 2008-07-27 18:59:21Z johnnyw $ 00008 * 00009 * This file contains the declaration for the ZIOP policy validator 00010 * interface. 00011 * 00012 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00013 */ 00014 //============================================================================= 00015 00016 #ifndef TAO_ZIOP_POLICY_VALIDATOR_H_ 00017 #define TAO_ZIOP_POLICY_VALIDATOR_H_ 00018 00019 #include /**/ "ace/pre.h" 00020 #include "tao/ZIOP/ziop_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 #include "tao/Policy_Validator.h" 00026 00027 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 00028 00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00030 00031 class TAO_Policy_Set; 00032 class TAO_ORB_Core; 00033 00034 /** 00035 * @class TAO_ZIOPPolicy_Validator 00036 * 00037 * @brief Policy Validator for ZIOP policies 00038 * 00039 */ 00040 class TAO_ZIOP_Export TAO_ZIOPPolicy_Validator : public TAO_Policy_Validator 00041 { 00042 public: 00043 00044 TAO_ZIOPPolicy_Validator (TAO_ORB_Core &orb_core); 00045 00046 virtual void validate_impl (TAO_Policy_Set &policies); 00047 00048 virtual void merge_policies_impl (TAO_Policy_Set &policies); 00049 00050 virtual CORBA::Boolean legal_policy_impl (CORBA::PolicyType type); 00051 }; 00052 00053 TAO_END_VERSIONED_NAMESPACE_DECL 00054 00055 #endif 00056 00057 #include /**/ "ace/post.h" 00058 #endif /* TAO_ZIOP_POLICY_VALIDATOR_H_ */ 00059 00060