00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: EventId.cpp 4833 2012-11-29 00:51:55Z salnikov@SLAC.STANFORD.EDU $ 00004 // 00005 // Description: 00006 // Class EventId... 00007 // 00008 // Author List: 00009 // Andrei Salnikov 00010 // 00011 //------------------------------------------------------------------------ 00012 00013 //----------------------- 00014 // This Class's Header -- 00015 //----------------------- 00016 #include "PSEvt/EventId.h" 00017 00018 //----------------- 00019 // C/C++ Headers -- 00020 //----------------- 00021 #include <iostream> 00022 00023 //------------------------------- 00024 // Collaborating Class Headers -- 00025 //------------------------------- 00026 00027 //----------------------------------------------------------------------- 00028 // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- 00029 //----------------------------------------------------------------------- 00030 00031 // ---------------------------------------- 00032 // -- Public Function Member Definitions -- 00033 // ---------------------------------------- 00034 00035 namespace PSEvt { 00036 00037 // Standard stream insertion operator 00038 std::ostream& 00039 operator<<(std::ostream& os, const EventId& eid) 00040 { 00041 eid.print(os); 00042 return os; 00043 } 00044 00045 } // namespace PSEvt