Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / ZIOP / ZIOP_Policy_Validator.h
blobfed6da7cd7919e5825f6127f6662b122511a2203
1 // -*- C -*-
3 //=============================================================================
4 /**
5 * @file ZIOP_Policy_Validator.h
7 * This file contains the declaration for the ZIOP policy validator
8 * interface.
10 * @author Johnny Willemsen <jwillemsen@remedy.nl>
12 //=============================================================================
14 #ifndef TAO_ZIOP_POLICY_VALIDATOR_H_
15 #define TAO_ZIOP_POLICY_VALIDATOR_H_
17 #include /**/ "ace/pre.h"
18 #include "tao/ZIOP/ziop_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/Policy_Validator.h"
25 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 class TAO_Policy_Set;
30 class TAO_ORB_Core;
32 /**
33 * @class TAO_ZIOPPolicy_Validator
35 * @brief Policy Validator for ZIOP policies
37 class TAO_ZIOP_Export TAO_ZIOPPolicy_Validator : public TAO_Policy_Validator
39 public:
40 TAO_ZIOPPolicy_Validator (TAO_ORB_Core &orb_core);
42 virtual void validate_impl (TAO_Policy_Set &policies);
44 virtual void merge_policies_impl (TAO_Policy_Set &policies);
46 virtual CORBA::Boolean legal_policy_impl (CORBA::PolicyType type);
49 TAO_END_VERSIONED_NAMESPACE_DECL
51 #endif
53 #include /**/ "ace/post.h"
54 #endif /* TAO_ZIOP_POLICY_VALIDATOR_H_ */