GDCM
2.2.0
|
00001 /*========================================================================= 00002 * 00003 * Copyright Insight Software Consortium 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0.txt 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 * 00017 *=========================================================================*/ 00018 #ifndef GDCMBASECOMPOSITEMESSSAGE_H 00019 #define GDCMBASECOMPOSITEMESSSAGE_H 00020 00021 #include "gdcmPresentationDataValue.h" 00022 #include "gdcmBaseRootQuery.h" 00023 00024 #include <vector> 00025 00026 namespace gdcm 00027 { 00028 namespace network 00029 { 00030 class ULConnection; 00052 class BaseCompositeMessage 00053 { 00054 public: 00055 //construct the appropriate pdv and dataset for this message 00056 //for instance, setting tag 0x0,0x100 to the appropriate value 00057 //the pdv, as described in Annex E of 3.8-2009, is the first byte 00058 //of the message (the MessageHeader), and then the subsequent dataset 00059 //that describes the operation. 00060 virtual std::vector<PresentationDataValue> ConstructPDV(const ULConnection &inConnection, 00061 const BaseRootQuery * inRootQuery) = 0; 00062 }; 00063 } 00064 } 00065 #endif //BASECOMPOSITEMESSSAGE_H