/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DaqBlock.cc
Go to the documentation of this file.
00001 /*
00002  *  DaqBlock.cc
00003  *  DaqBlock
00004  *
00005  *  Created by Simon Patton on 3/2/11.
00006  *  Copyright 2011 DayaBay Collaboration. All rights reserved.
00007  *
00008  */
00009 
00010 #include "Event/DaqBlock.h"
00011 
00012 using DayaBay::DaqBlock;
00013 
00014 unsigned int DaqBlock::size() const {
00015     if (0 == m_bytes) {
00016         return 0;
00017     } else {
00018         return m_bytes->size();
00019     }
00020 }
00021 
00022 std::ostream& DaqBlock::fillStream(std::ostream& s) const {
00023     s << std::endl;
00024     s << "{ " << "Length : "<< size() << std::endl;
00025     s << std::endl;
00026     s << " }";
00027     return s;
00028 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:00:54 for DaqBlock by doxygen 1.7.4