00001 00002 // ============================================================================ 00003 /* @file gaudiHistoID.cpp 00004 * 00005 * Implementation file for class GaudiAlg::ID 00006 * 00007 * $Id: GaudiHistoID.cpp,v 1.1 2006/03/09 14:50:22 hmd Exp $ 00008 * 00009 * @author Chris Jones Christopher.Rob.Jones@cern.ch 00010 * @date 03/02/2006 00011 */ 00012 // ============================================================================ 00013 00014 // local 00015 #include "GaudiAlg/GaudiHistoID.h" 00016 00017 // Boost 00018 #include "boost/lexical_cast.hpp" 00019 00020 // ============================================================================ 00021 00022 GaudiAlg::ID::LiteralID GaudiAlg::ID::idAsString() const 00023 { 00024 return ( literal() ? literalID() : 00025 boost::lexical_cast<LiteralID>(numericID()) ); 00026 } 00027 00028 // ============================================================================