ATLAS Offline Software
Loading...
Searching...
No Matches
RtRelation.h File Reference

abstract base class for rt-relations More...

#include <sstream>
#include <iostream>
#include "GaudiKernel/MsgStream.h"
Include dependency graph for RtRelation.h:

Go to the source code of this file.

Classes

class  TRTCond::RtRelation
 Base class for rt-relations in the TRT. More...

Namespaces

namespace  TRTCond

Functions

std::ostream & operator<< (std::ostream &os, const TRTCond::RtRelation &rtr)
std::istream & operator>> (std::istream &is, TRTCond::RtRelation &rtr)
MsgStream & operator<< (MsgStream &os, const TRTCond::RtRelation &rtr)

Detailed Description

abstract base class for rt-relations

Author
Wouter Hulsbergen woute.nosp@m.r.hu.nosp@m.lsber.nosp@m.gen@.nosp@m.cern..nosp@m.ch

Definition in file RtRelation.h.

Function Documentation

◆ operator<<() [1/2]

MsgStream & operator<< ( MsgStream & os,
const TRTCond::RtRelation & rtr )
inline

Definition at line 76 of file RtRelation.h.

76 {
77 std::ostringstream message ;
78 message << rtr ;
79 return os << message.str() ;
80}

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & os,
const TRTCond::RtRelation & rtr )
inline

Definition at line 68 of file RtRelation.h.

68 {
69 return rtr.write( os ) ;
70}
virtual std::ostream & write(std::ostream &) const =0
write to ascii ostream

◆ operator>>()

std::istream & operator>> ( std::istream & is,
TRTCond::RtRelation & rtr )
inline

Definition at line 72 of file RtRelation.h.

72 {
73 return rtr.read( is ) ;
74}
virtual std::istream & read(std::istream &)=0
read from ascii istream