dcmtkpp
uid.h
1 /*************************************************************************
2  * dcmtkpp - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _d8ae0008_075b_4a28_a241_1c6fb1a6c79b
10 #define _d8ae0008_075b_4a28_a241_1c6fb1a6c79b
11 
12 #include <string>
13 
14 namespace dcmtkpp
15 {
16 
18 std::string const uid_prefix="1.2.826.0.1.3680043.9.5560";
19 
20 #ifdef DCMTKPP_MAJOR_VERSION
21 #define DCMTKPP_STRINGIFY_HELPER(s) #s
22 #define DCMTKPP_STRINGIFY(s) DCMTKPP_STRINGIFY_HELPER(s)
23 std::string const implementation_class_uid=uid_prefix+"0." DCMTKPP_STRINGIFY(DCMTKPP_MAJOR_VERSION);
25 #else
26 #error DCMTKPP_MAJOR_VERSION must be defined
27 #endif
28 
30 std::string generate_uid();
31 
32 }
33 
34 #endif // _d8ae0008_075b_4a28_a241_1c6fb1a6c79b
Definition: Association.cpp:22