ATLAS Offline Software
Classes | Functions
DetectorDescription/Identifier/Identifier/Range.h File Reference
#include <Identifier/ExpandedIdentifier.h>
#include "Identifier/IdentifierField.h"
#include <vector>
#include <cassert>
#include <stdexcept>
#include <bit>
#include <iosfwd>
Include dependency graph for DetectorDescription/Identifier/Identifier/Range.h:

Go to the source code of this file.

Classes

class  Range
 A Range describes the possible ranges for the field values of an ExpandedIdentifier. More...
 

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 329 of file DetectorDescription/Identifier/src/Range.cxx.

330  {
331  out<<std::string(r);
332  return out;
333 }

◆ operator>>()

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

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

336  {
337  r.clear ();
338  for (int c{}; c!=EOF;c=in.peek()){
340  in>>field;
341  r.add(field);
342  if (int c = in.peek();(c == '/') or (c ==' ')){
343  in.ignore();
344  }
345  }
346  return in;
347 }
beamspotman.r
def r
Definition: beamspotman.py:674
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:70
ReadOfcFromCool.field
field
Definition: ReadOfcFromCool.py:48
IdentifierField
This is the individual specification for the range of one ExpandedIdentifier IdentifierField.
Definition: IdentifierField.h:83
python.compressB64.c
def c
Definition: compressB64.py:93