ATLAS Offline Software
Functions
DetectorDescription/Identifier/src/Range.cxx File Reference
#include "Identifier/Range.h"
#include <algorithm>
#include <cstdio>
#include <string>
#include <vector>
#include <limits>
#include <iostream>
#include <iomanip>
#include <stdexcept>
#include <cassert>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const Range &r)
 
std::istream & operator>> (std::istream &in, Range &r)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const Range r 
)

Definition at line 399 of file DetectorDescription/Identifier/src/Range.cxx.

400  {
401  out<<std::string(r);
402  return out;
403 }

◆ operator>>()

std::istream& operator>> ( std::istream &  in,
Range r 
)

Definition at line 406 of file DetectorDescription/Identifier/src/Range.cxx.

406  {
407  r.clear ();
408  for (int c{}; c!=EOF;c=in.peek()){
410  in>>field;
411  r.add(field);
412  if (int c = in.peek();(c == '/') or (c ==' ')){
413  in.ignore();
414  }
415  }
416  return in;
417 }
beamspotman.r
def r
Definition: beamspotman.py:676
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
ReadOfcFromCool.field
field
Definition: ReadOfcFromCool.py:48
IdentifierField
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
Definition: IdentifierField.h:21
python.compressB64.c
def c
Definition: compressB64.py:93