00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file BiDirPolicy_Validator.h 00006 * 00007 * $Id: BiDirPolicy_Validator.h 80861 2008-03-07 13:48:34Z johnnyw $ 00008 * 00009 * This file contains the declaration for the BiDir policy validator 00010 * interface. 00011 * 00012 * @author Angelo Corsaro <corsaro@cs.wustl.edu> 00013 * @author Frank Hunleth <fhuntleth@cs.wustl.edu> 00014 */ 00015 //============================================================================= 00016 00017 #ifndef TAO_BIDIR_POLICY_VALIDATOR_H_ 00018 #define TAO_BIDIR_POLICY_VALIDATOR_H_ 00019 00020 #include /**/ "ace/pre.h" 00021 #include "tao/BiDir_GIOP/bidirgiop_export.h" 00022 00023 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00024 # pragma once 00025 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00026 #include "tao/Policy_Validator.h" 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 class TAO_Policy_Set; 00031 class TAO_ORB_Core; 00032 00033 /** 00034 * @class TAO_BiDirPolicy_Validator 00035 * 00036 * @brief Policy Validator for BiDir GIOP class 00037 * 00038 */ 00039 class TAO_BiDirGIOP_Export TAO_BiDirPolicy_Validator : public TAO_Policy_Validator 00040 { 00041 public: 00042 TAO_BiDirPolicy_Validator (TAO_ORB_Core &orb_core); 00043 00044 virtual void validate_impl (TAO_Policy_Set &policies); 00045 00046 virtual void merge_policies_impl (TAO_Policy_Set &policies); 00047 00048 virtual CORBA::Boolean legal_policy_impl (CORBA::PolicyType type); 00049 }; 00050 00051 TAO_END_VERSIONED_NAMESPACE_DECL 00052 00053 #include /**/ "ace/post.h" 00054 #endif /* TAO_BIDIR_POLICY_VALIDATOR_H_ */