DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
XMLTags.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 
14 #ifndef XML_XMLTAGS_H
15 #define XML_XMLTAGS_H
16 
17 #define DECLARE_UNICODE_TAG(x) namespace dd4hep { namespace xml { extern const Tag_t Unicode_##x (#x); }}
18 
19 // Framework include files
20 #include <XML/XMLElements.h>
21 #define UNICODE(x) extern const Tag_t Unicode_##x
22 
24 namespace dd4hep {
25 
27  namespace xml {
28 #include <XML/UnicodeValues.h>
29  }
30 }
31 
32 #undef UNICODE
33 
34 // Helpers to access tags and attributes quickly without specifying explicitly namespaces
35 #define _dd4hep_Unicode_Item(a) Unicode_##a
36 #define _U(a) ::dd4hep::xml::Unicode_##a
37 #define _Unicode(a) ::dd4hep::xml::Strng_t(#a)
38 
39 #endif // XML_XMLTAGS_H
UnicodeValues.h
dd4hep::xml
Namespace for the AIDA detector description toolkit supporting XML utilities.
Definition: ConditionsTags.h:27
XMLElements.h
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28