ATLAS Offline Software
Functions
dbline.cxx File Reference
#include "MuonCablingTools/dbline.h"
#include <type_traits>
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/MsgStream.h"
#include <charconv>
#include <iostream>
#include <string_view>
Include dependency graph for dbline.cxx:

Go to the source code of this file.

Functions

std::ifstream & operator>> (std::ifstream &file, DBline &db)
 
std::istream & operator>> (std::istream &stream, DBline &db)
 
std::ostream & operator<< (std::ostream &stream, DBline &db)
 
DBstatus operator| (DBstatus s1, DBstatus s2)
 
DBstatus operator& (DBstatus s1, DBstatus s2)
 

Function Documentation

◆ operator&()

DBstatus operator& ( DBstatus  s1,
DBstatus  s2 
)

Definition at line 418 of file dbline.cxx.

418  {
419  if (s1 && s2) return extracted;
420  return not_extracted;
421 }

◆ operator<<()

std::ostream& operator<< ( std::ostream &  stream,
DBline db 
)

Definition at line 408 of file dbline.cxx.

408  {
409  stream << db.m_data;
410  return stream;
411 }

◆ operator>>() [1/2]

std::ifstream& operator>> ( std::ifstream &  file,
DBline db 
)

Definition at line 396 of file dbline.cxx.

396  {
397  db.connect(file);
398  db.GetLine(file);
399  return file;
400 }

◆ operator>>() [2/2]

std::istream& operator>> ( std::istream &  stream,
DBline db 
)

Definition at line 402 of file dbline.cxx.

402  {
403  db.connect(stream);
404  db.GetLine(stream);
405  return stream;
406 }

◆ operator|()

DBstatus operator| ( DBstatus  s1,
DBstatus  s2 
)

Definition at line 413 of file dbline.cxx.

413  {
414  if (s1 || s2) return extracted;
415  return not_extracted;
416 }
ReadCellNoiseFromCoolCompare.s1
s1
Definition: ReadCellNoiseFromCoolCompare.py:378
CaloCondBlobAlgs_fillNoiseFromASCII.db
db
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:43
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
not_extracted
@ not_extracted
Definition: dbline.h:248
extracted
@ extracted
Definition: dbline.h:248
file
TFile * file
Definition: tile_monitor.h:29
ReadCellNoiseFromCoolCompare.s2
s2
Definition: ReadCellNoiseFromCoolCompare.py:379