Fork me on GitHub

source: svn/trunk/Utilities/frog/BaseColl_Id.h@ 760

Last change on this file since 760 was 583, checked in by cp3-support, 13 years ago

FROG 3.0

File size: 473 bytes
RevLine 
[583]1#ifndef _FROG_BaseColl_Id_H__
2#define _FROG_BaseColl_Id_H__
3
4#include "BaseColl.h"
5
6namespace FROG{
7
8class BaseColl_Id : public BaseColl {
9public :
10 virtual unsigned int chunkId(){ return 1000;}
11 virtual bool isCompactible(){ return false; }
12
13 BaseColl_Id(unsigned int detId=0){
14 detId_ = detId;
15 }
16
17 virtual ByteBuffer writeData(){
18 ByteBuffer toReturn(4);
19 toReturn.putUInt(detId_);
20 return toReturn;
21 }
22};
23
24}//FROG Namespace
25#endif
Note: See TracBrowser for help on using the repository browser.