~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/api/dicom/icustomassociation.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  
 
3
 *  $Id: icustomassociation.h $
 
4
 *  Ginkgo CADx Project
 
5
 *
 
6
 *  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 
7
 *  http://ginkgo-cadx.com
 
8
 *
 
9
 *  This file is licensed under LGPL v3 license.
 
10
 *  See License.txt for details
 
11
 *
 
12
 */
 
13
#pragma once
 
14
 
 
15
#include <ostream>
 
16
#include <string>
 
17
#include <api/dicom/idicom.h>
 
18
#include <api/dicom/idicomconformance.h>
 
19
 
 
20
namespace GIL {
 
21
        namespace DICOM {       
 
22
                class EXTAPI ICustomAssociation {
 
23
                        
 
24
                protected:
 
25
 
 
26
                        ICustomAssociation();
 
27
 
 
28
                public:
 
29
                        virtual ~ICustomAssociation();
 
30
 
 
31
                public:
 
32
 
 
33
                        virtual bool Connect(const std::string& serverId, const std::string& local_aet) = 0;
 
34
 
 
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;
 
40
 
 
41
                        virtual bool releaseAssociation() = 0;
 
42
                        virtual bool abortAssociation() = 0;
 
43
 
 
44
                public:
 
45
 
 
46
                        void SetStorageSOPClasses(const GIL::DICOM::SOPClassList& SOPClasses);
 
47
                        const std::string& getErrorMessage() const;
 
48
 
 
49
                protected:
 
50
 
 
51
                        std::string errorMsg;           
 
52
                        GIL::DICOM::SOPClassList SOPClasses;
 
53
                };
 
54
        }
 
55
}
 
 
b'\\ No newline at end of file'