ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfSeq.h File Reference
#include "AthenaKernel/CLASS_DEF.h"
#include <iostream>
#include <stdint.h>
#include <string>
#include <vector>
#include "TrigMonitoringEvent/TrigConfAlg.h"
Include dependency graph for TrigConfSeq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrigConfSeq

Functions

std::string str (const TrigConfSeq &)
bool operator== (const TrigConfSeq &lhs, const TrigConfSeq &rhs)
bool operator!= (const TrigConfSeq &lhs, const TrigConfSeq &rhs)
bool operator< (const TrigConfSeq &lhs, const TrigConfSeq &rhs)
bool operator== (const TrigConfSeq &s, const std::string &n)
bool operator== (const std::string &n, const TrigConfSeq &s)
bool operator< (const TrigConfSeq &s, const std::string &n)
bool operator< (const std::string &n, const TrigConfSeq &s)
bool operator== (const TrigConfSeq &s, unsigned int i)
bool operator== (unsigned int i, const TrigConfSeq &s)
bool operator< (const TrigConfSeq &s, unsigned int i)
bool operator< (unsigned int i, const TrigConfSeq &s)

Function Documentation

◆ operator!=()

bool operator!= ( const TrigConfSeq & lhs,
const TrigConfSeq & rhs )
inline

Definition at line 83 of file TrigConfSeq.h.

83 {
84 return !(lhs == rhs);
85}

◆ operator<() [1/5]

bool operator< ( const std::string & n,
const TrigConfSeq & s )
inline

Definition at line 97 of file TrigConfSeq.h.

97{ return n < s.getName(); }

◆ operator<() [2/5]

bool operator< ( const TrigConfSeq & lhs,
const TrigConfSeq & rhs )
inline

Definition at line 86 of file TrigConfSeq.h.

86 {
87 return lhs.getName() < rhs.getName();
88}
const std::string & getName() const
Definition TrigConfSeq.h:44

◆ operator<() [3/5]

bool operator< ( const TrigConfSeq & s,
const std::string & n )
inline

Definition at line 96 of file TrigConfSeq.h.

96{ return s.getName() < n; }

◆ operator<() [4/5]

bool operator< ( const TrigConfSeq & s,
unsigned int i )
inline

Definition at line 102 of file TrigConfSeq.h.

102{ return s.getId() < i; }

◆ operator<() [5/5]

bool operator< ( unsigned int i,
const TrigConfSeq & s )
inline

Definition at line 103 of file TrigConfSeq.h.

103{ return i < s.getId(); }

◆ operator==() [1/5]

bool operator== ( const std::string & n,
const TrigConfSeq & s )
inline

Definition at line 94 of file TrigConfSeq.h.

94{ return n == s.getName(); }

◆ operator==() [2/5]

bool operator== ( const TrigConfSeq & lhs,
const TrigConfSeq & rhs )
inline

Definition at line 80 of file TrigConfSeq.h.

80 {
81 return lhs.getName() == rhs.getName();
82}

◆ operator==() [3/5]

bool operator== ( const TrigConfSeq & s,
const std::string & n )
inline

Definition at line 93 of file TrigConfSeq.h.

93{ return s.getName() == n; }

◆ operator==() [4/5]

bool operator== ( const TrigConfSeq & s,
unsigned int i )
inline

Definition at line 99 of file TrigConfSeq.h.

99{ return s.getId() == i; }

◆ operator==() [5/5]

bool operator== ( unsigned int i,
const TrigConfSeq & s )
inline

Definition at line 100 of file TrigConfSeq.h.

100{ return i == s.getId(); }

◆ str()

std::string str ( const TrigConfSeq & o)

Definition at line 110 of file TrigConfSeq.cxx.

111{
112 std::stringstream s;
113 s << "TrigConfSeq: " << o.getName() << " id=" << o.getId()
114 << " contains " << o.getAlg().size() << " algorithm(s): " << std::endl;
115
116 for(unsigned int i = 0; i < o.getAlg().size(); ++i) {
117 s << " " << str(o.getAlg()[i]) << std::endl;
118 }
119
120 return s.str();
121}
const TrigConfAlg & getAlg(unsigned int pos) const
uint32_t getId() const
Definition TrigConfSeq.h:43