/usr/include/gdcm-2.6/gdcmNormalizedNetworkFunctions.h is in libgdcm2-dev 2.6.3-3ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2014 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMNORMALIZEDNETWORKFUNCTIONS_H
#define GDCMNORMALIZEDNETWORKFUNCTIONS_H
#include "gdcmDirectory.h"
#include "gdcmBaseQuery.h" // EQueryLevel / EQueryType
#include <vector>
#include <string>
namespace gdcm
{
/**
* \brief Normalized Network Functions
* These functions provide a generic API to the DICOM functions implemented in
* GDCM.
* Advanced users can use this code as a template for building their own
* versions of these functions (for instance, to provide progress bars or some
* other way of handling returned query information), but for most users, these
* functions should be sufficient to interface with a PACS to a local machine.
* Note that these functions are not contained within a static class or some
* other class-style interface, because multiple connections can be
* instantiated in the same program. The DICOM standard is much more function
* oriented rather than class oriented in this instance, so the design of this
* API reflects that functional approach.
* These functions implements the following SCU operations:
* \li N-EVENT-REPORT
* \li N-GET
* \li N-SET
* \li N-ACTION
* \li N-CREATE
* \li N-DELETE
*/
class GDCM_EXPORT NormalizedNetworkFunctions
{
public:
static BaseQuery* ConstructQuery( const std::string & sopInstanceUID,
const DataSet& queryds, ENQueryType queryType = eCreateMMPS );
static bool NEventReport( const char *remote, uint16_t portno,
const BaseQuery* query, std::vector<DataSet> &retDataSets,
const char *aetitle, const char *call );
static bool NGet( const char *remote, uint16_t portno,
const BaseQuery* query, std::vector<DataSet> &retDataSets,
const char *aetitle, const char *call );
static bool NSet( const char *remote, uint16_t portno,
const BaseQuery* query, std::vector<DataSet> &retDataSets,
const char *aetitle, const char *call );
static bool NAction( const char *remote, uint16_t portno,
const BaseQuery* query, std::vector<DataSet> &retDataSets,
const char *aetitle, const char *call );
static bool NCreate( const char *remote, uint16_t portno,
BaseQuery* query, std::vector<DataSet> &retDataSets,
const char *aetitle, const char *call );
static bool NDelete( const char *remote, uint16_t portno,
const BaseQuery* query, std::vector<DataSet> &retDataSets,
const char *aetitle, const char *call );
};
} // end namespace gdcm
#endif // GDCMCOMPOSITENETWORKFUNCTIONS_H
|