ResponseStatus.h

Go to the documentation of this file.
00001 
00010 #ifndef __RESPONSESTATUS_H__
00011 #define __RESPONSESTATUS_H__
00012 
00013 
00014 #include "PKIFSCVPDLL.h"
00015 #include "PKIFdll.h"
00016 
00017 
00018 // forward declarations
00019 struct CPKIFResponseStatusImpl;
00020 
00021 
00022 FD_SMART_PTR(CPKIFOID);
00023 FD_SMART_PTR(CPKIFBuffer);
00024 
00030 class PKIFSCVP_API CPKIFResponseStatus
00031 {
00032 public:
00033     CPKIFResponseStatus();
00034     CPKIFResponseStatus(std::string errorMessage, int statusCode);
00035     CPKIFResponseStatus(const CPKIFBufferPtr&);
00036     virtual ~CPKIFResponseStatus(void);
00037 
00038     //required field
00039     void SetErrorMessage(std::string errorMessage);
00040     const std::string GetErrorMessage() const;
00041 
00042     //required field
00043     void SetStatusCode(int statusCode);
00044     const int GetStatusCode() const;
00045 
00046 private:
00048     CPKIFResponseStatus(const CPKIFResponseStatus& copy);
00050     CPKIFResponseStatus& operator=(const CPKIFResponseStatus& rhs);
00051 
00052     struct CPKIFResponseStatusImpl *m_impl;
00053 };
00054 DECLARE_SMART_POINTERS(CPKIFResponseStatus);
00055 
00056 #endif //__RESPONSESTATUS_H__

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