00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file PG_Null_Property_Validator.h 00006 * 00007 * PG_Null_Property_Validator.h,v 1.9 2006/03/14 06:14:34 jtc Exp 00008 * 00009 * @author Ossama Othman <ossama@uci.edu> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_PG_NULL_PROPERTY_VALIDATOR_H 00014 #define TAO_PG_NULL_PROPERTY_VALIDATOR_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "orbsvcs/PortableGroup/portablegroup_export.h" 00019 #include "orbsvcs/PortableGroupC.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 #pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 /** 00029 * @class TAO_PG_Null_Property_Validator 00030 * 00031 * @brief No-op property validator. 00032 * 00033 * This property validator performs no validation whatsoever. 00034 */ 00035 class TAO_PortableGroup_Export TAO_PG_Null_Property_Validator 00036 { 00037 public: 00038 00039 /// Validate the given properties. 00040 /** 00041 * This particular implementation performs no validation 00042 * whatsoever. 00043 */ 00044 void validate_property (const PortableGroup::Properties & props 00045 ACE_ENV_ARG_DECL) 00046 ACE_THROW_SPEC ((CORBA::SystemException, 00047 PortableGroup::InvalidProperty, 00048 PortableGroup::UnsupportedProperty)); 00049 00050 /// Validate the given criteria. 00051 /** 00052 * This particular implementation performs no validation 00053 * whatsoever. 00054 */ 00055 void validate_criteria (const PortableGroup::Properties & criteria 00056 ACE_ENV_ARG_DECL) 00057 ACE_THROW_SPEC ((CORBA::SystemException, 00058 PortableGroup::InvalidCriteria, 00059 PortableGroup::CannotMeetCriteria)); 00060 00061 }; 00062 00063 TAO_END_VERSIONED_NAMESPACE_DECL 00064 00065 #include /**/ "ace/post.h" 00066 00067 #endif /* TAO_PG_PROPERTY_VALIDATOR_H */