Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:06:01

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 // Setup XML parsing for the use of Apache Xerces-C and TiXml
0015 //
0016 //==========================================================================
0017 #ifndef PARSERS_PARSERS_H
0018 #define PARSERS_PARSERS_H
0019 
0020 #include "Parsers/config.h"
0021 #include <iostream>
0022 #include <string>
0023 
0024 /// Namespace for the AIDA detector description toolkit
0025 namespace dd4hep {
0026   /// Namespace for the spirit parsers of the AIDA detector description toolkit
0027   namespace Parsers {
0028     /// Template for the conversion from string to object
0029     template <typename TYPE> int parse(TYPE& result, const std::string& input);
0030     /// Template for the conversion object to string
0031     template <typename TYPE> std::ostream& toStream(const TYPE& obj, std::ostream& s);
0032   }    // End namespace Parsers
0033 }      // End namespace dd4hep
0034 #endif // PARSERS_PARSERS_H