/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/Geners/interface/PackerIOCycle.hh
34 строки
1 KB
Giulio Eulisse
Snapshot of CMSSW_6_2_0_pre8.
26 июн 2013, 18:12
26 июн 2013, 18:12
214ab73
Код
Авторство
О чём код?
#ifndef GENERS_PACKERIOCYCLE_HH_ #define GENERS_PACKERIOCYCLE_HH_ #include "Alignment/Geners/interface/GenericIO.hh" namespace gs { namespace Private { // Before calling this, make sure that iostack is properly filled template<typename Pack, unsigned long N> struct PackerIOCycle { template <typename Stream> inline static bool read( Pack* s, Stream& is, std::vector<std::vector<ClassId> >& iostack) { return PackerIOCycle<Pack, N-1>::read(s, is, iostack) && process_item<GenericReader>( std::get<N-1>(*s), is, &iostack[N-1], false); } }; template<typename Pack> struct PackerIOCycle<Pack, 0UL> { template <typename Stream> inline static bool read(Pack*, Stream&, std::vector<std::vector<ClassId> >&) {return true;} }; } } #endif // GENERS_PACKERIOCYCLE_HH_