3
* $Id: icustomassociation.h $
6
* Copyright 2008-12 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
17
#include <api/dicom/idicom.h>
18
#include <api/dicom/idicomconformance.h>
22
class EXTAPI ICustomAssociation {
29
virtual ~ICustomAssociation();
33
virtual bool Connect(const std::string& serverId, const std::string& local_aet) = 0;
35
virtual bool createRQ( const std::string& sopclassUID, const GIL::DICOM::DicomDataset& attributeListIn, int& status, std::string& affectedSopinstanceUID) = 0;
36
virtual bool setRQ( const std::string& sopclassUID, const std::string& sopinstanceUID, const GIL::DICOM::DicomDataset& modificationList, int& status) = 0;
37
virtual bool getRQ( const std::string& sopclassUID, const std::string& sopinstanceUID, const int *attributeIdentifierList, unsigned long numShorts, int& status, GNC::GCS::Ptr<GIL::DICOM::DicomDataset>& attributeListOut) = 0;
38
virtual bool actionRQ( const std::string& sopclassUID, const std::string& sopinstanceUID, int actionTypeID, const GIL::DICOM::DicomDataset& actionInformation, int& status, GNC::GCS::Ptr<GIL::DICOM::DicomDataset>& attributeListOut) = 0;
39
virtual bool deleteRQ( const std::string& sopclassUID, const std::string& sopinstanceUID, int& status) = 0;
41
virtual bool releaseAssociation() = 0;
42
virtual bool abortAssociation() = 0;
46
void SetStorageSOPClasses(const GIL::DICOM::SOPClassList& SOPClasses);
47
const std::string& getErrorMessage() const;
52
GIL::DICOM::SOPClassList SOPClasses;
b'\\ No newline at end of file'