00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file PG_Null_Property_Validator.h 00006 * 00007 * $Id: PG_Null_Property_Validator.h 77001 2007-02-12 07:54:49Z johnnyw $ 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 00046 /// Validate the given criteria. 00047 /** 00048 * This particular implementation performs no validation 00049 * whatsoever. 00050 */ 00051 void validate_criteria (const PortableGroup::Properties & criteria); 00052 00053 }; 00054 00055 TAO_END_VERSIONED_NAMESPACE_DECL 00056 00057 #include /**/ "ace/post.h" 00058 00059 #endif /* TAO_PG_PROPERTY_VALIDATOR_H */