TAO_PortableServer
2.0.8
|
#include <Default_Policy_Validator.h>
Public Member Functions | |
TAO_POA_Default_Policy_Validator (TAO_ORB_Core &orb_core) | |
Constructor. | |
~TAO_POA_Default_Policy_Validator (void) | |
Destructor. | |
Protected Member Functions | |
void | validate_impl (TAO_Policy_Set &policies) |
void | merge_policies_impl (TAO_Policy_Set &policies) |
Add/merge policies. | |
virtual CORBA::Boolean | legal_policy_impl (CORBA::PolicyType type) |
TAO_POA_Default_Policy_Validator::TAO_POA_Default_Policy_Validator | ( | TAO_ORB_Core & | orb_core | ) |
Constructor.
TAO_POA_Default_Policy_Validator::~TAO_POA_Default_Policy_Validator | ( | void | ) |
Destructor.
CORBA::Boolean TAO_POA_Default_Policy_Validator::legal_policy_impl | ( | CORBA::PolicyType | type | ) | [protected, virtual] |
Return whether the specified policy type is legal for the current configuration. This is needed since the user can potentially specify policies that are unknown to an validate () routine, and these need to be caught.
Implements TAO_Policy_Validator.
void TAO_POA_Default_Policy_Validator::merge_policies_impl | ( | TAO_Policy_Set & | policies | ) | [protected, virtual] |
Add/merge policies.
Implements TAO_Policy_Validator.
void TAO_POA_Default_Policy_Validator::validate_impl | ( | TAO_Policy_Set & | policies | ) | [protected, virtual] |
Validate that the policies in the specified set are consistent and legal. Throw an appropriate exception if that is not the case.
Implements TAO_Policy_Validator.