00001 00010 #ifndef __NODEINNODELIST_H__ 00011 #define __NODEINNODELIST_H__ 00012 00013 #include "PKIFdll.h" 00014 #include <vector> 00015 //FD_SMART_PTR(CPKIFCertificateNodeEntry); 00016 //typedef std::vector<CPKIFCertificateNodeEntryPtr, PKIFAlloc<CPKIFCertificateNodeEntryPtr> > CPKIFCertificateNodeList; 00017 //DECLARE_SMART_POINTERS(CPKIFCertificateNodeList); 00018 FD_NODE_LIST_PTR(CPKIFCertificateNodeEntry); 00019 FD_LIST_PTR(CPKIFNameAndKeyWithScore); 00020 struct NodeInNodeListImpl; 00021 00033 class CAC_API NodeInNodeList 00034 { 00035 public: 00036 NodeInNodeList (); 00037 NodeInNodeList(const NodeInNodeList& ext); 00038 ~NodeInNodeList (); 00039 bool operator()(const CPKIFCertificateNodeEntryPtr& test); 00040 void SetNodeList(CPKIFCertificateNodeList* nodeList); 00041 void SetNodeList(CPKIFNameAndKeyWithScoreList* nodeList); 00042 private: 00043 //NodeInNodeList(const NodeInNodeList& ext);//added 8/21/2004 00044 //implicit copy constructor is OK since pointer value will be copied over 00045 //and life of copy will be nested within life of source since this is only used 00046 //in STL algorithm calls 00047 00049 NodeInNodeList& operator=(const NodeInNodeList& rhs); //added 8/21/2004 00050 00051 NodeInNodeListImpl *m_impl; 00052 }; 00053 00054 #endif //__NODEINNODELIST_H__