ATLAS Offline Software
Loading...
Searching...
No Matches
RPCtrigDataObject.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DATAOBJECT_H
6#define DATAOBJECT_H
7
8#include <sstream>
9#include <string>
10
12
13
15{
16 private:
18
19 public:
20 RPCtrigDataObject (int,const std::string&);
21 RPCtrigDataObject (int,const char*);
24
26
27 void set_number (int);
28
29 int number(void) const {return m_number;}
30
31 void PrintElement(std::ostream&,std::string,bool) const {}
32
33 void Print(std::ostream&,bool) const;
34};
35
36
37template <class X> X& operator<<(X& stream,const RPCtrigDataObject& data)
38{
39 std::ostringstream display;
40 data.Print(display,false);
41 stream << display.str();
42 return stream;
43}
44
45#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
X & operator<<(X &stream, const RPCtrigDataObject &data)
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
void Print(std::ostream &, bool) const
void PrintElement(std::ostream &, std::string, bool) const
RPCtrigDataObject operator=(const RPCtrigDataObject &)
int number(void) const
RPCtrigDataObject(int, const std::string &)