ContentCollection.h

Go to the documentation of this file.
00001 
00009 #ifndef __CONTENTCOLLECTION_H__
00010 #define __CONTENTCOLLECTION_H__
00011 
00012 #include "PKIFCMSDLL.h"
00013 #include "components.h"
00014 #include "ContentType.h"
00015 
00016 FD_SMART_PTR(CPKIFBuffer);
00017 FD_SMART_PTR(CPKIFOID);
00018 
00024 class PKIFCMS_API CPKIFContentCollection : public CPKIFContentType
00025 {
00026     friend struct CPKIFContentCollectionImpl;
00027 public:
00028     CPKIFContentCollection();
00029     CPKIFContentCollection(const CPKIFOIDPtr& oid, const CPKIFBufferPtr& ciBuf);
00030     virtual ~CPKIFContentCollection();
00031 
00032     void SetContentList(CPKIFContentInfoList& contentList);
00033     void GetContentList(CPKIFContentInfoList& contentList) const;
00034 
00035     void Decode(CPKIFBufferPtr& buf);
00036     void Decode(const unsigned char* buf, int bufLen);
00037 
00038     CPKIFBufferPtr Encode();
00039 
00040 private:
00041     CPKIFContentCollection(const CPKIFContentCollection& copy);
00042     CPKIFContentCollection& operator=(const CPKIFContentCollection& rhs); //added 4/6/2004
00043     
00044     enum {thisComponent=TOOLKIT_MESSAGE_CONTENT_INFO};
00045 
00046     struct CPKIFContentCollectionImpl *m_impl;
00047 };
00048 DECLARE_SMART_POINTERS(CPKIFContentCollection);
00049 
00050 //moved list manipulation macros to  ToolkitUtils.h
00051 
00052 #endif //__CONTENTCOLLECTION_H__

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