Line | |
---|
1 | #ifndef _FROG_BaseColl_Id_H__
|
---|
2 | #define _FROG_BaseColl_Id_H__
|
---|
3 |
|
---|
4 | #include "BaseColl.h"
|
---|
5 |
|
---|
6 | namespace FROG{
|
---|
7 |
|
---|
8 | class BaseColl_Id : public BaseColl {
|
---|
9 | public :
|
---|
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.