00001 00009 #ifndef __NAMEBASEDSEARCH_H__ 00010 #define __NAMEBASEDSEARCH_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "IPKIFSearchCriteria.h" 00014 00015 struct CPKIFNameBasedSearchImpl; 00016 FD_SMART_PTR(CPKIFName); 00017 00025 class CAC_API CPKIFNameBasedSearch : public IPKIFSearchCriteria 00026 { 00027 public: 00028 CPKIFNameBasedSearch(); 00029 ~CPKIFNameBasedSearch(); 00030 00031 //IPKIFSearchCriteria functions 00032 SearchType GetSearchType() const; 00033 00034 //misc. functions 00035 void SetSearchType(SearchType st); 00036 CPKIFNamePtr GetName() const; 00037 void SetName(CPKIFNamePtr& name); 00038 00039 //XXX-DEFER remove these two functions following completion of string->CPKIFName utility function 00040 void SetStringName(char* s); 00041 const char* GetStringName() const; 00042 00043 private: 00045 CPKIFNameBasedSearch(const CPKIFNameBasedSearch& copy); 00047 CPKIFNameBasedSearch& operator=(const CPKIFNameBasedSearch& rhs); //added 4/6/2004 00048 00049 struct CPKIFNameBasedSearchImpl *m_impl; 00050 00051 }; 00052 DECLARE_SMART_POINTERS(CPKIFNameBasedSearch); 00053 #endif 00054