Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / BiDir_GIOP / BiDirPolicy_Validator.h
blobf913455c335e294d0c22cbcaf9ce78981a9e1fda
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file BiDirPolicy_Validator.h
7 * This file contains the declaration for the BiDir policy validator
8 * interface.
10 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
11 * @author Frank Hunleth <fhuntleth@cs.wustl.edu>
13 //=============================================================================
15 #ifndef TAO_BIDIR_POLICY_VALIDATOR_H_
16 #define TAO_BIDIR_POLICY_VALIDATOR_H_
18 #include /**/ "ace/pre.h"
19 #include "tao/BiDir_GIOP/bidirgiop_export.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/Policy_Validator.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 class TAO_Policy_Set;
29 class TAO_ORB_Core;
31 /**
32 * @class TAO_BiDirPolicy_Validator
34 * @brief Policy Validator for BiDir GIOP class
36 class TAO_BIDIRGIOP_Export TAO_BiDirPolicy_Validator : public TAO_Policy_Validator
38 public:
39 TAO_BiDirPolicy_Validator (TAO_ORB_Core &orb_core);
41 void validate_impl (TAO_Policy_Set &policies) override;
43 void merge_policies_impl (TAO_Policy_Set &policies) override;
45 CORBA::Boolean legal_policy_impl (CORBA::PolicyType type) override;
48 TAO_END_VERSIONED_NAMESPACE_DECL
50 #include /**/ "ace/post.h"
51 #endif /* TAO_BIDIR_POLICY_VALIDATOR_H_ */