GDCM
2.4.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MessageExchangeDefinition
gdcmBaseCompositeMessage.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef GDCMBASECOMPOSITEMESSSAGE_H
19
#define GDCMBASECOMPOSITEMESSSAGE_H
20
21
#include "
gdcmPresentationDataValue.h
"
22
#include "
gdcmBaseRootQuery.h
"
23
24
#include <vector>
25
26
namespace
gdcm
27
{
28
namespace
network
29
{
30
class
ULConnection;
52
class
BaseCompositeMessage
53
{
54
public
:
55
virtual
~BaseCompositeMessage
() {}
56
//construct the appropriate pdv and dataset for this message
57
//for instance, setting tag 0x0,0x100 to the appropriate value
58
//the pdv, as described in Annex E of 3.8-2009, is the first byte
59
//of the message (the MessageHeader), and then the subsequent dataset
60
//that describes the operation.
61
virtual
std::vector<PresentationDataValue>
ConstructPDV
(
const
ULConnection
&inConnection,
62
const
BaseRootQuery
* inRootQuery) = 0;
63
};
64
}
65
}
66
#endif //BASECOMPOSITEMESSSAGE_H
Generated on Thu Oct 17 2013 10:05:56 for GDCM by
1.8.4