00001 00009 #ifndef __CONTENTTYPEATTRIBUTEFACTORY_H__ 00010 #define __CONTENTTYPEATTRIBUTEFACTORY_H__ 00011 00012 #include "PKIFCMSDLL.h" 00013 #define PKIFCMS_API_FACTORY 00014 #include "IPKIFColleague.h" 00015 #include "IPKIFCMSAttributeFactory.h" 00016 00017 FD_SMART_PTR(CPKIFAttribute); 00018 FD_SMART_PTR(CPKIFBuffer); 00019 00025 class PKIFCMS_API_FACTORY CPKIFContentTypeAttributeFactory : public IPKIFColleague, public IPKIFCMSAttributeFactory 00026 { 00027 public: 00028 CPKIFContentTypeAttributeFactory(); 00029 virtual ~CPKIFContentTypeAttributeFactory(); 00030 00031 void Initialize(); 00032 CPKIFAttributePtr create (const CPKIFBufferPtr& attr); 00033 const char* refOID(); 00034 00035 private: 00037 CPKIFContentTypeAttributeFactory(const CPKIFContentTypeAttributeFactory& copy); 00039 CPKIFContentTypeAttributeFactory& operator=(const CPKIFContentTypeAttributeFactory& rhs); //added 4/6/2004 00040 00041 //RFU 00042 struct CPKIFContentTypeAttributeFactoryImpl *m_impl; 00043 }; 00044 DECLARE_SMART_POINTERS(CPKIFContentTypeAttributeFactory); 00045 00046 00047 00048 #endif //__CONTENTTYPEATTRIBUTEFACTORY_H__