KeyIDBasedSearch.cpp

Go to the documentation of this file.
00001 
00010 #include "KeyIDBasedSearch.h"
00011 #include "ToolkitUtils.h"
00012 #include "components.h"
00014 struct CPKIFKeyIDBasedSearchImpl
00015 {
00016     CPKIFBufferPtr m_keyID;
00017 };
00019 
00027 CPKIFKeyIDBasedSearch::CPKIFKeyIDBasedSearch()
00028     :m_impl (new CPKIFKeyIDBasedSearchImpl)
00029 {
00030     LOG_STRING_DEBUG("CPKIFKeyIDBasedSearch::CPKIFKeyIDBasedSearch()", TOOLKIT_SR_MISC, 0, this);
00031 }
00039 CPKIFKeyIDBasedSearch::~CPKIFKeyIDBasedSearch()
00040 {
00041     LOG_STRING_DEBUG("CPKIFKeyIDBasedSearch::~CPKIFKeyIDBasedSearch()", TOOLKIT_SR_MISC, 0, this);
00042 
00043     delete m_impl;
00044     m_impl = NULL;
00045 }
00046 
00047 //IPKIFSearchCriteria functions
00055 SearchType CPKIFKeyIDBasedSearch::GetSearchType() const
00056 {
00057     return KEYID;
00058 }
00059 
00060 //misc. functions
00068 CPKIFBufferPtr CPKIFKeyIDBasedSearch::GetKeyID() const
00069 {
00070     return m_impl->m_keyID;
00071 
00072 }
00080 void CPKIFKeyIDBasedSearch::SetKeyID(
00082     CPKIFBufferPtr& keyID)
00083 {
00084     m_impl->m_keyID = keyID;
00085 }

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