GDCM 3.2.1

gdcmNormalizedNetworkFunctions.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2014 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMNORMALIZEDNETWORKFUNCTIONS_H
15#define GDCMNORMALIZEDNETWORKFUNCTIONS_H
16
17#include "gdcmDirectory.h"
18#include "gdcmBaseQuery.h" // EQueryLevel / EQueryType
19
20#include <vector>
21#include <string>
22
23 namespace gdcm
24{
46 class GDCM_EXPORT NormalizedNetworkFunctions
47{
48 public:
49 static BaseQuery* ConstructQuery( const std::string & sopInstanceUID,
50 const DataSet& queryds, ENQueryType queryType = eCreateMMPS );
51 static bool NEventReport( const char *remote, uint16_t portno,
52 const BaseQuery* query, std::vector<DataSet> &retDataSets,
53 const char *aetitle, const char *call );
54 static bool NGet( const char *remote, uint16_t portno,
55 const BaseQuery* query, std::vector<DataSet> &retDataSets,
56 const char *aetitle, const char *call );
57 static bool NSet( const char *remote, uint16_t portno,
58 const BaseQuery* query, std::vector<DataSet> &retDataSets,
59 const char *aetitle, const char *call );
60 static bool NAction( const char *remote, uint16_t portno,
61 const BaseQuery* query, std::vector<DataSet> &retDataSets,
62 const char *aetitle, const char *call );
63 static bool NCreate( const char *remote, uint16_t portno,
64 BaseQuery* query, std::vector<DataSet> &retDataSets,
65 const char *aetitle, const char *call );
66 static bool NDelete( const char *remote, uint16_t portno,
67 const BaseQuery* query, std::vector<DataSet> &retDataSets,
68 const char *aetitle, const char *call );
69};
70
71} // end namespace gdcm
72
73#endif // GDCMCOMPOSITENETWORKFUNCTIONS_H
gdcm::BaseQuery
BaseQuery.
Definition gdcmBaseQuery.h:42
gdcm::DataSet
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
gdcm::NormalizedNetworkFunctions
Normalized Network Functions.
Definition gdcmNormalizedNetworkFunctions.h:47
gdcm::NormalizedNetworkFunctions::NGet
static bool NGet(const char *remote, uint16_t portno, const BaseQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle, const char *call)
gdcm::NormalizedNetworkFunctions::NSet
static bool NSet(const char *remote, uint16_t portno, const BaseQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle, const char *call)
gdcm::NormalizedNetworkFunctions::NAction
static bool NAction(const char *remote, uint16_t portno, const BaseQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle, const char *call)
gdcm::NormalizedNetworkFunctions::ConstructQuery
static BaseQuery * ConstructQuery(const std::string &sopInstanceUID, const DataSet &queryds, ENQueryType queryType=eCreateMMPS)
gdcm::NormalizedNetworkFunctions::NEventReport
static bool NEventReport(const char *remote, uint16_t portno, const BaseQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle, const char *call)
gdcm::NormalizedNetworkFunctions::NCreate
static bool NCreate(const char *remote, uint16_t portno, BaseQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle, const char *call)
gdcm::NormalizedNetworkFunctions::NDelete
static bool NDelete(const char *remote, uint16_t portno, const BaseQuery *query, std::vector< DataSet > &retDataSets, const char *aetitle, const char *call)
gdcmBaseQuery.h
gdcmDirectory.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21
gdcm::ENQueryType
ENQueryType
Definition gdcmBaseQuery.h:31
gdcm::eCreateMMPS
@ eCreateMMPS
Definition gdcmBaseQuery.h:32