ATLAS Offline Software
Loading...
Searching...
No Matches
WiredORdata.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef WIREDORDATA_H
6#define WIREDORDATA_H
7
8#include <list>
9#include <memory>
10
14
15namespace RPC_CondCabling {
16
18 private:
19 typedef std::list<WiredOR> WORlist;
20
21 bool m_fail;
22 int m_station{-1};
24
25 void reset_data();
28
29 public:
30 WiredORdata(DBline&, int);
31 virtual ~WiredORdata();
32
33 std::unique_ptr<WiredOR> give_wor(void);
34
35 int station() const { return m_station; }
36
37 virtual void Print(std::ostream&, bool) const override;
38 };
39
40 template <class X> X& operator<<(X& stream, WiredORdata& data) {
41 data.Print(stream, false);
42 return stream;
43 }
44
45} // namespace RPC_CondCabling
46
47#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
bool get_data(DBline &, WiredOR::parseParams &)
virtual void Print(std::ostream &, bool) const override
bool confirm_boundary(WiredOR::parseParams &) const
std::list< WiredOR > WORlist
Definition WiredORdata.h:19
std::unique_ptr< WiredOR > give_wor(void)
X & operator<<(X &stream, CMAcablingdata &data)