/usr/include/dcmtk/dcmsr/cmr/tid1204.h is in libdcmtk-dev 3.6.1~20160216-4.
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 | /*
*
* Copyright (C) 2015-2016, J. Riesmeier, Oldenburg, Germany
* All rights reserved. See COPYRIGHT file for details.
*
* Header file for class TID1204_LanguageOfContentItemAndDescendants
*
* Author: Joerg Riesmeier
*
*/
#ifndef CMR_TID1204_H
#define CMR_TID1204_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmsr/dsrstpl.h"
#include "dcmtk/dcmsr/cmr/define.h"
#include "dcmtk/dcmsr/cmr/cid5000.h"
#include "dcmtk/dcmsr/cmr/cid5001.h"
/*---------------------*
* class declaration *
*---------------------*/
/** Implementation of DCMR Template:
* TID 1204 - Language of Content Item and Descendants.
* All added content items are annotated with a text in the format "TID 1204 - Row [n]".
*/
class DCMTK_CMR_EXPORT TID1204_LanguageOfContentItemAndDescendants
: public DSRSubTemplate
{
public:
/** default constructor
*/
TID1204_LanguageOfContentItemAndDescendants();
/** set language, either by adding one content item (language only) or two content
* items (language and country). Please note that there are also language variants
* that include the country. See DICOM standard for more details.
** @param language language of the content, being a language that is primarily
* used for human communication
* @param country country-specific variant of language (optional)
* @param check if enabled, check values for validity before setting them
** @return status, EC_Normal if successful, an error code otherwise
*/
OFCondition setLanguage(const CID5000_Languages &language,
const CID5001_Countries &country = CID5001_Countries(),
const OFBool check = OFTrue);
};
/*-------------------*
* type definition *
*-------------------*/
// define short name for the SR template class
typedef TID1204_LanguageOfContentItemAndDescendants CMR_TID1204;
#endif
|