CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/DataFormats/FEDRawData/interface/FEDRawData.h

Go to the documentation of this file.
00001 #ifndef FEDRawData_FEDRawData_h
00002 #define FEDRawData_FEDRawData_h
00003 
00018 #include <vector>
00019 
00020 class FEDRawData {
00021 
00022  public:
00023   typedef std::vector<unsigned char> Data;
00024   typedef Data::iterator iterator;
00025 
00027   FEDRawData();
00028 
00032   FEDRawData(size_t newsize);
00033 
00035   FEDRawData(const FEDRawData &);
00036 
00038   ~FEDRawData();
00039 
00041   const unsigned char * data() const;
00042 
00044   unsigned char * data();
00045 
00047   size_t size() const {return data_.size();}
00048     
00051   void resize(size_t newsize);
00052 
00053  private:
00054 
00055 
00056   Data data_;
00057 
00058 };
00059 
00060 #endif