00001 00009 #ifndef __MATCHESPOLICY_H__ 00010 #define __MATCHESPOLICY_H__ 00011 00012 #include "PKIFdll.h" 00013 00014 FD_SMART_PTR(CPKIFPolicyInformation); 00015 00021 class MatchesPolicy 00022 { 00023 public: 00024 MatchesPolicy(); 00025 ~MatchesPolicy(); 00026 bool operator()(const CPKIFPolicyInformationPtr& t); 00027 void SetPolicyToMatch(CPKIFPolicyInformationPtr& policy); 00028 // public copy constructor is needed by std::find_if 00029 MatchesPolicy(const MatchesPolicy &); 00030 private: 00031 CPKIFPolicyInformationPtr m_policy; 00032 }; 00033 00034 #endif