ATLAS Offline Software
Loading...
Searching...
No Matches
RPCtrigDataObject.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include <iomanip>
7
8using namespace std;
9
10RPCtrigDataObject::RPCtrigDataObject(int num,const std::string& name) :
12
15
17 BaseObject(Data,obj.name())
18{
19 m_number = obj.number();
20}
21
24{
25 static_cast<BaseObject&>(*this) = static_cast<const BaseObject&>(obj);
26 m_number = obj.number();
27 return*this;
28}
29
30void
31RPCtrigDataObject::Print(ostream& stream,bool detail) const
32{
33 detail = true;
34 if(detail)
35 {
36 stream << name() << " number " << setw(3) << number();
37 }
38 stream << endl;
39}
40
41void
@ Data
Definition BaseObject.h:11
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
const std::string & name() const
Definition BaseObject.h:23
void Print(std::ostream &, bool) const
RPCtrigDataObject operator=(const RPCtrigDataObject &)
int number(void) const
RPCtrigDataObject(int, const std::string &)
STL namespace.