00001 00009 #include "EvidenceRecordWantBack.h" 00010 #include "OID.h" 00011 #include "EvidenceRecord.h" 00012 00014 00015 struct CEvidenceRecordWantBackImpl { 00016 CEvidenceRecordWantBackImpl(); 00017 void ClearContent(); 00018 00019 CPKIFOIDPtr m_targetWantBack; 00020 CPKIFEvidenceRecordPtr m_evidenceRecord; 00021 }; 00030 CEvidenceRecordWantBackImpl::CEvidenceRecordWantBackImpl() 00031 { 00032 ClearContent(); 00033 } 00041 void CEvidenceRecordWantBackImpl::ClearContent() 00042 { 00043 CPKIFOIDPtr emptyOID; 00044 m_targetWantBack = emptyOID; 00045 CPKIFEvidenceRecordPtr emptyER; 00046 m_evidenceRecord = emptyER; 00047 } 00048 00050 00058 CEvidenceRecordWantBack::CEvidenceRecordWantBack(void) : m_impl (new CEvidenceRecordWantBackImpl()) 00059 { 00060 } 00068 CEvidenceRecordWantBack::~CEvidenceRecordWantBack(void) 00069 { 00070 } 00078 CPKIFOIDPtr CEvidenceRecordWantBack::GetTargetWantBack() const 00079 { 00080 return m_impl->m_targetWantBack; 00081 } 00089 CPKIFEvidenceRecordPtr CEvidenceRecordWantBack::GetEvidenceRecord() const 00090 { 00091 return m_impl->m_evidenceRecord; 00092 }