GDCM 2.2.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

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 //construct the appropriate pdv and dataset for this message
56 //for instance, setting tag 0x0,0x100 to the appropriate value
57 //the pdv, as described in Annex E of 3.8-2009, is the first byte
58 //of the message (the MessageHeader), and then the subsequent dataset
59 //that describes the operation.
60 virtual std::vector<PresentationDataValue> ConstructPDV(const ULConnection &inConnection,
61 const BaseRootQuery * inRootQuery) = 0;
62 };
63 }
64 }
65 #endif //BASECOMPOSITEMESSSAGE_H