Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:27:04

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 #ifndef ETC_EXTERNALIZE_CONFIG_H
0014 #define ETC_EXTERNALIZE_CONFIG_H
0015 
0016 #if      defined(DD4HEP_USE_TINYXML)
0017 #define  __TIXML__
0018 #endif
0019 
0020 // C/C++ include files
0021 #include <cstdlib>
0022 
0023 /* Setup XML parsing for the use of Apache Xerces-C and TiXml
0024  *
0025  */
0026 
0027 #define dd4hep Online
0028 
0029 /// Namespace for the AIDA detector description toolkit
0030 namespace dd4hep {
0031 
0032   /// Namespace for the AIDA detector description toolkit supporting XML utilities
0033   namespace xml {
0034     class XmlElement;
0035     class XmlDocument;
0036     class XmlNodeList;
0037     class XmlNode;
0038     class XmlAttr;
0039     typedef std::size_t XmlSize_t;
0040 #ifdef  __TIXML__
0041     typedef char XmlChar;
0042 #else
0043     typedef unsigned short XmlChar;
0044 #endif
0045   }
0046 }
0047 
0048 #ifdef  __TIXML__
0049 #define XML_IMPLEMENTATION_TYPE " TinyXML DOM mini-parser   "
0050 #else   // Xerces-C
0051 #define XML_IMPLEMENTATION_TYPE " Apache Xerces-C DOM Parser"
0052 #endif  // __TIXML__
0053 #endif // ETC_EXTERNALIZE_CONFIG_H