gdcmBaseCompositeMessage.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef GDCMBASECOMPOSITEMESSSAGE_H
#define GDCMBASECOMPOSITEMESSSAGE_H
#include "gdcmPresentationDataValue.h"
#include "gdcmBaseRootQuery.h"
#include <vector>
namespace gdcm
{
namespace network
{
class ULConnection;
class BaseCompositeMessage
{
public:
virtual ~BaseCompositeMessage() = default;
//construct the appropriate pdv and dataset for this message
//for instance, setting tag 0x0,0x100 to the appropriate value
//the pdv, as described in Annex E of 3.8-2009, is the first byte
//of the message (the MessageHeader), and then the subsequent dataset
//that describes the operation.
virtual std::vector<PresentationDataValue> ConstructPDV(const ULConnection &inConnection,
const BaseRootQuery * inRootQuery) = 0;
};
}
}
#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