ContentTypeAttribute.h

Go to the documentation of this file.
00001 
00009 #ifndef __CONTENTTYPEATTRIBUTE_H__
00010 #define __CONTENTTYPEATTRIBUTE_H__
00011 
00012 #include "PKIFCMSDLL.h"
00013 #define PKIFCMS_API_FACTORY 
00014 #include "Attribute.h"
00015 
00016 FD_LIST_PTR(CPKIFBuffer);
00017 
00024 class PKIFCMS_API CPKIFContentTypeAttribute : public CPKIFAttribute
00025 {
00026 public:
00027     CPKIFContentTypeAttribute();
00028     CPKIFContentTypeAttribute(const CPKIFBufferPtr& buf);
00029     ~CPKIFContentTypeAttribute();
00030 
00031     static char extOID[];
00032 
00033     //generic attribute functions
00034     CPKIFOIDPtr GetOID() const;
00035     void GetValues(CPKIFBufferList& values) const;
00036 
00037     //content type specific functions
00038     void SetContentType(CPKIFOIDPtr& oid);
00039     CPKIFOIDPtr GetContentType();
00040 
00041 private:
00043     CPKIFContentTypeAttribute(const CPKIFContentTypeAttribute& copy);
00045     CPKIFContentTypeAttribute& operator=(const CPKIFContentTypeAttribute& rhs); //added 4/6/2004
00046 
00047     struct CPKIFContentTypeAttributeImpl *m_impl;
00048 };
00049 DECLARE_SMART_POINTERS(CPKIFContentTypeAttribute);
00050 
00051 #endif //__CONTENTTYPEATTRIBUTE_H__

Generated on Mon Nov 15 11:15:47 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6