/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/eformat/eformat-00-00-04/src/RunNumber.cxx

Go to the documentation of this file.
00001 //Dear emacs, this is -*- c++ -*-
00002 
00013 #include "eformat/RunNumber.h"
00014 
00015 eformat::helper::RunNumber::RunNumber (uint32_t rn)
00016   : m_type(static_cast<eformat::RunType>(rn>>24)),
00017     m_n(0xffffff&rn)
00018 {
00019 }
00020 
00021 uint32_t eformat::helper::RunNumber::code (void) const 
00022 {
00023   uint32_t retval = m_type;
00024   retval <<= 24;
00025   retval |= m_n;
00026   return retval;
00027 }
00028 
00029 

Generated on Tue Nov 29 22:58:25 2016 for BOSS_7.0.2 by  doxygen 1.4.7