CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EmptyWord.h
Go to the documentation of this file.
1 #ifndef DataFormats_RPCDigi_EmptyWord_H
2 #define DataFormats_RPCDigi_EmptyWord_H
3 
5 #include <string>
6 
7 namespace rpcrawtodigi {
8  class EmptyWord : public DataRecord {
9  private:
10  static const int EW_TYPE = 0xE800;
11 
12  public:
14  ~EmptyWord() override {}
15  std::string print() const { return " EMPTY "; }
16  static bool matchType(const DataRecord& record) { return record.data() == EW_TYPE; }
17  };
18 } // namespace rpcrawtodigi
19 #endif
~EmptyWord() override
Definition: EmptyWord.h:14
std::string print() const
Definition: EmptyWord.h:15
const Data & data() const
Definition: DataRecord.h:31
static const int EW_TYPE
Definition: EmptyWord.h:10
static bool matchType(const DataRecord &record)
Definition: EmptyWord.h:16