|
||||
File indexing completed on 2025-01-30 09:16:59
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 // Framework include files 0015 #include <DD4hep/Exceptions.h> 0016 #include <DD4hep/Primitives.h> 0017 0018 using namespace dd4hep; 0019 0020 std::string unrelated_type_error::msg(const std::type_info& typ1, const std::type_info& typ2, const std::string& text) { 0021 std::string m = "The types " + typeName(typ1) + " and " + typeName(typ2) + " are not related. " + text; 0022 return m; 0023 } 0024 0025 std::string unrelated_value_error::msg(const std::type_info& typ, const std::string& text) { 0026 std::string m = "The type " + typeName(typ) + " cannot be converted: " + text; 0027 return m; 0028 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |