Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/XML/XMLTags.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //==========================================================================
0002 //  AIDA Detector description implementation 
0003 //--------------------------------------------------------------------------
0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 // All rights reserved.
0006 //
0007 // For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 //
0010 // Author     : M.Frank
0011 //
0012 //==========================================================================
0013 
0014 #ifndef XML_XMLTAGS_H
0015 #define XML_XMLTAGS_H
0016 
0017 #define DECLARE_UNICODE_TAG(x)  namespace dd4hep { namespace xml { extern const Tag_t Unicode_##x (#x); }}
0018 
0019 // Framework include files
0020 #include <XML/XMLElements.h>
0021 #define UNICODE(x)  extern const Tag_t Unicode_##x
0022 
0023 /// Namespace for the AIDA detector description toolkit
0024 namespace dd4hep {
0025 
0026   /// Namespace for the AIDA detector description toolkit supporting XML utilities
0027   namespace xml {
0028 #include <XML/UnicodeValues.h>
0029   }
0030 }
0031 
0032 #undef  UNICODE
0033 
0034 // Helpers to access tags and attributes quickly without specifying explicitly namespaces
0035 #define _dd4hep_Unicode_Item(a) Unicode_##a
0036 #define _U(a)              ::dd4hep::xml::Unicode_##a
0037 #define _Unicode(a)        ::dd4hep::xml::Strng_t(#a)
0038 
0039 #endif // XML_XMLTAGS_H