/usr/include/dcmtk/dcmsr/cmr/init.h is in libdcmtk-dev 3.6.1~20150924-5.
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 | /*
*
* Copyright (C) 2015, J. Riesmeier, Oldenburg, Germany
* All rights reserved. See COPYRIGHT file for details.
*
* Header file for class CMR_ContentMappingResource
*
* Author: Joerg Riesmeier
*
*/
#ifndef CMR_INIT_H
#define CMR_INIT_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmsr/cmr/define.h"
/*---------------------*
* class declaration *
*---------------------*/
/** General purpose class hiding global functions used for the "Content Mapping Resource"
* (CMR) from the global namespace.
* All functions are static and can, therefore, be accessed without creating an instance
* of this class.
*/
class DCMTK_CMR_EXPORT CMR_ContentMappingResource
{
public:
/** initialize \e all supported context groups of the "Content Mapping Resource"
* explicitly. Currently, the following context group classes are supported:
* - CID11_RouteOfAdministration
* - CID29_AcquisitionModality
* - CID42_NumericValueQualifier
* - CID100_QuantitativeDiagnosticImagingProcedures
* - CID244_Laterality
* - CID4020_PETRadionuclide
* - CID4021_PETRadiopharmaceutical
* - CID4031_CommonAnatomicRegions
* - CID5000_Languages
* - CID5001_Countries
* - CID7021_MeasurementReportDocumentTitles
* - CID7445_DeviceParticipatingRoles
* - CID7452_OrganizationalRoles
* - CID7453_PerformingRoles
* - CID10013_CTAcquisitionType
* - CID10033_CTReconstructionAlgorithm
*
** @note In case of multi-threaded applications, this function could be called
* before any context group is actually used. This might be easier than
* calling the initialize() function of the respective context group classes
* separately. However, since the list of supported context groups is
* increasing over time, the additional resource requirements should be
* considered. That means, if only a few context groups are used, it is
* recommended to call the individual initialize() functions instead.
*/
static void initializeAllContextGroups();
/** cleanup \e all supported context groups of the "Content Mapping Resource".
* Usually, there is no need to call this method, but it might be useful in order
* to explicitly free the associated memory, e.g. when checking for memory leaks.
* See initializeAllContextGroups() for a list of supported context groups.
*/
static void cleanupAllContextGroups();
};
#endif
|