GDCM 3.2.1

gdcmBaseCompositeMessage.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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() = default;
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
gdcm::BaseRootQuery
BaseRootQuery.
Definition gdcmBaseRootQuery.h:67
gdcm::network::BaseCompositeMessage
BaseCompositeMessage.
Definition gdcmBaseCompositeMessage.h:53
gdcm::network::BaseCompositeMessage::~BaseCompositeMessage
virtual ~BaseCompositeMessage()=default
gdcm::network::BaseCompositeMessage::ConstructPDV
virtual std::vector< PresentationDataValue > ConstructPDV(const ULConnection &inConnection, const BaseRootQuery *inRootQuery)=0
gdcm::network::ULConnection
ULConnection.
Definition gdcmULConnection.h:58
gdcmBaseRootQuery.h
gdcmPresentationDataValue.h
gdcm::network
Definition gdcmAAbortPDU.h:24
gdcm
Definition gdcmASN1.h:21