CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CondCore/RegressionTest/interface/RegressionTestPayload.h

Go to the documentation of this file.
00001 #include "CondCore/RegressionTest/interface/PrimitivePayload.h"
00002 #include "CondCore/RegressionTest/interface/ArrayPayload.h"
00003 
00004 struct Data {
00005   Data();
00006   Data( int seed );
00007   int m_i;
00008   std::string m_s;
00009   std::vector<int> m_a; 
00010   bool operator ==(const Data& rhs) const;
00011   bool operator !=(const Data& rhs) const;
00012 };
00013 
00014 class RegressionTestPayload : public PrimitivePayload, public ArrayPayload {
00015 public:
00016   RegressionTestPayload();
00017   RegressionTestPayload( int seed );
00018   typedef Data T_Data;
00019   bool operator ==(const RegressionTestPayload& rhs) const;
00020   bool operator !=(const RegressionTestPayload& rhs) const;
00021 public:
00022   int m_i;
00023   Data m_data0;
00024   T_Data m_data1;
00025 
00026 };
00027